Skip to main content
Glama
Ethereum MCP
by ETHCF

get_token_info

Fetch token metadata including name, symbol, decimals, and total supply for a given contract address to identify and display token details.

Instructions

Get token metadata including name, symbol, decimals, and total supply.

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": {
      "contractAddress": "<contractAddress>"
    },
    "name": "get_token_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain name or ID (default: ethereum)
contractAddressYesToken contract address (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and 'Get ... metadata' does imply a read-only lookup while also naming the returned fields, which is useful. However, it says nothing about failure modes (invalid or non-contract address), behavior for unverified tokens, chain defaulting outside the schema, or caching/freshness.

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?

One front-loaded sentence with no filler; the resource and the returned fields are stated immediately. Nothing could be removed without losing information.

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?

For a simple two-parameter read tool with no output schema, listing the returned fields compensates well for the missing output schema. The main omission is disambiguation from the near-duplicate supply/holders/balance siblings.

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 description coverage is 100% – both contractAddress and chain (including the ethereum default) are documented in the schema. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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 uses a specific verb ('Get') plus resource ('token metadata') and enumerates the fields returned (name, symbol, decimals, total supply), so an agent knows exactly what it retrieves. It does not differentiate itself from siblings like get_token_supply, which visibly overlaps on 'total supply'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives. Given the crowded sibling set (get_token_balance, get_token_supply, get_token_holders, get_token_price), the agent must infer that this is the metadata lookup rather than the balance or supply tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools