Real-time character-grid image renderer exposing rendering pipeline as Model Context Protocol tools over stdio JSON-RPC
Two tools with basic schemas and descriptions, but significant gaps in parameter documentation and error handling. glyph_grid_render has 12 parameters with minimal descriptions (many under 20 chars); glyph_grid_catalog is trivial (no params). Neither tool documents output schemas, error cases, or recovery paths. Descriptions lack LLM-optimized context (when to use, prerequisites, side effects). No tool annotations (readOnlyHint/destructiveHint). Parameter enums are referenced but not formally declared in schemas (e.g., 'palette' accepts 'palette name (see catalog tool)' instead of enum constraint). This forces LLMs to call catalog first, then guess valid values.
List all available palettes, ramps, dither modes, selection modes, glyph sets, sampling strategies, and postprocess stages. Returns JSON.
Render an image to an animated character-grid GIF (ASCII / Unicode glyphs). Returns the absolute path of the written file (GIF or MP4, per `format`) on success.
Parameter descriptions are too brief and lack constraints. 'Palette name (see catalog tool)' (18 chars) does not specify valid values, format, or how to discover them. LLMs cannot infer enum values from a reference to another tool.
No output schema documented for either tool. glyph_grid_render claims to return 'absolute path of the written file' but the actual JSON structure is not specified. glyph_grid_catalog returns 'JSON' with no field definitions. LLMs cannot plan downstream operations without knowing response structure.
No error handling or recovery guidance. If glyph_grid_render fails (invalid image format, disk full, permission denied), the tool provides no actionable error message or next steps. Agents cannot self-correct.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 51 | <=2025-11-25 | v2 |
glyph_grid_render modifies filesystem (writes GIF/MP4) but has no destructiveHint annotation. Agents cannot distinguish safe (read-only) vs risky (write) tools. No dry-run or confirmation step offered.
Parameter 'frames' defaults to 24 but no min/max bounds specified. Unbounded integers let LLMs pass absurd values (0, 999999) that break the tool or cause timeouts. Same for 'cols' and 'rows'.