Skip to main content
Glama
Baneado98

chain-data

by Baneado98

token_price

Retrieve the live USD price of any token using its blockchain and contract address, CoinGecko ID, or symbol. No API key required.

Instructions

Get the live USD price of a token by {chain,address} (most precise) or by coingeckoId or symbol. Free key-less price feed (DefiLlama/CoinGecko).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoChain for an on-chain token address lookup.
addressNoToken contract address (use with chain).
coingeckoIdNoCoinGecko id, e.g. 'ethereum'.
symbolNoToken symbol, e.g. 'ETH' (best-effort).
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses the data source (DefiLlama/CoinGecko) and price type (live USD), but lacks details on behavior when no parameters are given, conflicts, or output format. Adequate but not exhaustive.

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 two sentences, front-loaded with the primary action and parameter options, followed by useful context. No filler words.

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?

Given the simple tool with 4 optional parameters and no output schema, the description covers the core functionality well. However, it omits behavior for missing or conflicting parameters, which may be needed for fully complete guidance.

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

Parameters4/5

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

Schema description coverage is 100%, baseline 3. The description adds value by noting the precision order of parameter combinations, which helps the agent choose the best input method.

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?

The description clearly states the tool gets the live USD price of a token, lists specific identification methods (chain/address, coingeckoId, symbol), and distinguishes the most precise method. This differentiates it from siblings like gas_prices and token_info.

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 description provides guidance on parameter preference (chain+address most precise, symbol as best-effort) and mentions the feed is free and key-less. It does not explicitly state when not to use, but the context is clear for the agent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Baneado98/chain-data'

If you have feedback or need assistance with the MCP directory API, please join our Discord server