The zkproof-server has basic tool definitions with complete schemas and descriptions, but falls short of production-grade quality. All four tools are properly registered with inputSchema and descriptions. However, the descriptions are minimal (10-50 chars), lacking context about when to use each tool, what prerequisites exist, and what the tools actually return. Parameter descriptions are generic ('Path to the X file') without format guidance or error recovery hints. No output schemas are documented, so LLMs cannot reason about what fields to expect. Tools accept file paths as strings without validation hints or examples of expected formats. The implementation shows no explicit error recovery guidance, and the security model assumes all file paths are trusted (high risk for path traversal). For a cryptographic ZK proof system, the lack of prerequisites documentation (e.g., 'circomFile must reference a valid Circom circuit; run build_circuit first') creates a high likelihood of misuse. Naming is verb-first and reasonably clear (build_, trusted_, generate_, verify_), meeting the action-verb baseline, but the overall package lacks the LLM-optimized descriptions, parameter validation rules, and chaining metadata needed for confident agent use.
Build a circuit from a Circom file
Generate a proof for a circuit
Perform trusted setup for a circuit
Verify a proof
Missing output schemas: no tool documents the structure, type, or fields of its return value. LLMs cannot chain tools or reason about downstream operations.
Descriptions are too short (<50 chars) and lack context. They do not explain WHEN to call each tool, WHAT prerequisites exist, or WHAT the tool returns. Pattern-required descriptions should be 50-200 chars.
Parameter descriptions are generic ('Path to the X file'). They lack format guidance, constraints, examples, or validation rules. LLMs cannot self-correct invalid inputs.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 54 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 38 | - | v1 |
No error recovery guidance. Tools return errors (e.g., 'Error building circuit: ...') without suggesting next steps. LLMs cannot self-correct or retry intelligently.
No tool annotations. verify_proof is read-only but lacks idempotentHint. build_circuit, trusted_setup, and generate_proof are destructive/write operations but lack destructiveHint.
No dependency or prerequisite documentation. Agents cannot know that generate_proof requires outputs from build_circuit and trusted_setup. Risk of tool misuse.
Path traversal risk: all tools accept file paths as untrusted strings. No validation in parameter descriptions or schema constraints. Agents could be tricked into accessing arbitrary files.