Server has 5 tools with basic schemas and descriptions, but critical gaps prevent production use. All tools lack output schema documentation, LLMs cannot predict return structure. Descriptions are present but generic (avg 80 chars, below 194-char baseline). Parameters lack type annotations in schema (dict/list without JSON Schema structure). No error handling guidance, no parameter validation rules, no recovery paths. Tool names are verb-noun but descriptions don't explain WHEN to use each tool or dependencies between them. All tools are read-only (good), but no tool annotations (readOnlyHint) to signal this to clients. Return values are coerced to strings, losing structure.
Execute an aggregation pipeline on a MongoDB collection
Count documents in a MongoDB collection matching a filter
List all collections in the default MongoDB database
Query a MongoDB collection with filter, projection, and limit parameters
Retrieve MongoDB server information including version, build info, and storage engines
No output schema documentation. All tools return str(result_list) or str(dict), losing structure. LLMs cannot predict field names, types, or nesting. Violates pattern:response-shaper.
Input schemas use Python type hints (dict, list) without JSON Schema structure. No minItems, maxItems, properties, or additionalProperties constraints. Violates pattern:constrained-input.
No error handling guidance. Tools will fail silently on invalid collection names, malformed filters, or connection errors. No recovery hints for LLM. Violates pattern:recovery-guide.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 44 | <=2025-11-25 | v2 |
Descriptions lack WHEN-to-use context. 'Query a MongoDB collection' doesn't explain when to use query vs aggregate, or what filter/projection syntax is expected. Violates pattern:tool-description.
No tool annotations. All tools are read-only but lack readOnlyHint annotation. Clients cannot determine safety without parsing descriptions. Violates current spec (2026-07-28).