Agentic DraCor and the Art of Docstring Engineering: Evaluating MCP-empowered LLM Usage of the DraCor API

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Trilcke, Peer, Börner, Ingo, Sluyter-Gäthje, Henny, Skorinkin, Daniil, Fischer, Frank, Milling, Carsten
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911111133003776
author Trilcke, Peer
Börner, Ingo
Sluyter-Gäthje, Henny
Skorinkin, Daniil
Fischer, Frank
Milling, Carsten
author_facet Trilcke, Peer
Börner, Ingo
Sluyter-Gäthje, Henny
Skorinkin, Daniil
Fischer, Frank
Milling, Carsten
contents This paper reports on the implementation and evaluation of a Model Context Protocol (MCP) server for DraCor, enabling Large Language Models (LLM) to autonomously interact with the DraCor API. We conducted experiments focusing on tool selection and application by the LLM, employing a qualitative approach that includes systematic observation of prompts to understand how LLMs behave when using MCP tools, evaluating "Tool Correctness", "Tool-Calling Efficiency", and "Tool-Use Reliability". Our findings highlight the importance of "Docstring Engineering", defined as reflexively crafting tool documentation to optimize LLM-tool interaction. Our experiments demonstrate both the promise of agentic AI for research in Computational Literary Studies and the essential infrastructure development needs for reliable Digital Humanities infrastructures.
format Preprint
id arxiv_https___arxiv_org_abs_2508_13774
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Agentic DraCor and the Art of Docstring Engineering: Evaluating MCP-empowered LLM Usage of the DraCor API
Trilcke, Peer
Börner, Ingo
Sluyter-Gäthje, Henny
Skorinkin, Daniil
Fischer, Frank
Milling, Carsten
Software Engineering
Artificial Intelligence
J.5; I.2
This paper reports on the implementation and evaluation of a Model Context Protocol (MCP) server for DraCor, enabling Large Language Models (LLM) to autonomously interact with the DraCor API. We conducted experiments focusing on tool selection and application by the LLM, employing a qualitative approach that includes systematic observation of prompts to understand how LLMs behave when using MCP tools, evaluating "Tool Correctness", "Tool-Calling Efficiency", and "Tool-Use Reliability". Our findings highlight the importance of "Docstring Engineering", defined as reflexively crafting tool documentation to optimize LLM-tool interaction. Our experiments demonstrate both the promise of agentic AI for research in Computational Literary Studies and the essential infrastructure development needs for reliable Digital Humanities infrastructures.
title Agentic DraCor and the Art of Docstring Engineering: Evaluating MCP-empowered LLM Usage of the DraCor API
topic Software Engineering
Artificial Intelligence
J.5; I.2
url https://arxiv.org/abs/2508.13774