Skip to main content
Glama

chain_token_supply

Read-only

$0.01 via x402: total supply, holder count, decimals, and live USD price / market cap for any ERC-20/721 token contract, across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. The supply read trading, valuation and risk agents make to size circulating supply, dilution and holder distribution before pricing or trading a token. Live from Blockscout; one paid call instead of running your own RPC.

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": "chain_token_supply"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase|ethereum|optimism|arbitrum|polygon|gnosis (default ethereum)
addressYesToken contract address (0x...)
x_paymentNosigned x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / x_payment / description
      Added value: +"signed x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms"
  2. Added
  3. Removed
  4. Added
  5. Removed
  6. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses the cost model ($0.01 via x402) and the two-step payment handshake implied by the first call returning terms. It does not cover failure/refund behavior for a failed paid call, caching/freshness beyond "live", or rate limits, so it is strong but not complete on a metered tool.

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?

Three sentences, each earning its place: what is returned plus chains, the agent use case, and the sourcing/payment rationale. The price is front-loaded and there is no filler.

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?

There is no output schema and none is needed, since the description enumerates the return fields (supply, holders, decimals, USD price/market cap). Chain coverage, data source (Blockscout), and the payment flow are all stated, which is everything required to call a metered single-read tool correctly.

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 would be 3. The description adds genuine meaning for x_payment by stating the price point ($0.01) and the "one paid call instead of running your own RPC" framing, which tells the agent why the payment parameter exists. It adds nothing further on chain or address beyond the schema.

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 names the exact resource (supply, holder count, decimals, live USD price/market cap for an ERC-20/721 contract) and the scope (six named chains). An agent can distinguish it from chain_token_identity or token_security_check purely from the enumerated fields returned, without opening the schema.

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 gives a clear use context: the supply read trading, valuation, and risk agents make before sizing positions or pricing a token. It also frames the alternative "one paid call instead of running your own RPC." It stops short of explicit when-not conditions or naming a sibling tool to use instead.

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.