Skip to main content
Glama

Wallet balance

wallet_balance
Read-onlyIdempotent

Use when you need a wallet's token balances on several chains in one call: native coin plus USDC, USDT, DAI, WETH, WBTC/cbBTC on Ethereum, Base, Arbitrum and Polygon. Returns the paid x402 request for your input (GET /wallet/balance, $0.003 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. For one token on one chain use evm_erc20_balance; for the native coin on one chain use evm_native_balance; for many wallets use wallet_balance_batch. First call each day returns the data itself, free; later calls return the paid request.

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

Input Schema

NameRequiredDescriptionDefault
chainsNocomma list of ethereum, base, arbitrum, polygon (default: all EVM chains for a 0x address)
addressYes0x address or ENS name (lowercase a-z, 0-9, hyphen)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the read-only/idempotent safety profile, but the description adds genuinely non-obvious behavior: the call returns a paid x402 request rather than the data, costs $0.003, must be replayed with an x402 or MPP client, and the first call each day returns data free. It also discloses that bad input is refused before any charge, which is important cost-safety context an agent would otherwise have to discover.

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?

Front-loaded with the use case, followed by payment mechanics and then alternatives — a sensible ordering. It is dense and slightly repetitive about the paid-request-vs-data distinction, which is stated twice in the final two sentences, but no sentence is disposable.

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?

With no output schema, the description carries the return-value burden and does explain that the agent receives either data (first daily call) or a paid request URL plus cost. The response payload shape is deferred to the linked schema, which is a reasonable but not fully self-contained choice for a tool whose return is a replayable payment object.

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 coverage is 100%, so both parameters (address, chains) are already documented with their formats and the all-chains default, so baseline 3 applies. The description restates the chain and token coverage but adds no syntax, format, or default information beyond the 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?

Names a specific verb+resource (“a wallet's token balances on several chains in one call”) and enumerates exactly which tokens and chains are covered. It explicitly differentiates itself from evm_erc20_balance, evm_native_balance, and wallet_balance_batch by stating the condition that selects each.

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

Usage Guidelines5/5

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

Opens with “Use when you need...” and then routes the agent away for the three near neighbors with explicit conditions (one token/one chain, native coin/one chain, many wallets). Both the when-to-use and the when-not-to-use are stated rather than inferred.

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