Skip to main content
Glama

token

token

ERC-20 token info: name, symbol, decimals and total supply of any token contract on Base, Ethereum, Arbitrum One, OP Mainnet, Polygon PoS, BNB Smart Chain, Avalanche C-Chain. Price: $0.001 USDC per successful call (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": {
      "address": "<address>"
    },
    "name": "token"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain (default base)
addressYesToken contract address (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; it does disclose a genuinely non-obvious behavioral trait — a $0.001 USDC per-successful-call cost via x402 — which affects whether an agent should invoke it. It stops short of covering failure behavior (invalid address, non-ERC-20 contract) or confirming the operation is a read-only, side-effect-free fetch.

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: capability plus return fields front-loaded, then the cost disclosure. No filler, and the pricing note is short enough that it never buries the primary purpose.

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 no annotations, the description does the necessary work by naming the returned fields and the supported chains, which is enough for a simple two-parameter read tool. Minor gaps remain around error/non-token-contract behavior and whether results are cached, but nothing blocks a correct call.

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%: both parameters (address, chain) are documented in the schema, including the chain enum and its 'default base' note. The description reinforces the chain list and clarifies that the address is a contract address, but adds no syntax, format, or defaulting detail beyond the schema, so the baseline 3 applies.

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?

The description names a concrete resource (ERC-20 token metadata) and enumerates the exact fields returned (name, symbol, decimals, total supply), which makes the operation unambiguous. It does not explicitly contrast itself with nearby tools such as balance or tx, so sibling differentiation is left to inference rather than stated.

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?

Phrasing like 'of any token contract' on the listed chains implies the usage context (look up metadata for a known contract address), but there is no explicit when-to-use/when-not guidance and no named alternative for related lookups. The agent must infer the boundary from the sibling list.

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