MCP server for private Zcash payments - enabling AI agents to send and receive shielded transactions
The server defines 5 tools with basic schemas and descriptions, but exhibits significant quality gaps. All tools have descriptions and input schemas, which prevents catastrophic failure. However, descriptions are generic and lack actionable detail; parameter descriptions are minimal or missing; output schemas are undocumented; and error handling is simplistic. The server's simulated wallet state and lack of real Zcash integration further limit practical utility. Descriptions range from 80-240 chars, within the acceptable band (10-1024), but lack the specificity production tools require (target 50-200 chars for LLM clarity). Parameter annotations are sparse: 'address', 'limit', 'to_address', 'amount', 'memo', and 'label' have basic descriptions, but none specify ranges, formats, or constraints. No output schemas are documented. Error handling returns generic isError=true with text messages, without categorization or recovery guidance.
Generate a new shielded Zcash address for private transactions. Returns a z-address that can receive private payments.
Get the current shielded balance in ZEC. Shows only the private (shielded) balance.
Get current ZEC/USD price from CoinGecko API
Get shielded transaction history. Shows recent private transactions with memos.
Send a private Zcash payment to a shielded address. Transaction is fully encrypted with optional memo.
Output schemas completely undocumented. All five tools return text-only responses with no structured field definitions. LLMs cannot extract data for chaining (e.g., the created address from create_shielded_address, balance from get_balance, or transaction details from get_transactions) without parsing unstructured text.
Parameter constraints completely absent. 'amount' in send_private_payment has no min/max; 'limit' in get_transactions lacks range (default is 10, but no bounds specified); 'memo' has stated max of 512 bytes in description but not enforced in schema. Unbounded parameters invite LLM to pass absurd values.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 55 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 0 | - | v1 |
Parameter descriptions are minimal or missing enforcement rules. 'to_address' description is 'Recipient z-address (shielded)' but does not explain format or validation (must start with 'zs1'). 'address' in get_balance is labeled 'Optional: specific z-address to check balance for' but does not clarify what happens if omitted (defaults to 'all addresses', ambiguous). Schema lacks minLength/pattern constraints to guide LLMs.
Error messages are generic and do not guide recovery. The sendPrivatePayment validation for 'insufficient balance' returns 'Insufficient balance. Have X ZEC, need Y ZEC', acceptable. But unknown tool errors ('Unknown tool: X') and catch-all error handling (line 'return { content: [{ type: 'text', text: `Error: ${error.message}` }], isError: true }') do not suggest next steps (e.g., 'Try listing available tools' or 'Check if the address format is correct'). No error categorization (retryable vs. user-fixable vs. fatal).
Irreversible operation (send_private_payment) lacks confirmation/dry-run safeguard. The tool immediately deducts from wallet state (this.walletState.balance -= amount) without a confirm_before_execute pattern. Agents may accidentally send funds on a mistyped address or amount.
Simulated wallet state instead of real Zcash integration. The implementation uses in-memory walletState (addresses, balance, transactions) with no connection to a live Zcash node or RPC. This makes the server non-functional for real use. Comments acknowledge 'in production, would connect to actual Zcash node' and 'would query Zcash node' and 'would broadcast to Zcash network', but these are unimplemented. The server is a proof-of-concept, not production-ready.
get_price tool returns a single CoinGecko API call but the implementation (getZecPrice() helper used in getBalance) is called but never shown to return structured data. The tool description says 'Get current ZEC/USD price from CoinGecko API' but the input schema is empty ({}), and the response is not documented. For an LLM to use this value, a structured schema with 'price' field is required.
No pagination or result limiting for get_transactions. The tool accepts an optional 'limit' parameter (default 10) but offers no offset/cursor, next_cursor field in response, or total count. If a wallet has thousands of transactions, repeated calls with limit=10 are inefficient and the tool provides no way for an LLM to know if more results exist or how to fetch them.
Tool names follow verb_noun convention (create_*, get_*, send_*), which is correct, but descriptions are not LLM-optimized. 'create_shielded_address' is clear, but 'Get shielded transaction history. Shows recent private transactions with memos.' is passive and does not state WHEN to use it or distinguish it from a hypothetical get_transaction_history (if it existed). Production tools use active voice and differentiate from peers.