Skip to main content
Glama

Polygon token info, ERC-20

polygon_token_info
Read-only

Look up the name, symbol, decimals and total supply of an ERC-20 token contract on Polygon PoS, live from the contract. Use to identify an unknown token address or to format raw amounts; for a holder's balance use polygon_token_balance. Input is a ticker (USDC, WETH…) or the token's 0x contract address; an address that is not an ERC-20 contract returns 422, uncharged. Example: token=0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
tokenYesToken: a ticker such as USDC or WETH, or the 0x ERC-20 contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / token / description
      Previous value: -"0x ERC-20 token contract address"New value: +"Token: a ticker such as USDC or WETH, or the 0x ERC-20 contract address"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnlyHint, destructiveHint=false), so the description focuses on what they cannot express: the cost model ($0.01/call, first 25 free, failed calls free), the 422/unbilled failure mode, and the fact that repeats are charged. That last point directly explains why idempotentHint is false for an otherwise pure read, which is genuinely useful context.

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 what it returns, then when to use it, then the input format and example, then the commercial terms — a sensible order with no filler sentences. The payment/pricing sentences are dense and could be trimmed slightly, but each carries decision-relevant information.

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?

With one required parameter and no output schema, the description supplies the return fields, the accepted input forms, an example, the failure mode, and the billing behavior. Nothing an agent needs in order to call this correctly and interpret the result 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 coverage is 100% and the schema already says the token may be a ticker like USDC/WETH or a 0x contract address, so the description largely restates it. The added value is only the worked example address and the validation behavior for non-ERC-20 input, which is modest beyond what the schema provides.

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 and resource ('look up the name, symbol, decimals and total supply of an ERC-20 token contract on Polygon PoS') and names the exact fields returned, so the agent knows what comes back without opening a schema. It is also explicitly distinguished from the closest sibling by pointing at polygon_token_balance for holder balances.

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

Usage Guidelines5/5

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

Gives two concrete use cases ('identify an unknown token address', 'format raw amounts') and names the alternative tool plus the condition that selects it. It also states what happens when the input is not an ERC-20 contract (422, uncharged), which removes the main ambiguity an agent could hit.

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