Skip to main content
Glama

x402 Agent Hub

chain_token_info

ERC-20 token metadata on 7 EVM chains: name, symbol, decimals and formatted total supply in one call. You only pay for successful reads: invalid input, not-found and upstream errors cancel settlement. ($0.002 USDC on Base)

Input Schema

NameRequiredDescriptionDefault
chainNobase (default), ethereum, arbitrum, optimism, polygon, bsc or avalanche. Chain IDs also accepted.
tokenYes0x-prefixed ERC-20 token contract address.
paymentSignatureNoOptional x402 v2 base64 PAYMENT-SIGNATURE

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses that this is a paid call ($0.002 USDC on Base), that settlement is cancelled on invalid input, not-found, and upstream errors, and that reads are effectively non-destructive. It stops short of stating rate limits, required auth/identity for x402, or latency characteristics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the capability and returned fields come first, the pricing and settlement terms second. Nothing is redundant and no sentence could be dropped without losing signal.

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?

No output schema exists, but the description compensates by naming the returned fields, and the paid-call/failure-billing semantics are disclosed, which is the main behavioral risk for this tool. Minor gaps remain around error shape and what happens when the payment signature is absent versus supplied.

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 description coverage is 100%, so the schema already documents chain, token, and paymentSignature in detail, including the default chain and accepted chain names. The description adds only the count of supported chains, which is marginal value over the schema rather than new parameter meaning.

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 resource (ERC-20 token metadata) with the exact fields returned (name, symbol, decimals, formatted total supply) and the scope of 7 EVM chains. This clearly separates it from siblings like chain_token_balance and chain_address_info, which cover different resource types.

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?

Usage is only implied by the resource described: an agent can infer this is the metadata lookup rather than a balance or address lookup. There is no explicit when-to-use, when-not-to-use, or named alternative, and no prerequisites for the payment flow beyond the pricing line.

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.