Skip to main content
Glama

token price

token_price
Read-only

USD price and 24h change for any token by contract address (up to 30 at once) on Base, Ethereum, Polygon, Arbitrum, Optimism, BSC, Avalanche, Solana or World Chain. Covers long-tail DEX tokens that ticker-based price feeds miss. Costs $0.002 USDC per call (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": {
      "address": "<address>"
    },
    "name": "token_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase (default) | ethereum | polygon | arbitrum | optimism | bsc | avalanche | solana | worldchain
addressYesToken contract, or comma list (max 30)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful non-schema behavior: the call is metered at $0.002 USDC via x402, which materially affects whether an agent should invoke it. It does not describe failure modes for unsupported chains or unknown contracts.

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?

Three tight sentences: capability first, differentiation second, cost last. Every clause carries information and nothing is repeated from the name or title.

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 two-parameter read tool with no output schema, the description discloses what is returned (USD price and 24h change), the batching limit, supported chains, and cost. Remaining gaps such as behavior on invalid or unsupported addresses are minor given the tool's simplicity and its read-only annotations.

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%, with both chain and address fully documented including the comma-list max of 30, so the schema carries the load. The description restates the batch limit and chain list but adds no syntax or format detail beyond it, matching the baseline 3 for high-coverage schemas.

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+resource (USD price plus 24h change for a token by contract address) and names the exact scope: nine supported chains, up to 30 addresses per call. It further separates itself from ticker-based feeds like crypto_price by claiming coverage of long-tail DEX tokens, so an agent can route between them without opening schemas.

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?

The line 'covers long-tail DEX tokens that ticker-based price feeds miss' gives clear context for choosing this over a ticker-based price tool. It stops short of naming an explicit alternative tool or a when-not-to-use condition, so it is strong context rather than full routing guidance.

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