Skip to main content
Glama

AgentLogic MCP Server

token_info

Read an ERC-20 token's metadata on an EVM chain: name, symbol, decimals and total supply (raw and formatted). Price: $0.002 USDC on Base via x402.

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

Input Schema

NameRequiredDescriptionDefault
chainNoChain to read: base (default), ethereum, polygon, arbitrum or optimism.
tokenYesERC-20 token contract address, 0x-prefixed, 40 hex characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the notable behavioral trait that calls are paid: $0.002 USDC on Base via x402. It also states the return shape (raw and formatted supply), which compensates for the absent output schema. It stops short of stating failure modes for non-contract addresses or whether the payment settles per call, keeping it below a 5.

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?

Two sentences, zero filler: capability and return fields first, cost second. The pricing note is separated rather than buried, so an agent scanning the first sentence still gets the full functional picture.

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?

For a simple two-parameter read with no output schema, the description supplies the return fields, the chain scope and the payment requirement, which is everything needed to decide and call correctly. Error semantics for invalid contracts are the only minor omission and are not required here.

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%, so both 'chain' (with its enumerated valid values and base default) and 'token' (0x-prefixed, 40 hex chars) are fully documented in the schema. The description adds no parameter-level meaning beyond that, 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?

Names a specific verb ('Read') and resource ('an ERC-20 token's metadata on an EVM chain') and enumerates exactly what comes back: name, symbol, decimals, total supply raw and formatted. That field list distinguishes it cleanly from siblings like token_balance, token_allowance and token_price without needing to name them.

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?

Usage is only implied: an agent can infer this is the tool for static token metadata rather than balances or prices. There is no explicit when-to-use statement, no when-not-to-use, and no mention of the sibling token_price even though the description raises pricing (the x402 fee), which could cause brief confusion about whether this returns market price.

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.