Skip to main content
Glama

evm_token_balance

ERC20 token balance of any wallet on Ethereum, Base, Arc or BNB Chain: raw balance, decimals, symbol and balance in token units, with the block read. $0.001 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.

Input Schema

NameRequiredDescriptionDefault
chainNoethereum (default), base, arc or bnb
tokenYesERC20 token contract (0x...)
addressYeswallet address (0x...)
paymentNoa signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does substantial work: discloses the $0.001 per-call price, accepted payment rails (USDC on Arc/Base/Solana, XNT on X1), and the two-phase terms-then-payment behavior. It does not cover failure modes, rate limits, or caching of the block read.

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?

Two dense sentences, front-loaded with the capability before the pricing and protocol instructions. Every clause earns its place, though the payment/pricing sentence is information-dense and could be split for readability.

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 correctly enumerates the return fields (raw balance, decimals, symbol, token-unit balance, block), and it documents the payment lifecycle and chain options. It stops short of describing error behavior or what the terms payload contains on the first call.

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 description coverage is 100% (baseline 3), and the description still adds meaning: it explains `payment` as the x402 signed payload that completes the purchase inside the call, and confirms `chain`/`token`/`address` semantics via the scope sentence. The extra payment-protocol context lifts it above baseline.

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+resource with scope: 'ERC20 token balance of any wallet on Ethereum, Base, Arc or BNB Chain', and enumerates the returned fields (raw balance, decimals, symbol, token-unit balance, block). This distinguishes it from evm_wallet_balance (native) and evm_token_info (metadata) without needing to open schemas.

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?

Gives concrete call protocol: 'Call once without `payment` for the terms, sign them with your own wallet, call again with `payment`.' That is genuine when/how guidance for the x402 flow, though it never names an alternative sibling or states when to prefer evm_balances_bulk or evm_wallet_balance instead.

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