MCP Server for repairing malformed or truncated LLM tool call JSON strings using fault-tolerant fuzzy JSON parsing and repair heuristics
Single tool with minimal schema and generic description. Tool description is 67 chars, acceptable length but lacks actionable context on WHEN to use, WHAT it returns, or error recovery paths. No output schema documented. No error handling guidance. Naming is clear (verb_noun pattern), but overall definition quality is below production baseline.
Repair malformed or truncated LLM tool call JSON string.
Parameter 'raw_text' lacks description in schema. LLMs cannot infer that this accepts malformed JSON, markdown fences, or truncated payloads.
No output schema documented. Tool returns a dict with 'status', 'data', 'repaired', 'error', 'repaired_string' fields, but LLMs have no formal schema to plan downstream actions or extract fields reliably.
Tool description does not explain error recovery. When status='failed', what should the LLM do next? Retry with different input? Call a different tool?
Tool description lacks context on WHEN to use it. Does it handle only JSON? What about YAML or other formats? What are the limits on input size?
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 44 | 2026-07-28+ | v2 |
No input validation or constraint documentation. 'raw_text' accepts any string, but the tool is designed for LLM JSON output. Should document expected format, max length, and what constitutes 'repairable' vs 'unrecoverable' input.