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 such as USDC or 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 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "token": "<token>"
    },
    "name": "polygon_token_info"
  }
}

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.4/5.0
Behavior3/5

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

Goes well beyond the annotations by disclosing the non-ERC-20 422 error being uncharged, the $0.01/call x402 pricing, the first-10-free allowance, and that failed calls are free. It also implicitly explains the idempotentHint=false anomaly for a pure read ('each call is charged, so repeats are not free'), which is genuinely useful context. The remaining gap is return shape and whether values are cached vs live, though the output schema is absent so this is a modest deduction.

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 the purpose and return fields, then alternatives, input format, error case, and cost. Dense and largely waste-free, though the pricing clause is slightly redundant ('each call is charged, so repeats are not free' restates the paid-per-call model already given).

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 single-parameter read tool, the description covers return fields, accepted input forms, an example, error behavior, and cost model. Nothing an agent needs to call it correctly or predict charges is missing.

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 100%, so the baseline is 3, but the description adds real meaning: it clarifies the two accepted forms (ticker like USDC/WETH or 0x contract address) and supplies a worked example address. It also documents the failure mode tied to the parameter (non-ERC-20 address returns 422), which the schema does not.

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'), names the exact returned fields, and explicitly distinguishes itself from polygon_token_balance, the sibling that handles 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 (identifying an unknown token address, formatting raw amounts) and an explicit when-not with the alternative named: 'for a holder's balance use polygon_token_balance'. Combined with the chain scoping in the name, an agent can route without opening the schema.

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