MCP server for AI-to-Blockchain interactions — read balances, execute swaps, manage portfolios
y0-exchange demonstrates solid tool design with consistent naming (verb_noun pattern), comprehensive parameter schemas with regex validation, and clear descriptions. All 8 tools have descriptions (avg 120 chars) and input schemas with type definitions. However, output schemas are not documented in the source, parameter descriptions lack actionable constraints (e.g., slippage range, limit bounds), and error handling guidance is minimal. The swap/send tools correctly avoid exposing secrets as parameters. Composition is clean, each tool has one responsibility. Naming is clear and action-oriented (get_*, swap, send). Missing: documented return types, pagination guidance for history tool, and recovery hints in error messages.
Get native and ERC-20 token balances for a wallet address on a specific chain. If address is omitted, uses the wallet linked to the API key.
Get current gas prices across supported chains with USD estimates for common operations (transfer, swap, approve).
Get transaction history for a wallet address from block explorer (Etherscan/BSCScan). Supports filtering by type. If address is omitted, uses the wallet linked to the API key.
Get aggregated portfolio view across all chains with USD values, per-chain breakdown, and allocation percentages. If address is omitted, uses the wallet linked to the API key.
Get current USD price and 24h change for one or more tokens. Accepts CoinGecko IDs (e.g. "ethereum") or symbols (e.g. "ETH").
Get a swap quote with routing preview. Shows expected output, fees, and estimated gas. Does NOT execute — read-only price check.
Output schemas not documented. LLMs cannot plan downstream calls or extract required fields (e.g., portfolio breakdown structure, quote routing details, transaction history fields). Responses must include IDs for chaining (e.g., swap returns tx hash for signing).
Parameter descriptions lack actionable constraints. 'slippage' has no range (e.g., 0.1 - 50%); 'limit' in get_history has no bounds stated in description (only in schema); 'chainId' lists supported values in description but not as enum. LLMs cannot self-correct invalid inputs.
No error recovery guidance. Descriptions do not explain what to do if a call fails (e.g., 'If quote fails due to insufficient liquidity, try a smaller amount' or 'If address is invalid, use search_users first'). Error responses likely lack actionable hints.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2026-07-28+ | v2 |
Build an unsigned transfer transaction. Supports native tokens and ERC-20. The user will approve and sign on their device. Requires Y0_API_KEY to be configured.
Build an unsigned swap transaction. The user will approve and sign on their device — y0 never holds private keys. Requires Y0_API_KEY to be configured.
get_history pagination not documented. Tool accepts 'limit' (max 100) but no mention of offset/cursor or total count. Large result sets risk context window exhaustion; LLM cannot iterate through pages.
swap and send descriptions do not explicitly state they are non-custodial (user signs on device). While mentioned in descriptions, the critical safety property should be more prominent to prevent LLM misunderstanding of risk model.