Surgical Claude Code hook that transparently trims bloated MCP tool responses and clamps oversized file reads — stop burning tokens on tool chatter.
13 tools with mixed quality. Most have basic descriptions (50-150 chars) and visible schemas, but critical gaps exist: parameter descriptions are sparse or missing entirely (e.g., 'depth' in get_minimal_context has no description), output schemas are undocumented, and error handling guidance is absent. No tool annotations (readOnlyHint/destructiveHint). Naming is verb-forward but some tools conflate concerns (e.g., create_handoff_packet + record_agent_review both write state). The find_alternatives tool stands out with detailed parameter descriptions and enum constraints; most others lack this rigor. Average tool score: 42/100.
Build or update the dependency graph for the repository
Compare multiple agent reviews
Create a handoff packet for agent collaboration
Find alternative packages or libraries based on description
Find usages of a target file or symbol
Get impact radius for changed files and symbols
Get minimal context for a target file or symbol
Parameter descriptions missing or incomplete. 'depth' in get_minimal_context, 'max_depth' in get_impact_radius, and 'verdict' in record_agent_review lack descriptions explaining their purpose, valid ranges, or format. LLMs cannot infer parameter semantics from names alone.
Output schemas undocumented. No tool documents what fields it returns, their types, or structure. Agents cannot plan downstream calls or extract required data (e.g., does get_minimal_context return file paths, symbols, or both?).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 50 | 2026-07-28+ | v2 |
Check PR readiness status
Get review context for specified files
List all recorded agent reviews
Read a previously created handoff packet
Record a review from an agent
Record a decision made during code review
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). Agents cannot distinguish safe reads from destructive writes. build_or_update_graph, create_handoff_packet, record_agent_review, and record_decision modify state but lack destructiveHint annotation.
Error handling guidance absent. No tool documents what errors can occur, whether they are retryable, or what the agent should do next. E.g., if build_or_update_graph times out or fails, should the agent retry, check logs, or ask the user?
Vague tool descriptions. 'Get review context for specified files' (get_review_context) and 'Record a review from an agent' (record_agent_review) lack specificity about what context is returned, what 'review' means, or when to use each tool vs. alternatives.