Skip to main content
Glama

APEX 8-Chain EVM Reads, Logs & Audits MCP

Evm token balance

evm_token_balance
Read-onlyIdempotent

ERC20 token balance of any wallet across 8 EVM chains (Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Arc and Robinhood): 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.

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>",
      "token": "<token>"
    },
    "name": "evm_token_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoethereum (default), base, arbitrum, optimism, polygon, bnb, arc or robinhood
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. Changed1 schema field changed
    • changedInput schema / properties / chain / description
      Previous value: -"ethereum (default), base, arc or bnb"New value: +"ethereum (default), base, arbitrum, optimism, polygon, bnb, arc or robinhood"
  2. 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, open-world), and the description adds substantial context beyond them: the per-call price ($0.001), the x402 payment rail and accepted assets, and the two-step handshake required to complete a purchase. Cost and payment mechanics are exactly the kind of behavior an agent cannot get from annotations or schema.

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?

The core capability and return fields are front-loaded, then pricing, then the payment procedure, which is the right order. It is dense for a single paragraph and the chain enumeration plus payment-asset detail is slightly list-like, but no sentence is 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?

With four parameters and no output schema, the description compensates well by enumerating return fields and covering the payment lifecycle. It does not state what happens on an unsupported chain or a token/address mismatch, which is the main remaining gap for a paid, open-world lookup.

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 the baseline is 3, but the description adds real meaning for the `payment` parameter by explaining the get-terms-then-pay sequence and that the purchase completes inside the call. It also enumerates the supported `chain` values in prose, though the schema already lists them.

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 gives a specific verb and resource ('ERC20 token balance of any wallet') plus the chain coverage and the exact fields returned (raw balance, decimals, symbol, token-unit balance, block read). This is distinguishable from native-balance siblings like evm_wallet_balance purely from the wording, without opening either 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 explicit invocation guidance for the paid path: call once without `payment` to get the terms, sign with your own wallet, then call again with `payment`. What is missing is routing advice against alternatives such as evm_wallet_balance for native balances or evm_balances_bulk for multiple tokens; the agent must infer those.

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.