Skip to main content
Glama

Crypto, web, finance and app data tools

Token Total Supply

token_total_supply

Total supply, name, symbol and decimals of an ERC-20 or ERC-721 contract, read on-chain. Use for market-cap math, supply checks and token due diligence.

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

Input Schema

NameRequiredDescriptionDefault
chainNoethereum
tokenYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. Saying it is 'read on-chain' usefully signals a read-only blockchain lookup, but it does not disclose supported chains, auth expectations, rate limits, or error behavior.

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?

The description is compact and front-loaded: it names the returned fields and then gives concrete usage contexts. There is no redundant or wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be fully explained, and the description does list the key returned fields. Still, for a two-parameter tool with 0% schema description coverage and no annotations, the missing parameter and chain-scope guidance leaves gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explain either parameter. 'ERC-20 or ERC-721 contract' implies the token parameter is a contract address, but the chain parameter and its default are never mentioned.

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 states the specific resource and returned fields: total supply, name, symbol, and decimals for an ERC-20 or ERC-721 contract. It is clear what the tool does, but it does not explicitly distinguish itself from close siblings such as erc20_token_info or contract_info.

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?

The description gives use cases like market-cap math and supply checks, which implies when to use it. However, it does not say when not to use it or name alternatives such as erc20_token_info, leaving the agent to infer sibling choice.

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