Light stdio MCP: binlog indexer that pulls compact MySQL field diffs into agent context
Three tools with visible schemas and descriptions, but significant gaps in parameter documentation and output schema clarity. Tool names follow verb_noun convention (recent_changes, get_diff, ack_changes). Descriptions exist but lack actionable detail on when to use each tool vs. alternatives, expected output structure, and error recovery paths. Parameter descriptions are minimal or missing entirely (e.g., 'pk' in get_diff has no guidance on format). No documented output schemas. Error handling returns generic JSON without recovery guidance. Schemas use Zod but lack enum constraints and validation rules in descriptions.
Mark changes as seen so they drop out of recent_changes.
One change with full before/after images plus the field diff. Pass change_id from recent_changes.
Pull compact MySQL field diffs into context. Binlog mode: unacked before/after field changes from the local indexer (not current table rows). Pass full=true to include whole before/after images.
Output schemas not documented. Tools return JSON via text() helper but no schema is declared for what fields/structure the LLM should expect. LLMs cannot plan downstream calls or extract data reliably.
Parameter descriptions are incomplete or missing. 'pk' in get_diff has no format guidance. 'table' in recent_changes says 'Optional table name' but doesn't explain what happens if omitted. 'since' lacks timestamp format (ISO 8601?). LLMs cannot infer valid input.
Error handling returns generic JSON with 'error' field but no recovery guidance. fail() function wraps errors via publicError() but does not categorize as retryable/user-fixable/fatal or suggest next steps. LLM cannot self-correct.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 49 | 2026-07-28+ | v2 |
No enum constraints on string parameters. 'table' and 'change_id' accept free-form strings with no validation hints. Zod schema uses .optional() but no .enum() or pattern constraints. LLMs may hallucinate invalid table names.
Tool descriptions lack context on when to use each tool vs. alternatives. 'recent_changes' vs 'get_diff' distinction is unclear, when should an LLM call one vs. the other? No dependency hints or discovery guidance.