MCP server for Vara Network smart program development with Sails
vara-mcp has 5 well-named tools with schemas and descriptions present, but several gaps limit it to fair quality. All tools follow verb_noun naming (vara_scaffold, vara_compile, vara_test, vara_client_scaffold, vara_docs_search) which is excellent. Schemas are complete and typed using JSON Schema. However, parameter descriptions are generic and sometimes underdescriptive ('description' for template param, 'verbose' flags lack context on what specifically gets verbose). Error handling is present but not well-integrated into tool responses, no recovery guidance or actionable error messages visible in the tool definitions. Tool composition is good: scaffolding → compilation → testing → client generation forms a coherent workflow. Output schemas are not documented in the source, which is a gap for LLM planning downstream. Risk annotations (WRITE vs READ_ONLY) are correct but tool annotations (readOnlyHint/destructiveHint) are absent from schema declarations.
Generate a TypeScript client for a Vara program. Includes connection, upload, message, and state reading functionality.
Compile a Vara smart program to WASM. Returns paths to generated WASM and IDL files.
Search the bundled Vara/Sails documentation. Returns relevant snippets with context.
Scaffold a new Vara smart program from a template. Prefers Sails CLI if available, falls back to embedded templates.
Run tests for a Vara smart program. Returns test results and summary.
Missing output schema documentation. Tools define inputs but do not document what fields/structure responses contain, forcing LLMs to guess about return values and breaking composition chains.
Parameter descriptions lack actionable detail. 'verbose' flags do not explain what output changes; 'template' description merely says 'Template to use' without explaining what each option (counter) does or when to pick it. 'workspacePath' defaults to current directory but does not explain the impact or constraints.
No tool annotations (destructiveHint, idempotentHint, readOnlyHint) in schema. While risk labels are present (WRITE vs READ_ONLY), they are not machine-parseable schema hints. Agents cannot programmatically detect that vara_scaffold_program and vara_compile are destructive operations.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 55 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 45 | - | v1 |
Error recovery guidance missing. No indication of what to do when compilation fails, scaffolding overwrites existing files, or tests fail partially. Descriptions do not state 'If compilation fails, check Cargo.toml' or similar actionable next steps.
Parameter format/constraint hints inconsistent. 'target' parameter has a default 'wasm32v1-none' but no enum constraint or list of valid options. LLMs may hallucinate invalid targets. 'packageManager' correctly uses enum; others should too where applicable.