Skip to main content
Glama

Chain Token

chain_token
Read-only

ERC-20 token details on Base (default) or Ethereum by contract address: name, symbol, decimals and total supply, read from the contract itself. Costs USD 0.001 per call, paid with x402 (USDC on Base); calls that fail are not charged.

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

Input Schema

NameRequiredDescriptionDefault
addressYesToken contract address, 0x + 40 hex characters
networkNoBlockchain (default base)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavior: it costs USD 0.001 per call, is paid via x402 with USDC on Base, and failed calls are not charged — critical for an agent deciding whether to invoke. It omits error behavior for non-token addresses but otherwise exceeds the annotation bar.

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?

A single sentence, front-loaded with the capability and returned fields, followed by the network scope and the cost/billing caveat. No filler, and every clause conveys information an agent needs.

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?

The tool is simple and read-only, with a fully described two-parameter schema, and the description even enumerates the returned fields, which compensates for the absent output schema. Some gaps remain: it doesn't say what happens on failure or for non-contract addresses, which matters given the per-call charge.

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%: both 'address' (0x + 40 hex) and 'network' (enum base/ethereum, default base) are fully documented in the schema. The description only restates the network default and adds no new formatting, validation, or edge-case meaning. 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: ERC-20 token details (name, symbol, decimals, total supply) read from the contract at a given address. The listed sibling names chain_balance and chain_tx cover different resources, and 'read from the contract itself' distinguishes this metadata lookup from balance or transaction queries.

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?

Gives clear context: supply a contract address, optionally pick network, with base as the default. What it doesn't do is explicitly rule out alternatives (for example, saying when to use this versus chain_balance), but the resource is narrow enough that an agent can self-route.

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