MCP server for dynamic context window pruning and needle retrieval in extended documentation contexts
Single tool 'execute_skill_action' has a reasonable name starting with verb, but critical gaps undermine quality. Description is 108 chars (within 10-1024 range) but lacks WHEN/WHY context for LLM selection. Input schema is present with 3 parameters, all typed as string/number, but parameter descriptions are minimal (10-30 chars) and lack constraints, ranges, or format guidance. No output schema documented, LLM cannot plan downstream calls or extract structured data. No error handling guidance. Tool appears functional but falls short of production-grade definition quality.
Execute dynamic context pruning and needle retrieval on extended prompt contexts
No output schema documented. LLM cannot predict return structure or plan chained calls. Client example shows response fields (pruning_job_id, original_token_count, etc.) but tool definition does not declare them.
Parameter descriptions are too brief (10-30 chars) and lack actionable constraints. 'Extended documentation or context text to be pruned' does not specify format, max length, encoding, or examples. 'Target compression ratio for context window reduction (0.0-1.0)' lacks guidance on what happens at boundaries (0.0 = no pruning? 1.0 = delete all?).
Tool description lacks WHEN/WHY context. Does not explain when to call this vs. other context-reduction tools, what prerequisites exist, or what 'needle retention' means to an LLM unfamiliar with the domain.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 44 | 2026-07-28+ | v2 |
No error handling guidance. Tool definition does not document failure modes (e.g., compression ratio unachievable, query_focus not found in context, timeout). LLM has no recovery path if call fails.
Parameter 'query_focus' lacks clarity on format and optionality. Is it a free-text question, a keyword list, or a structured query? Can it be null/empty? What happens if the query is not found in the context?