Skip to main content
Glama
x402-data-mcp

x402-data-mcp

Wallet balances on five EVM chains ($0.002)

get_balances

Fetch live wallet balances across Base, Ethereum, Arbitrum, Optimism, and Polygon in one call, including native coins, stablecoins, and extra ERC-20 tokens with per-chain status.

Instructions

Wallet balances across Base, Ethereum, Arbitrum, Optimism and Polygon in one call: native coin, USDC, USDT, DAI and up to 10 extra ERC-20 tokens, read live via Multicall3 with RPC failover. Per-chain status; not charged if every chain fails. No API key. Price: $0.002 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>"
    },
    "name": "get_balances"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainsNoComma list, any of: base,ethereum,arbitrum,optimism,polygon. Default: all five.
tokensNoOptional comma list of up to 10 extra ERC-20 contract addresses, read on every requested chain
addressYesEVM wallet address to read

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Rich disclosure beyond the annotations: Multicall3 reads with RPC failover, per-chain status, no API key, and an explicit x402 price of $0.002 with a no-charge-on-total-failure rule and the X402_PRIVATE_KEY funding source. The 1:1 with annotations (readOnlyHint=false, idempotentHint=false) is implicitly explained by the per-call payment, but the description never explicitly says the call costs money each time and is therefore non-idempotent, so the read framing slightly undersells the charge semantics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the core capability, then pricing and billing conditions in short trailing clauses. Every clause carries information — chains, token set, read mechanism, failure billing, auth, price — with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter read tool with no output schema, it covers inputs, defaults, data source, auth and billing completely. The only gap is the exact response shape: 'Per-chain status' hints at partial results but does not describe the returned structure an agent would have to parse.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description goes beyond it by fixing the default token basket (native coin, USDC, USDT, DAI) and clarifying that extra tokens are read on every requested chain, i.e. it explains cross-parameter behavior the schema does not. It still leaves 'per-chain status' values unspecified.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('wallet balances across Base, Ethereum, Arbitrum, Optimism and Polygon in one call') and enumerates exactly what is returned: native coin, USDC, USDT, DAI plus up to 10 extra ERC-20s. This clearly separates it from single-chain/single-token siblings such as get_erc1155_balance or get_nft_holdings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'in one call' framing implies this is the consolidated multi-chain read rather than repeated single-chain calls, and the chain list plus schema defaults make scope selection clear. However, there is no explicit when-to-use/when-not statement and no named alternative to use instead when only one chain or one token is needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.