MCP Server for pruning low-entropy conversational turns from multi-turn dialog context using Shannon information entropy calculation.
Single tool with minimal schema and description. Tool description is 79 chars, below the 194-char baseline and lacks WHEN/WHY context. No output schema documented. No error handling guidance. No parameter constraints (enums, ranges, formats). The tool performs a stateful operation (pruning) but description does not indicate this is a read-only analysis. Missing actionable recovery guidance for edge cases.
Strip low-entropy pleasantries from multi-turn dialog context.
Input parameter 'turns' lacks description. Schema shows type=array with items=object, but does not document expected object structure (role, content fields). LLMs cannot infer that each turn must have 'role' and 'content' keys.
No output schema documented. Tool returns a dict with 'initial_turn_count', 'retained_turn_count', 'dropped_turn_count', 'retained_turns', 'dropped_turns', but LLMs have no formal specification of this structure.
Tool description (79 chars) is below baseline (194 chars) and lacks WHEN/WHY context. Does not explain when to call this vs other context-reduction strategies, what prerequisites exist, or what the entropy threshold means to an LLM.
No error handling guidance. Tool silently drops turns below entropy threshold. If all turns are dropped, LLM receives empty retained_turns array with no explanation. No recovery path offered (e.g., 'lower min_entropy_threshold and retry').
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 42 | 2026-07-28+ | v2 |
min_entropy_threshold is hardcoded in client init (default 2.0) and not exposed as a tool parameter. LLMs cannot adjust pruning aggressiveness without modifying server code. Reduces tool flexibility and composability.