Skip to main content
Glama

Token Supply

token.supply
Read-onlyIdempotent

Get ERC20 token total supply, decimals, symbol, and name from on-chain data. Use for contract-level supply metadata such as total supply, decimals, symbol, and name. It does not assess price, token safety, or holder concentration; use token.risk, token.price, or token.holders instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoEVM chain (default: base)
addressYesToken contract address

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
chainYesBlockchain queried
tokenYesAddress
symbolYes
decimalsYes
timestampYesUnix timestamp ms
totalSupplyYes
totalSupplyUsdYes
totalSupplyFormattedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/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 profile is covered. The description adds useful negative scope (no price, safety, or holder concentration assessment), which is genuine behavioral context beyond the annotations, though it doesn't discuss caching, chain support limits, or failure modes for non-contract addresses.

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?

Three sentences, front-loaded with the action and return fields. Slight redundancy: the field list ('total supply, decimals, symbol, name') is effectively restated in the second sentence, which costs a little efficiency.

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 an output schema present, the description needn't explain return values, and annotations plus 100% schema coverage carry the structural burden. The description covers purpose, scope, and routing, leaving no functional gap for an agent.

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 both parameters (address, chain with default 'base') are already documented in the schema. The description adds no format, validation, or chain-support detail beyond what the schema provides, so the 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 ('Get') and resource ('ERC20 token total supply, decimals, symbol, and name from on-chain data'), naming the exact fields returned. It is immediately distinguishable from sibling token tools by scope.

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?

Explicitly says when to use it ('contract-level supply metadata') and names three alternatives with their conditions: token.risk, token.price, token.holders for the concerns this tool does not cover. Nothing is left to inference.

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