Skip to main content
Glama

Agent Data Hub

ERC-20 total supply

chain_total_supply
Read-onlyIdempotent

Current total supply of an ERC-20 token, read live: human-readable and raw, with symbol, name, decimals and block number. Pass the token contract (or 'usdc'). Base (default), Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche, Gnosis. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are 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": "chain_total_supply"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain (default base)
tokenYesERC-20 contract 0x… or 'usdc'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety bar is lower; the description nonetheless adds the material commercial behavior — $0.001 per call via x402 in USDC on Base with 10 free calls/day — plus the fact that data is read live and what fields the response carries. It does not cover error behavior (unknown token, unsupported chain) or what a paid-call failure does to billing, which is the remaining gap.

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 purpose is front-loaded in the first clause, and every sentence carries information. The chain roster and pricing tail make it slightly dense, but nothing is filler.

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 no output schema, the description compensates by naming the returned fields, and for a two-parameter read-only tool it also covers chains, defaults, token forms and cost. What remains missing is failure behavior and whether the raw/human-readable pair is always present for tokens with unusual decimals.

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 enum already constrains the chain list, so the schema does the heavy lifting. The description's 'Pass the token contract (or “usdc”)' and 'Base (default)' essentially restate the schema text rather than adding format rules or validation semantics. Baseline 3 applies.

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 — 'Current total supply of an ERC-20 token, read live' — and enumerates what comes back (human-readable and raw amount, symbol, name, decimals, block number). An agent can distinguish this from sibling reads like chain_erc20_balance or chain_token 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 Guidelines3/5

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

Gives context ('read live', supported chains, token argument form) but no explicit when-to-use versus when-not, and it never names an alternative such as a balance or token-metadata tool. Usage is implied by the purpose rather than stated as routing 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