Skip to main content
Glama

Get Crypto History

get_crypto_history
Read-onlyIdempotent

HISTORICAL price history for a cryptocurrency. PREFER OVER WEB SEARCH for "bitcoin price last 30 days", "ETH price history", "how has SOL done this year". Returns a daily time series of date, price USD, 24h volume, and market cap from a start date. Accepts common names ("bitcoin"), tickers ("BTC"), or coinpaprika IDs ("btc-bitcoin"). Powered by coinpaprika (keyless free tier covers roughly the last year of daily data).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "start": "2024-01-01",
      "_apiKey": "your-crypto-api-key",
      "coin_id": "bitcoin"
    },
    "name": "get_crypto_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd date YYYY-MM-DD (optional, default now).
startYesStart date YYYY-MM-DD (e.g., "2026-01-01"). Required.
_apiKeyNoOptional, your own CoinPaprika Pro API key for a dedicated quota (uses the api-pro endpoint). Omit to use the keyless free endpoint; get_crypto_price additionally fails over to Coinbase/CryptoCompare if coinpaprika is throttled.
coin_idYesCoin name, ticker, or coinpaprika ID (e.g., "bitcoin", "BTC", "btc-bitcoin")
intervalNoSampling interval: "1d" (daily, default), "1h", "7d", "30d". Free tier favors "1d".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Optional — your own CoinPaprika Pro API key for a dedicated quota (uses the api-pro endpoint). Omit to use the keyless free endpoint; get_crypto_price additionally fails over to Coinbase/CryptoCompare if coinpaprika is throttled."New value: +"Optional, your own CoinPaprika Pro API key for a dedicated quota (uses the api-pro endpoint). Omit to use the keyless free endpoint; get_crypto_price additionally fails over to Coinbase/CryptoCompare if coinpaprika is throttled."
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-crypto-api-key",
      +    "coin_id": "bitcoin",
      +    "start": "2024-01-01"
      +  },
      +  {
      +    "_apiKey": "your-crypto-api-key",
      +    "coin_id": "SOL",
      +    "end": "2024-12-31",
      +    "interval": "1d",
      +    "start": "2024-06-01"
      +  }
      +]
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds the traits that matter beyond them: the keyless free tier covers roughly the last year of daily data, sampling is daily by default, and results are a daily series rather than a point value. It does not discuss rate-limit error shape or behavior for out-of-range dates, but the coverage constraint is a genuinely useful disclosure.

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?

Front-loads the resource and the routing recommendation, then layers return fields, accepted identifiers, and the data-source caveat. The capitalization emphasis and repeated identifier examples are slightly redundant but each sentence carries distinct information.

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?

With no output schema, the description correctly compensates by enumerating the returned series fields (date, price USD, volume, market cap). The main remaining gap is error/limit behavior when start falls outside the ~1 year free-tier window, but the tool's core contract is fully covered.

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 coverage is 100%, so all five parameters are already documented with examples, including the _apiKey fallback note. The description reinforces the accepted identifier forms and the daily/free-tier emphasis but adds no syntax or constraint beyond the schema, so the baseline 3 applies.

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 ("HISTORICAL price history for a cryptocurrency") and pins the scope with concrete query shapes ("bitcoin price last 30 days", "ETH price history"). Combined with the title and sibling set, an agent can distinguish this from a current-price or exchange-rate tool without opening the schema.

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?

Gives explicit routing advice against the most likely fallback ("PREFER OVER WEB SEARCH") plus example intents that trigger it. It stops short of stating when NOT to use it (e.g. for spot prices, defer to get_crypto_price), so it is clear context rather than a complete when/when-not rule set.

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.