Skip to main content
Glama

get_token_details

Retrieve detailed token information including price, market cap, volume, and liquidity. Optionally includes a price chart for deeper analysis.

Instructions

Get detailed information about a token: price, market cap, volume, liquidity, and optionally a price chart.

For just the USD price, use get_token_price instead — it's faster and simpler. For trending tokens (discovery), use get_trending_tokens first, then this tool for deep-dives.

When includeChart is true, returns a slimmed price chart (~50 data points with close prices, volumes, and summary stats). Raw chart data is ~21KB; this tool reduces it to ~3KB.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesToken contract address. For native tokens use: EVM "0x0000000000000000000000000000000000000000", Solana "11111111111111111111111111111111", Bitcoin "bc1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqmql8k8", Hyperliquid "0x00000000000000000000000000000000", Lighter "0". For other tokens, use the contract/mint address or look up via get_supported_tokens.
chainIdYesChain where the token lives (ID or name).
includeChartNoInclude price chart data. Defaults to false. Adds ~3KB to response.
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the tool's behavior (returns detailed info, optional chart) and notes the data size reduction for charts. However, it doesn't mention return format or error cases, but is fairly transparent.

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 well-structured with a clear summary, followed by usage alternatives and parameter details. Every sentence adds value with no fluff.

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 low complexity, the description is quite complete, covering purpose, alternatives, and parameter details. Lacking output schema, it could briefly mention return structure, but it does list some fields.

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

Parameters5/5

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

Schema coverage is 100% and the description adds significant value beyond the schema, explaining special addresses for native tokens and detailing the includeChart parameter's effect on response size and content.

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 it gets detailed information about a token including price, market cap, etc., and distinguishes it from simpler alternatives like get_token_price and get_trending_tokens.

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

Usage Guidelines5/5

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

Provides explicit guidance on when to use this tool for deep-dives, and when to use get_token_price for just price or get_trending_tokens for discovery. Also explains the includeChart option.

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/pedromcunha/relay-mcp'

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