An MCP server for managing and editing documents with research capabilities
DocumentMCP exhibits significant quality gaps across naming, descriptions, and schemas. Tool names lack consistent verb-noun structure (e.g., 'summarize' vs 'read_doc_contents'). Three tools have missing or trivial descriptions: 'summarize' has none, 'add' has none. Parameter descriptions are sparse or absent in several tools. Schemas are present but inconsistently documented. The 'summarize' tool is defined in mcp_client.py (not the server), suggesting it may not be properly registered. Error handling is minimal, most tools raise generic ValueError without recovery guidance. No tool annotations (readOnlyHint, destructiveHint) despite clear read/write semantics.
Edit a document by replacing a string in the documents content with a new string.
List all directories that are accessible to this server.
Read directory contents. Path must be within one of the client's roots.
Read the contents of a document and return it as a string.
Research a given topic
Missing tool descriptions: 'summarize' and 'add' have no descriptions. LLMs cannot determine when to select these tools.
Inconsistent naming convention: 'summarize' and 'add' lack verb_noun structure; 'read_doc_contents' is verbose. Standardize to verb_noun (e.g., 'summarize_text', 'add_numbers').
Tool 'summarize' defined in mcp_client.py, not mcp_server.py. Unclear if it is properly registered as a server tool or if this is a client-side utility.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear semantics: 'edit_document' is destructive, 'read_*' tools are read-only.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 51 | <=2025-11-25 | v2 |
Generic error handling: tools raise ValueError without recovery guidance. E.g., 'Doc with id X not found' should suggest 'Call list_docs() to see available documents.'