Skip to main content
Glama

chain_token_info_batch

Read-only

ERC-20 token metadata batch (up to 30 tokens) — Token metadata for up to 30 ERC-20 contracts in one call - name, symbol, decimals, total supply (formatted and raw) and a status per token (erc20 / no_decimals_maybe_nft / non_standard / not_a_token_or_no_code). Handles bytes32 names like MKR. One Multicall3 eth_call on public RPC. Params: tokens= comma-separated contract addresses; chain= base (default), ethereum, arbitrum, optimism, polygon. Price: $0.004 USDC (Base, via x402).

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": {
      "chain": "<chain>",
      "tokens": "<tokens>"
    },
    "name": "chain_token_info_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesbase
tokensYes0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913,0x4200000000000000000000000000000000000006,0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the description is not carrying the safety burden — yet it still adds substantial context beyond them: one Multicall3 eth_call against a public RPC, bytes32 name handling (MKR), a per-token status taxonomy covering non-standard/ NFT-like contracts, and a $0.004 USDC x402 payment on Base. Rate limits and behavior when the 30-token cap is exceeded are not disclosed.

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

Conciseness3/5

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

Dense and front-loaded, with return fields, params, and price all covered in a few lines. However the opening is redundant — 'ERC-20 token metadata batch (up to 30 tokens)' is immediately restated as 'Token metadata for up to 30 ERC-20 contracts in one call' — which duplicates the annotation title as well.

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 and only two required params, the description does what it must: names the returned fields, the status values, the chain options, the batch ceiling, and the payment model. The remaining gaps (over-cap behavior, error semantics when an address is invalid) are modest for a read-only batch tool.

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 nominally 100%, but the schema's own text is thin ('chain' described only as 'base', 'tokens' only as an example address string). The description meaningfully compensates by defining tokens as comma-separated contract addresses and enumerating the valid chain values (base default, ethereum, arbitrum, optimism, polygon) where the schema provides no enum. Minor inconsistency: chain is listed as required in the schema yet called '(default)' in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: batch-fetch ERC-20 metadata for up to 30 contracts, then enumerates exactly what comes back (name, symbol, decimals, total supply raw/formatted, per-token status enum). An agent can distinguish this from chain_token_price_batch by the enumerated return fields, though the description never names a sibling explicitly.

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

Usage Guidelines2/5

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

Gives scope (up to 30 tokens, one Multicall3 eth_call) and cost, but no when-to-use vs alternatives guidance — nothing says when to use this instead of chain_token_price_batch, chain_contract_info, or chain_token_price for a single token. There is also no when-not guidance, e.g. what to do for a single token or more than 30.

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