Skip to main content
Glama

Get Token Price Historical

get_token_price_historical
Read-only

Get historical price data for crypto tokens over a specified time window (1–365 days). Returns period statistics (start, end, % change, high, low) plus a downsampled daily price series, plus high_30d (raw observation maximum), std_30d (population standard deviation of daily returns as a decimal), and dca_baseline_90d (weekly samples over the preceding 90 UTC days, excluding the latest observation). dca_baseline_90d_partial identifies incomplete history. Use for period comparisons (month-over-month, YTD), trend analysis, and price charts. Prefer over web_search for time-comparative financial queries. Pass stats_only=true when the daily series is unnecessary. These metrics are pre-computed and should not be re-derived with calculate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoLookback window in days (1–365). 1=5-min granularity, 2-90=hourly, 91+=daily.
tokensYesToken symbols or CoinGecko IDs (e.g. ['BTC', 'ETH']). Max 10 per call.
stats_onlyNoIf true, omit the daily price series and return period stats plus precomputed 30-day high/volatility and 90-day DCA baseline metrics.
vs_currencyNoQuote currency (usd, eur, gbp, btc, eth). Lowercase 3–10 letters.usd

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysYes
tokensYes
vs_currencyYes

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare readOnlyHint=true, but the description adds substantial context beyond that: it explains how dca_baseline_90d is computed (weekly samples over preceding 90 UTC days, excluding latest observation), notes dca_baseline_90d_partial identifies incomplete history, and warns that metrics are pre-computed and should not be re-derived with calculate. No contradiction with annotations.

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 front-loaded with the core purpose, then compactly enumerates return metrics and usage guidance. Every sentence serves a distinct function—purpose, output details, edge-case identifier, use cases, alternative, and optimization. No redundancy or filler.

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?

The tool is complex with multiple precomputed metrics, but the description covers all key aspects: return value composition, granularity caveats, partial history handling, and guidance on avoiding re-derivation. An output schema exists, so return values need not be exhaustively spelled out, yet the description still provides a rich overview.

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 the baseline is 3. The description adds a small amount of semantic value by clarifying when stats_only is useful ('when the daily series is unnecessary'), but most parameter meaning is already fully documented in the schema. No significant gap to compensate.

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 a specific verb+resource ('Get historical price data for crypto tokens') and details the exact outputs (period statistics, daily price series, high_30d, std_30d, dca_baseline_90d). It distinguishes from siblings like get_token_price and web_search by focusing on historical time windows and time-comparative analysis.

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?

Explicit use cases are given ('Use for period comparisons (month-over-month, YTD), trend analysis, and price charts'), with a direct alternative ('Prefer over web_search for time-comparative financial queries') and a conditional optimization ('Pass stats_only=true when the daily series is unnecessary'). This is textbook usage 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.

TDQS

A3.9/5.0
Disambiguation4/5

Most tools target distinct blockchain/DeFi resources and actions. A few pairs like get_lending_rates vs get_yield_rates and get_defi_positions vs get_liquidation_risk have overlapping boundaries, but detailed descriptions and explicit redundancy notes (e.g., get_eth_balance vs get_wallet_portfolio) reduce confusion.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern (e.g., get_block, convert_currency, decode_transaction). The only minor deviations are noun-first names like http_fetch and web_search, but the style is uniform and predictable.

Tool Count2/5

At 27 tools, the server exceeds the 25-tool threshold for 'too many' and feels heavy. While the breadth of DeFi and crypto features justifies some size, the number is unwieldy for an agent to scan efficiently and could be consolidated (e.g., merging balance-related tools).

Completeness4/5

The tool surface covers a wide range of blockchain data: balances, prices, TVL, yields, DEX quotes, gas, block/transaction details, approvals, and DeFi positions. Gaps include lack of wallet transaction history and NFT support, but these are beyond the server's clear focus on read-only DeFi analytics.

Resources