Skip to main content
Glama

ERC20 Token Info

erc20_info
Read-only

Read an ERC20 token contract on Base, Ethereum or IOTA EVM mainnet: name, symbol, decimals, total supply, and optionally the balance of one holder address. Verifies that the address is a contract. Params: token (contract address, required), chain ('base' default, 'ethereum' or 'iota-evm'), holder (optional address). Price: $0.0045 USDC per call, paid inside this MCP call via x402 (USDC on Base, Solana, Polygon or Arbitrum). x402 MCP clients such as @x402/mcp pay automatically. Free sample: call with the example input {"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","chain":"base","holder":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNobase
tokenYesERC20 contract address
holderNoOptional address whose token balance to return

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / chain / enum
      Previous value: -[
      -  "base",
      -  "ethereum"
      -]New value: +[
      +  "base",
      +  "ethereum",
      +  "iota-evm"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, non-destructive, openWorld), yet the description adds substantial value beyond them: it discloses the per-call price ($0.0045 USDC), the x402 payment rail and currencies, that compliant clients pay automatically, and that the address is verified to be a contract. Payment/auth requirements are exactly the kind of behavioral context annotations cannot express.

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 purpose, then params, then payment, then a runnable sample. It is slightly long, but the payment details and example input earn their place for an agent, so only minor trimming is possible.

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 correctly carries the return-value burden by listing the fields returned (name, symbol, decimals, total supply, optional balance). Combined with payment, chain, and contract-verification info, it is nearly complete, with only the remaining edge-case behavior (e.g. failure when the address is not a contract) left unstated.

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 67% and the description restates the parameters (token required contract address, chain default base, holder optional address). It usefully fills the gap for the enum-only chain param by naming the default, but it adds little beyond the schema for token and holder, so baseline 3 is appropriate.

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 (Read) and resource (ERC20 token contract), and enumerates exactly what it returns: name, symbol, decimals, total supply, and optional holder balance. This clearly distinguishes it from siblings like evm_balance (native balance) and erc20_transfers (transfer history), which an agent can tell apart without opening schemas.

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

Usage Guidelines3/5

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

The description gives context (which chains are supported, the optional holder lookup, and the free sample) but never states when to use this tool versus alternatives such as evm_balance or erc20_transfers. Usage is implied rather than routed, so it lands at the minimum-viable level.

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