Skip to main content
Glama

MCPFax On-Chain Toolkit

ERC-20 token details by contract address

token_info

Read an ERC-20's name, symbol, decimals and total supply straight from the contract on the chain you name, and confirm the address actually has code there. Use before quoting an amount or building a transfer: getting decimals wrong is the classic way to send 1,000,000x the intended value. An address with no code, or a contract that is not an ERC-20, is reported as such and is NOT charged. Costs $0.005 USDC per call via x402 on Base.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoethereum, base, arbitrum, optimism or polygon. Defaults to base.
addressYes0x-prefixed 20-byte contract address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / address / examples
      Added value: +[
      +  "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
      +]
    • addedInput schema / properties / chain / examples
      Added value: +[
      +  "base"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses error handling ('An address with no code, or a contract that is not an ERC-20, is reported as such'), states it is NOT charged on such failures, and mentions the cost ($0.005 USDC per call via x402). This gives agents a clear picture of behavior and side effects.

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 description is a single paragraph that is efficient and front-loaded. It starts with the core purpose, then provides a compelling use case, then addresses edge cases and cost. Every sentence adds value with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with only 2 parameters and no output schema, the description covers purpose, usage context, error handling, and cost. It also mentions the chain selection and defaults. There is nothing an agent needs to know to call it correctly that is missing.

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 both parameters (address and chain) are already documented. The description adds no new semantic details beyond the schema, e.g., it doesn't explain chain defaults beyond what the schema already says. 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?

The description clearly states a specific verb ('Read') and resource ('an ERC-20's name, symbol, decimals and total supply') and adds the scope of confirming code presence. It distinguishes itself from siblings like address_info and tx_status by focusing on token metadata retrieval, making the purpose unambiguous.

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 provides a concrete use case: 'Use before quoting an amount or building a transfer' and explains the risk of getting decimals wrong. While it doesn't explicitly name alternatives, the context makes the appropriate invocation clear. The instruction to use it before quoting amounts is strong guidance.

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