MCP server for Grammo language compilation, syntax checking, testing, and example management
Server has 5 tools with explicit schemas and descriptions. All tools are READ_ONLY and well-scoped. However, descriptions are terse (10-50 chars), parameter descriptions lack context about expected formats/constraints, and output schemas are defined via Pydantic models but not documented in tool descriptions. Error handling is minimal, no recovery guidance or actionable error messages. Tool naming is clear (verb_noun pattern) but descriptions don't explain WHEN to use each tool or dependencies between them.
Compile the code and return the compiled status
Check the correctness of Grammo syntax requires the code as input
List available Grammo example files
Read the content of a specific Grammo example file
Test the code and return result of the tests
Tool descriptions are too brief (10-50 chars). LLMs cannot determine WHEN to use each tool or how they relate. E.g., 'Check the correctness of Grammo syntax' doesn't explain when to call grammo_lark vs grammo_compiler vs grammo_test.
Parameter descriptions lack format/constraint guidance. 'The generated Grammo Code' doesn't specify expected size, syntax rules, or what constitutes valid input. LLMs will guess.
Output schemas (SyntaxCheckResult, CompilationResult, TestResult) are defined in code but not documented in tool descriptions. LLMs don't know what fields to expect or how to interpret them.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 55 | <=2025-11-25 | v2 |
No error handling guidance. If grammo_lark returns is_valid=false, the description doesn't tell the LLM what to do next. Should it retry? Call a different tool? Ask the user?
grammo_read_example has path traversal protection but no documented constraints. Description doesn't mention the examples directory, file extension (.gm), or what happens if the file doesn't exist.