A CLI chat app that uses MCP to let an LLM manage your filesystem
DocumentMCP has 5 tools with basic descriptions and partial schemas. All tools have names starting with action verbs (read_, create_, edit_, delete_, allow_), which is good. However, descriptions are minimal (10-50 chars), parameter descriptions lack detail about constraints and formats, and output schemas are entirely undocumented. The allow_path tool is particularly concerning, it grants filesystem access but lacks validation guidance. Error handling is present in code but not surfaced in tool definitions. No tool annotations (readOnlyHint, destructiveHint) despite clear risk levels.
Grant the MCP server access to an absolute file path for this session
Create a new document with the given content
Delete a document
Can be used to edit the contents of a doc
Can be used to read and return the contents of a doc as a string
No output schemas documented. Tools return strings or errors, but LLMs cannot plan downstream calls without knowing response structure. Pattern: tool requires documented return types.
Descriptions under 50 chars lack context for LLM selection. E.g., 'Delete a document' does not explain when to use it vs. other tools, or that it is irreversible. Pattern: tool-description requires 10 - 1024 chars with WHAT, WHEN, and consequences.
No tool annotations despite clear risk levels. delete_doc is destructive, read_doc_contents is read-only, create_doc and edit_doc_contents are writes. Annotations (destructiveHint, readOnlyHint) guide agent caution and logging.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 45 | <=2025-11-25 | v2 |
allow_path parameter lacks validation constraints. Description does not specify: absolute path only? No symlinks? No parent directory traversal? LLMs will pass arbitrary paths without guidance.
edit_doc_contents requires exact string match (old_str). Description does not warn about whitespace sensitivity or suggest alternatives (line-based edits, offset-based). LLMs will fail on minor formatting differences.