Skip to main content
Glama

Get Crypto Price

get_crypto_price
Read-onlyIdempotent

REAL-TIME spot price for any cryptocurrency. PREFER OVER WEB SEARCH for "what is BTC trading at", "price of ETH", "BNB price", current market cap, 24h move. Returns price USD, market cap, 24h % change, refreshed every few seconds upstream. Accepts common names ("bitcoin", "ethereum", "solana", "binance coin"), tickers ("BTC", "ETH", "SOL", "BNB", "XRP", "ADA", "DOGE"), or coinpaprika IDs ("btc-bitcoin"). Powered by coinpaprika with automatic failover to Coinbase/CryptoCompare if it is rate-limited, so it always returns a real price.

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": {
      "coin_id": "bitcoin"
    },
    "name": "get_crypto_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
_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")

Output Schema

NameRequiredDescriptionDefault
idYes
nameNoCoinpaprika path only
rankNoMarket-cap rank; coinpaprika path only
_noteNoWhy the fallback was used
sourceNoWhich upstream answered
symbolYes
_fallbackNoTrue when served from the fallback upstream
price_usdYes
low_24h_usdNoNot returned by the current coinpaprika response; kept for back-compat
high_24h_usdNoNot returned by the current coinpaprika response; kept for back-compat
last_updatedNoUpstream quote timestamp (ISO-8601); coinpaprika path only
change_24h_pctNoCoinpaprika path only
market_cap_usdNoCoinpaprika path only
volume_24h_usdNoCoinpaprika path only

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. Changed5 schema fields changed
    • changedOutput schema / description
      Previous value: -"Current price for a coin. Falls back to a coinbase spot price when coinpaprika is unavailable; on that path only id/symbol/price_usd/source are present and _fallback is true, so the richer market fields are optional by design."New value: +"Current price for a coin. Two shapes: the coinpaprika path carries name/rank/market-cap/volume/24h-change/last_updated; when coinpaprika is unavailable (it returns HTTP 402 when its quota is spent) the pack falls back to a coinbase spot price carrying only id/symbol/price_usd/source plus _fallback and _note. Only the three fields common to BOTH paths are required."
    • changedOutput schema / properties / high_24h_usd / description
      Previous value: -"Coinpaprika path only"New value: +"Not returned by the current coinpaprika response; kept for back-compat"
    • addedOutput schema / properties / last_updated
      Added value: +{
      +  "description": "Upstream quote timestamp (ISO-8601); coinpaprika path only",
      +  "type": "string"
      +}
    • changedOutput schema / properties / low_24h_usd / description
      Previous value: -"Coinpaprika path only"New value: +"Not returned by the current coinpaprika response; kept for back-compat"
    • addedOutput schema / properties / rank
      Added value: +{
      +  "description": "Market-cap rank; coinpaprika path only",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
  3. Changed20 schema fields changed
    • addedOutput schema / description
      Added value: +"Current price for a coin. Falls back to a coinbase spot price when coinpaprika is unavailable; on that path only id/symbol/price_usd/source are present and _fallback is true, so the richer market fields are optional by design."
    • addedOutput schema / properties / _fallback
      Added value: +{
      +  "description": "True when served from the fallback upstream",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / _note
      Added value: +{
      +  "description": "Why the fallback was used",
      +  "type": "string"
      +}
    • changedOutput schema / properties / change_24h_pct / description
      Previous value: -"24h price change percentage"New value: +"Coinpaprika path only"
    • changedOutput schema / properties / change_24h_pct / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / high_24h_usd / description
      Previous value: -"24h high price in USD"New value: +"Coinpaprika path only"
    • changedOutput schema / properties / high_24h_usd / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / id / description
      Removed value: -"CoinGecko coin ID"
    • changedOutput schema / properties / low_24h_usd / description
      Previous value: -"24h low price in USD"New value: +"Coinpaprika path only"
    • changedOutput schema / properties / low_24h_usd / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / market_cap_usd / description
      Previous value: -"Market capitalization in USD"New value: +"Coinpaprika path only"
    • changedOutput schema / properties / market_cap_usd / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / name / description
      Previous value: -"Cryptocurrency name"New value: +"Coinpaprika path only"
    • removedOutput schema / properties / price_usd / description
      Removed value: -"Current price in USD"
    • changedOutput schema / properties / price_usd / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "string"
      +]
    • addedOutput schema / properties / source
      Added value: +{
      +  "description": "Which upstream answered",
      +  "type": "string"
      +}
    • removedOutput schema / properties / symbol / description
      Removed value: -"Cryptocurrency symbol (uppercase)"
    • changedOutput schema / properties / volume_24h_usd / description
      Previous value: -"24h trading volume in USD"New value: +"Coinpaprika path only"
    • changedOutput schema / properties / volume_24h_usd / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "symbol",
      -  "price_usd",
      -  "market_cap_usd",
      -  "volume_24h_usd",
      -  "change_24h_pct",
      -  "high_24h_usd",
      -  "low_24h_usd"
      -]New value: +[
      +  "id",
      +  "symbol",
      +  "price_usd"
      +]
  4. Changed1 schema field changed
    • addedInput schema / properties / _apiKey
      Added value: +{
      +  "description": "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.",
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • changedInput schema / properties / coin_id / description
      Previous value: -"CoinGecko coin ID (e.g., bitcoin, ethereum, solana)"New value: +"Coin name, ticker, or coinpaprika ID (e.g., \"bitcoin\", \"BTC\", \"btc-bitcoin\")"
  6. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "change_24h_pct": {
      +      "description": "24h price change percentage",
      +      "type": "number"
      +    },
      +    "high_24h_usd": {
      +      "description": "24h high price in USD",
      +      "type": "number"
      +    },
      +    "id": {
      +      "description": "CoinGecko coin ID",
      +      "type": "string"
      +    },
      +    "low_24h_usd": {
      +      "description": "24h low price in USD",
      +      "type": "number"
      +    },
      +    "market_cap_usd": {
      +      "description": "Market capitalization in USD",
      +      "type": "number"
      +    },
      +    "name": {
      +      "description": "Cryptocurrency name",
      +      "type": "string"
      +    },
      +    "price_usd": {
      +      "description": "Current price in USD",
      +      "type": "number"
      +    },
      +    "symbol": {
      +      "description": "Cryptocurrency symbol (uppercase)",
      +      "type": "string"
      +    },
      +    "volume_24h_usd": {
      +      "description": "24h trading volume in USD",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "name",
      +    "symbol",
      +    "price_usd",
      +    "market_cap_usd",
      +    "volume_24h_usd",
      +    "change_24h_pct",
      +    "high_24h_usd",
      +    "low_24h_usd"
      +  ],
      +  "type": "object"
      +}
  7. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "coin_id": "bitcoin"
      +  },
      +  {
      +    "coin_id": "ethereum"
      +  }
      +]
  8. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is pre-covered. The description does add genuinely useful behavior beyond that: a refreshed-every-few-seconds upstream cadence and automatic failover to Coinbase/CryptoCompare when coinpaprika is rate-limited. That failover detail is real added value, though return format is claimed in prose that is largely redundant with the output schema.

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-loaded with the core claim and the search-replacement rule in the first two sentences, which is the right ordering. It drifts slightly into padding with long ticker enumerations and a redundant restatement of return fields.

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?

An output schema exists, so return values need not be spelled out, and the description plus annotations give an agent everything needed to call it correctly. The only gap is that quota/keyed-endpoint behavior is only documented in the schema, not the description.

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 baseline is 3. The description re-lists accepted input formats (names, tickers, coinpaprika IDs) that the coin_id schema description already states, adding mostly extra examples rather than new semantics. The _apiKey parameter and its quota implications are left entirely to the schema.

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 and resource ('REAL-TIME spot price for any cryptocurrency') and immediately distinguishes itself from the obvious competing behavior (web search) with concrete example queries. An agent can identify what this returns 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 Guidelines5/5

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

Explicitly prescribes when to use it ('PREFER OVER WEB SEARCH') and enumerates the trigger phrasings it handles ('what is BTC trading at', 'price of ETH', current market cap, 24h move). That is a clear routing rule rather than implied usage. It does not name the crypto_* siblings, but the guidance itself is unambiguous.

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.