Skip to main content
Glama

DevX Agent Hub

Wallet balances across 5 EVM chains

wallet_balances_multichain
Read-onlyIdempotent

Native and USDC balances of an EVM wallet across Base, Polygon, Arbitrum, Optimism and Ethereum in one call, plus whether the address is a contract on each chain. $0.01 USDC on Base via x402. Price: $0.01. First call returns the x402 PaymentRequired (no charge); retry with payment in _meta["x402/payment"].

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainsNocomma list, default all five
addressYes
x402_paymentNoOptional. Base64 x402 v2 PaymentPayload, for clients that cannot set params._meta["x402/payment"]. Omit on the first call to get the exact price.

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 safety profile (readOnly, idempotent, non-destructive), and the description adds the things they cannot: a concrete price ($0.01 USDC on Base), a payment/auth requirement, and the fact that the first call is free and fails with PaymentRequired. It also discloses the extra per-chain contract-address output, which is not visible any other way.

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?

Three sentences, front-loaded with what the tool returns, then cost, then the payment handshake. The only waste is the redundant restatement of the price ($0.01 USDC ... Price: $0.01), which repeats information already given.

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?

There is no output schema, so the description carries the return-value burden, and it does name the payload (native balance, USDC balance, is-contract flag, per chain). It stops short of the actual response shape or how a partially failing chain is reported, which keeps it from a 5.

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 67%, and the description goes beyond the schema by documenting the _meta["x402/payment"] transport path that the x402_payment parameter exists to work around. The chains parameter's default (

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 description names a specific resource and scope: native and USDC balances of an EVM wallet across five explicitly listed chains, plus a per-chain contract check, all in one call. That is concrete enough to separate it from siblings like token_safety_check or crypto_address_validate without opening any 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?

The x402 flow is spelled out procedurally: first call returns PaymentRequired with no charge, then retry with payment in _meta["x402/payment"]. That is real invocation guidance, but there is no statement of when this tool is preferred over the sibling tools that also accept addresses.

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