Model Context Protocol bridge between Casper Network and LLM, exposing read/write capabilities for DeFi operations including balance queries, pool state, token swaps, staking, lending, and x402 micropayments
SafetyNet MCP server has significant definition quality gaps. 14 tools are registered with basic descriptions (10-80 chars), but most lack depth and actionable guidance. Input schemas are present for 8/14 tools but incomplete: 6 tools (read_contract_state, withdraw_liquidity, transfer_cspr, and 3 others) have NO visible input schema in the source. Parameter descriptions are minimal or absent. Output schemas are undocumented. Error handling is not evident in tool definitions. Naming is verb-forward (read_*, swap_*, stake_*) but descriptions are too terse to guide LLM selection. No tool annotations (readOnlyHint, destructiveHint) despite clear risk levels. Critical write operations (swap_tokens, stake, lend) lack confirmation/dry-run patterns.
Get estimated gas cost for a transaction type
Supply tokens to a lending market
Read CSPR and token balances for a Casper account
Read contract state from Casper Network
Read historical volatility for a token over a time window
Read supply/borrow rates and utilization for a lending market
Read current state of a liquidity pool
Read current spot price for a token pair
6 tools lack visible input schemas: read_contract_state, stake, lend, withdraw_liquidity, transfer_cspr, and one other.
Descriptions are too terse (30-65 chars) to guide LLM selection. Missing WHEN to use, prerequisites, and dependencies. E.g., 'Stake CSPR to a validator' does not explain validator format, minimum amount, or consequences.
No output schemas documented. LLMs cannot plan downstream calls or extract required fields. E.g., does read_balance return {balance_cspr, balance_tokens} or {cspr, tokens}?
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | <=2025-11-25 | v2 |
Simulate a swap to calculate expected output and slippage
Stake CSPR to a validator
Execute a token swap (requires whitelisted contract)
Transfer CSPR between accounts
Withdraw liquidity from a pool
x402 micropayment — pay for API data access via HTTP-native payment protocol
Write operations (swap_tokens, stake, lend, transfer_cspr) lack confirmation/dry-run patterns and error recovery guidance. No indication of idempotency or retry safety.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels. LLMs cannot distinguish safe reads from destructive writes without explicit hints.