Compiled instruction language for AI agents — Define, compile, and enforce rules that markdown can't. Includes WASM runtime.
Server has 8 tools with basic descriptions and input schemas, but significant gaps in parameter documentation and output schema clarity. All tools are READ_ONLY (good for safety), but descriptions are terse (avg ~60 chars, well below the 194-char baseline). Parameter descriptions exist but lack detail on constraints, formats, and valid ranges. No output schemas documented. Tool names follow verb_noun convention (compile, validate, parse, simulate, query, inspect_ast, batch_compile, list_backends) but lack clarity on when to use similar tools (compile vs batch_compile distinction unclear). Error handling and recovery guidance absent.
Compile .n2 source to all supported target languages in one operation
Compile .n2 source to a specific target language (rust, c, cpp, go, python, ts)
Inspect and analyze the abstract syntax tree of .n2 source code
List all supported compilation target backends and their file extensions
Parse .n2 source code and return the abstract syntax tree (AST)
Execute SQL-like queries against .n2 rule definitions
Simulate contract state machine execution from .n2 source
Parse and validate .n2 source code, checking schema compliance and contract integrity
Output schemas not documented. LLMs cannot plan downstream calls or extract required fields. Tools return AST, validation results, compiled code, and query results but no schema definitions visible in code.
Parameter descriptions lack constraint details. 'target' in compile accepts 'rust, c, cpp, go, python, ts, or all' but no enum constraint visible; 'sql' in query has no format guidance; 'source' in all tools lacks length/encoding hints.
Ambiguous tool selection. 'compile' and 'batch_compile' both compile .n2 source; descriptions do not clearly explain when to use each. LLM must infer that batch_compile compiles to all targets while compile picks one.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 38 | 2026-07-28+ | v2 |
No error handling or recovery guidance. Tools have no documented error cases, retryability, or actionable error messages. If compilation fails, LLM has no guidance on next steps.
Tool descriptions too brief (avg 45 chars vs 194-char baseline). 'Parse .n2 source code and return the abstract syntax tree (AST)' lacks context on when to call parse vs validate vs simulate, or what AST structure contains.