Compresses raw document text into query-focused evidence snippets to reduce token usage
Single tool with critical definition gaps. Tool name 'compress_document_context' is verb-noun compliant, but input schema is incomplete: parameters lack type definitions in the MCP registration (mcp_server.py tools/list response shows no schema at all). Description is present (67 chars) but generic. No output schema documented. Parameters 'query' and 'raw_document_text' are defined in client.py but NOT exposed in the MCP tool registration, making them invisible to the protocol. The tool is essentially a black box from the MCP perspective.
Compress raw document text into query-focused evidence snippets.
No input schema in MCP tool registration. tools/list response omits 'inputSchema' entirely. Parameters exist in client.py but are invisible to the protocol.
Tool description is generic (67 chars). Does not explain WHEN to use it, WHAT it returns, or HOW it differs from other compression tools. Missing actionable context for LLM selection.
No output schema documented. LLM cannot predict return structure (fields: query, original_word_count, compressed_word_count, compression_ratio, tokens_saved_estimate, retained_snippets, compressed_context_text). Downstream tool chaining impossible.
Parameter descriptions missing from MCP schema. 'query' and 'raw_document_text' have no descriptions in the protocol registration, violating pattern:tool-description requirement that every parameter must be documented.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 34 | 2026-07-28+ | v2 |
No error handling or recovery guidance. If compression fails or returns empty snippets, the tool provides no actionable error message or next steps for the LLM.