Skip to main content
Glama

chain_total_supply

Read-only

Token total supply + metadata — ERC20 token name, symbol, decimals and total supply (raw and formatted) for any token contract (token=). Chains: base (default), ethereum, arbitrum, optimism, polygon via chain=. Price: $0.002 USDC (Base, via 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": {
      "chain": "<chain>",
      "token": "<token>"
    },
    "name": "chain_total_supply"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesbase
tokenYes0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, destructiveHint=false, openWorldHint), but the description adds a genuinely important behavioral fact not in any structured field: the call costs $0.002 USDC via x402 on Base. It also enumerates the supported chains and the default. Minor gap: it does not clarify whether the x402 charge applies on every chain or only Base settlement, nor what happens on unsupported chains.

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?

One tightly packed sentence front-loads purpose, then returns, then parameters, then chains, then price — no wasted wording. The density makes the pricing and default-chain facts easy to skim past, but nothing is redundant.

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 only two required parameters and no output schema, the description does the necessary work of describing the return shape (raw and formatted supply plus metadata) and the chain set. Remaining gaps are error behavior and the scope of the x402 charge, both secondary for a simple read tool whose annotations carry the safety profile.

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 nominally 100%, but the schema 'descriptions' are just the literal 'base' and an example address, so the description is what actually explains that chain accepts base/ethereum/arbitrum/optimism/polygon with base as default and that token is a token contract address. That is real added meaning, though it does not specify address formatting or checksum requirements. Baseline 3 is warranted given the schema formally carries the parameters.

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 the exact resource and the exact fields returned (ERC20 name, symbol, decimals, total supply raw and formatted), which lets an agent distinguish it from chain_erc20_balance or chain_nft_metadata without opening the schema. It is a noun phrase rather than an explicit verb, but the intent (fetch token supply data) is unambiguous.

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?

Usage is only implied: the parenthetical '(token=)' and 'Chains: base (default), ethereum, ...' signal how to scope a call, and the listed return fields imply when to pick this over a balance tool. There is no explicit when-not/no-alternative guidance, so an agent must infer that this is the metadata/supply read versus balance or allowance reads.

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