MCP Server for Automated Program Repair AST Patcher Skill
Single tool with minimal definition quality. Tool name 'generate_candidate_patches' is verb-noun compliant but generic. Input schema present with basic types (string, integer) but lacks parameter descriptions entirely, critical violation of pattern:tool-description. No output schema documented. Tool description (58 chars) is present but vague; does not explain WHEN to use it, WHAT it returns, or error handling. No error guidance, no recovery paths. Parameters lack descriptions, ranges, or constraints. This server would require substantial rework before production use.
Generate mutated AST candidate patches for faulty code lines
Input parameters lack descriptions. 'source_code' and 'faulty_line' have no descriptions in the schema, violating pattern:tool-description. LLMs cannot infer parameter meaning from names alone.
No output schema documented. Tool returns a list of dicts with 'operator', 'faulty_line', 'patched_code', 'status' fields, but this structure is not declared in the tool definition. LLMs cannot plan downstream actions without knowing the response shape.
Tool description is vague (58 chars). Does not explain WHEN to call it, WHAT it returns, or how to interpret results. 'Generate mutated AST candidate patches for faulty code lines' lacks context for LLM selection and downstream reasoning.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 44 | 2026-07-28+ | v2 |
No error handling or recovery guidance. Tool silently continues on parse/mutation failures (see client.py line 'except Exception: continue'). LLM receives empty candidate list with no explanation of why, blocking diagnosis.
No input validation or constraints. 'faulty_line' accepts any integer with no bounds checking. Negative or out-of-range line numbers will silently fail. No enum, pattern, or range constraints declared.