Skip to main content
Glama

Agent Data Hub

Historical crypto token prices

crypto_price_history
Read-onlyIdempotent

Historical USD prices for one token: hourly, 4-hourly, daily or weekly points for the last 1-365 days (max 500 points). Token by symbol (btc, eth, sol…), coingecko: or :. Returns the price series plus summary: first, last, change %, high, low and annualised volatility. DefiLlama aggregated prices. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.

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": "crypto_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLook-back in days 1-365 (default 30)
tokenYesOne token: symbol (eth), coingecko:<id>, or <chain>:<contract>
periodNoPoint spacing: 1h, 4h, 1d (default), 1w

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description still adds real value beyond them: the $0.002/call price with 10 free calls per day, the DefiLlama data source, the 500-point cap, and the summary statistics returned. It omits error behavior for invalid tokens or over-limit requests.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences that front-load the resource and scope, then formats, then return shape, then cost. The pricing sentence is the least essential but still earns its place given per-call billing.

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?

No output schema exists, and the description compensates well by enumerating the returned summary fields. Remaining gaps are minor: what happens when the requested point count exceeds 500, and error handling for unresolvable token identifiers.

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 coverage is 100%, so the baseline would be 3. The description adds a cross-parameter constraint not expressible in the schema (max 500 points depending on period x days) and restates the three accepted token identifier forms compactly. That goes modestly beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (historical USD prices for one token) and scopes it with granularity options and look-back window. It does not explicitly distinguish itself from likely siblings such as crypto_price or crypto_candles, so the agent must infer the difference from the name alone.

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?

Implicitly conveys when to use it via 'historical ... last 1-365 days' and the period options, which distinguish it from a spot-price tool. However, there is no explicit statement of when to prefer it over crypto_price or crypto_candles, and no stated exclusions.

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