arXiv Open Access 2025

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

Peer Trilcke Ingo Börner Henny Sluyter-Gäthje Daniil Skorinkin Frank Fischer +1 lainnya
Lihat Sumber

Abstrak

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.

Topik & Kata Kunci

Penulis (6)

P

Peer Trilcke

I

Ingo Börner

H

Henny Sluyter-Gäthje

D

Daniil Skorinkin

F

Frank Fischer

C

Carsten Milling

Format Sitasi

Trilcke, P., Börner, I., Sluyter-Gäthje, H., Skorinkin, D., Fischer, F., Milling, C. (2025). Agentic DraCor and the Art of Docstring Engineering: Evaluating MCP-empowered LLM Usage of the DraCor API. https://arxiv.org/abs/2508.13774

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2025
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓