MCP server for natural-language-to-JSON workflows using Git-controlled JSON contracts and JSON Schema validation.
Strong schema definitions with proper JSON Schema validation, clear naming conventions, and comprehensive parameter constraints. All 7 tools have explicit input/output schemas with type definitions and required fields. Tool names follow verb_noun pattern (list_, read_, get_, validate_). Descriptions are present but brief (10-80 chars), below the 50-200 char LLM-optimized baseline. Parameter descriptions are missing entirely, Zod schemas validate but descriptions are not exposed to LLMs. Output schemas are well-structured with proper typing. Error handling is basic (validation only, no recovery guidance). No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite all tools being read-only.
Return schema, rules, current JSON, edit instructions, and input so the agent/model can edit existing JSON.
Return schema, rules, examples, instructions, and input so the agent/model can produce JSON.
Return schema, rules, previous invalid JSON, validation errors, and repair instructions.
List currently loaded JSON contracts.
Read a loaded JSON contract.
Return json-contracts MCP server status and loaded contract metadata.
Validate agent-produced JSON against a contract schema.
Parameter descriptions missing from tool definitions. Zod schemas validate internally but descriptions are not exposed in toolDefinitions array. LLMs cannot see parameter intent (e.g., what 'context' object should contain, why 'currentJson' is required for edit vs. repair).
Tool descriptions are too brief (10-80 chars, below 50-200 char baseline). 'Return schema, rules, examples, instructions, and input so the agent/model can produce JSON' is functional but lacks WHEN to use this vs. get_edit_contract or get_repair_contract, and what the response structure contains.
No tool annotations despite all tools being read-only. readOnlyHint should be set to true on all 7 tools to signal to agents that these calls are safe to retry and have no side effects.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | 2025-06-18+ | v2 |
Error responses lack recovery guidance. Validation errors return constraint violations but do not suggest next steps (e.g., 'Call get_repair_contract with invalidJson and validationErrors to fix').
Output schema for get_json_contract, get_edit_contract, and get_repair_contract not visible in source. Code references JsonContractResponse, EditContractResponse, RepairContractResponse types but schemas are not defined in toolDefinitions. Cannot verify if responses include all chaining IDs (e.g., contract name for downstream calls).