A FastAPI-based MCP server for managing documents and contexts with task queue processing, rate limiting, and API key authentication
Server provides 11 tools with basic schemas and descriptions, but quality is inconsistent. Most tools have descriptions (10/11), but many are generic or lack actionable detail. Schemas are present but incomplete: parameters lack type constraints, enums, and validation guidance. No error handling guidance, no output schemas documented, and no tool annotations. Naming is clear (verb_noun pattern), but parameter descriptions are sparse. This is a typical community server with functional but underdeveloped tool definitions.
Create a new context that can contain multiple documents
Create a new document with content and metadata
Delete a context by its ID
Delete a document by its ID and remove it from all associated contexts
Retrieve a context by its ID
Retrieve all documents and their content associated with a specific context
No output schemas documented. Tools return responses but LLMs cannot predict field structure, forcing parsing guesses and downstream tool chaining failures.
Parameter descriptions lack validation constraints. E.g., 'document_id' has no format hint (UUID?), 'metadata' accepts any object with no guidance on valid keys/types, 'documents' array has no size limits.
No error handling guidance. Tools return HTTP errors (404, 401) but do not tell LLMs what to do next (retry? lookup? ask user?). E.g., 'Document not found' should suggest 'Try get_failed_tasks() or create_document() first.'
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | <=2025-11-25 | v2 |
Retrieve a document by its ID
Retrieve all tasks that failed during processing
Check the health status of the server including queue size and failed task count
Move all failed tasks back to the main task queue for reprocessing
Update a context with new documents and metadata, validating that all referenced documents exist
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). LLMs cannot distinguish safe reads from destructive writes without explicit hints. delete_document and delete_context should be marked destructive.
Destructive operations lack confirmation/dry-run support. delete_document and delete_context execute immediately with no undo path. Agents cannot safely preview consequences before committing.