High-performance FastMCP TypeScript server for Datai blockchain data endpoints - NPX Ready. Provides comprehensive blockchain data tools for DeFi analysis with support for 8 specialized tools for DeFi positions, balances, and protocol data across multiple blockchain networks.
The server provides 8 well-named DeFi tools with consistent descriptions and reasonable parameter documentation. However, significant gaps in schema completeness, output documentation, and error handling prevent a higher score. All tools follow verb_noun naming (get_*), descriptions are present and adequately detailed (120-200 chars, within the 10-1024 baseline), and input parameters have type and description fields. However, NO OUTPUT SCHEMAS are documented anywhere in the codebase, a critical omission that scores lower than the 100% A+ baseline. Error handling is minimal; no guidance for recovery, no error classification (retryable vs fatal), and no validation rules documented for parameters. The tool definitions appear properly registered via FastMCP but without explicit schema validation or structured error responses. All tools are READ_ONLY, which mitigates security risk but eliminates a key domain of tool patterns.
Get comprehensive DeFi positions for a wallet across ALL supported blockchain networks and protocols. Provides complete portfolio overview including lending, liquidity pools, yield farming, staking, and other DeFi activities across 10+ chains and 15+ protocols.
Get DeFi positions for a wallet on a specific blockchain network. Provides detailed information about lending, liquidity pools, yield farming, and other DeFi activities on the specified chain.
Get DeFi positions for a wallet across multiple specified blockchain networks. Allows targeted multi-chain analysis by selecting specific chains of interest for comparison and portfolio analysis.
Get DeFi positions for a wallet filtered by a specific protocol.
Get DeFi protocol balances for a wallet on a specific blockchain network.
No output schemas documented. Tools return ToolResponse types but no structured field documentation exists for downstream agents to understand response shape or chain results to other tools.
Chain parameter documented as string enum in descriptions but no TypeScript enum constraint or JSON Schema enum validation visible in input schemas. 'arb', 'matic', 'avax', 'bsc', 'base', 'op' are described but not enforced.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 43 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 0 | - | v1 |
Get the overall balance and portfolio value for a wallet across all supported blockchain networks.
Get the overall balance and portfolio value for a wallet on a specific blockchain network.
Get detailed token balances for a wallet on a specific blockchain network.
No error handling guidance. Error responses do not categorize failures as retryable, user-fixable, or fatal. No recovery suggestions (e.g., 'If wallet is invalid, check format is 0x...'). LLM receives raw errors with no actionable next step.
Wallet parameter documentation includes example (0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045) in description. LLMs may reuse example values literally in real calls. Move example to a format constraint or enum.
No pagination parameters (limit, offset, page_size) visible in any tool. If results can be large (e.g., many DeFi positions across protocols), tools risk returning unbounded lists that exhaust context windows. Baseline expects paginated results for list-like queries.
Protocol parameter in get_user_defi_positions_by_protocol lacks enum definition. Description mentions 'uniswap', 'aave', 'compound', 'curve' but no formal constraint prevents LLM from inventing protocols like 'uniswap_v4' or 'aave-flash-loans'.