Skip to main content
Glama

Crypto & Web Data API for Agents

EVM wallet balances on one or all chains

evm_balance
Read-only

EVM wallet balances on one or all chains. Native coin plus USDC, USDT, DAI and wrapped native balances of an address on Base, Ethereum, Arbitrum, BSC, Polygon, Optimism and Avalanche (chain=all checks every chain at once), with USD values. On a single chain you can add your own ERC-20 contracts. Cached 15 s. Price $0.005 per call (x402: USDC on Base or Solana).

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": "evm_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
chainNoall or one of ethereum, base, arbitrum, bsc, polygon, optimism, avalancheall
tokensNoExtra ERC-20 contracts, comma-separated (single chain only)
addressYesWallet address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses three operational facts an agent must know: results are cached for 15 s, each call costs $0.005, and payment runs through x402 in USDC on Base or Solana. That cost and payment-mechanism disclosure is exactly the kind of context annotations cannot carry.

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

Conciseness4/5

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

Four tight sentences with the core purpose front-loaded and cost/payment details deferred to the end, which is the right ordering. Minor redundancy: the chain list repeats what the schema's chain description already enumerates.

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

Completeness5/5

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

There is no output schema, but the description states what comes back (balances plus USD values), which chains are covered, the caching window, and the payment model. For a read-only balance lookup with four parameters, an agent has everything needed to call it and interpret the cost.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already documents the chain enum values, the tokens single-chain restriction, and the tx header alternative. The description restates the chain=all behavior and the single-chain token constraint without adding format or syntax detail, so it sits at the baseline for a fully documented schema.

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?

The first sentence names the resource and scope ('EVM wallet balances on one or all chains'), and the second enumerates exactly which assets are returned (native coin, USDC, USDT, DAI, wrapped native) across seven named chains. This lets an agent distinguish it from siblings like evm_token_balance or wallet without opening the schema.

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

Usage Guidelines4/5

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

It gives clear operating context: 'chain=all checks every chain at once' tells the agent how to get the broad sweep, and 'On a single chain you can add your own ERC-20 contracts' states the condition under which the tokens parameter is usable. It stops short of naming an alternative tool for cases like a single token lookup (evm_token_balance), so no explicit exclusion or routing is provided.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources