Skip to main content
Glama

getTickersById

Read-onlyIdempotent

Get the current price, market cap, 24h change and volume of one cryptocurrency in USD or another quote currency. Use for 'what is the price of X', 'how much is Bitcoin worth', 'BTC to USD', 'ETH price now'. For past prices use getTickersHistoricalById. Read-only; coinId is a canonical id (resolve a bare symbol with resolveId first), quotes sets the quote currency (default USD). No API key required.

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": {
      "coinId": "<coinId>",
      "rationale": "<rationale>"
    },
    "name": "getTickersById"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinIdYesCanonical CoinPaprika coin slug in 'symbol-name' format, e.g. 'btc-bitcoin', 'eth-ethereum', 'ada-cardano'. Do NOT pass ticker symbols ('BTC', 'AAVE') or guess the slug; it is not derivable from the symbol (e.g. AAVE resolves to 'aave-new', which you could not guess). Call search or resolveId first to resolve a symbol or name to its canonical id.
quotesNo
rationaleYesREQUIRED. In 1-2 sentences explain WHY you are calling this tool and what you intend to do with the result. Examples: 'User asked for BTC price; calling getTickersById to fetch current USD value.' 'Building a portfolio dashboard; need OHLCV for ETH last 7 days.' This is logged and reviewed to improve the MCP. Do not include user PII or secrets; use generic descriptions.

Output Schema

NameRequiredDescriptionDefault
idNo
nameNo
rankNo
quotesNoKeyed by quote currency code (e.g. 'USD', 'BTC').
symbolNo
beta_valueNo
max_supplyNo
last_updatedNo
total_supplyNoMay be 0 as a sentinel for tokens with no supply cap. Cross-reference with CoinPaprika docs for sentinel semantics.
first_data_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedOutput schema / properties / first_data_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / id / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / last_updated / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / name / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / quotes / additionalProperties
      Removed value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "ath_date": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "ath_price": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "market_cap": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "market_cap_change_24h": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "percent_change_12h": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "percent_change_15m": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "percent_change_1h": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "percent_change_1y": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "percent_change_24h": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "percent_change_30d": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "percent_change_30m": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "percent_change_6h": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "percent_change_7d": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "percent_from_price_ath": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "price": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "volume_24h": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "volume_24h_change_24h": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / properties / quotes / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": true,
      +          "properties": {
      +            "ath_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ath_price": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "market_cap": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "market_cap_change_24h": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "percent_change_12h": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "percent_change_15m": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "percent_change_1h": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "percent_change_1y": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "percent_change_24h": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "percent_change_30d": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "percent_change_30m": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "percent_change_6h": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "percent_change_7d": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "percent_from_price_ath": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "price": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "volume_24h": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "volume_24h_change_24h": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / quotes / type
      Removed value: -"object"
    • changedOutput schema / properties / rank / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / symbol / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changed
    • removedOutput schema / properties / circulating_supply
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
  3. Changed3 schema fields changed
    • changedInput schema / properties / coinId / description
      Previous value: -"Canonical CoinPaprika coin slug in 'symbol-name' format, e.g. 'btc-bitcoin', 'eth-ethereum', 'ada-cardano'. Do NOT pass ticker symbols ('BTC', 'AAVE') or guess the slug — it is not derivable from the symbol (e.g. AAVE resolves to 'aave-new', which you could not guess). Call search or resolveId first to resolve a symbol or name to its canonical id."New value: +"Canonical CoinPaprika coin slug in 'symbol-name' format, e.g. 'btc-bitcoin', 'eth-ethereum', 'ada-cardano'. Do NOT pass ticker symbols ('BTC', 'AAVE') or guess the slug; it is not derivable from the symbol (e.g. AAVE resolves to 'aave-new', which you could not guess). Call search or resolveId first to resolve a symbol or name to its canonical id."
    • changedInput schema / properties / rationale / description
      Previous value: -"REQUIRED. In 1-2 sentences explain WHY you are calling this tool and what you intend to do with the result. Examples: 'User asked for BTC price; calling getTickersById to fetch current USD value.' 'Building a portfolio dashboard; need OHLCV for ETH last 7 days.' This is logged and reviewed to improve the MCP. Do not include user PII or secrets — use generic descriptions."New value: +"REQUIRED. In 1-2 sentences explain WHY you are calling this tool and what you intend to do with the result. Examples: 'User asked for BTC price; calling getTickersById to fetch current USD value.' 'Building a portfolio dashboard; need OHLCV for ETH last 7 days.' This is logged and reviewed to improve the MCP. Do not include user PII or secrets; use generic descriptions."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "beta_value": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "circulating_supply": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "first_data_at": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "last_updated": {
      +      "type": "string"
      +    },
      +    "max_supply": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "quotes": {
      +      "additionalProperties": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "ath_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "ath_price": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "market_cap": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "market_cap_change_24h": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "percent_change_12h": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "percent_change_15m": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "percent_change_1h": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "percent_change_1y": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "percent_change_24h": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "percent_change_30d": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "percent_change_30m": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "percent_change_6h": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "percent_change_7d": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "percent_from_price_ath": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "price": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "volume_24h": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "volume_24h_change_24h": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "description": "Keyed by quote currency code (e.g. 'USD', 'BTC').",
      +      "type": "object"
      +    },
      +    "rank": {
      +      "type": "number"
      +    },
      +    "symbol": {
      +      "type": "string"
      +    },
      +    "total_supply": {
      +      "description": "May be 0 as a sentinel for tokens with no supply cap. Cross-reference with CoinPaprika docs for sentinel semantics.",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered; the description adds non-obvious operational facts: no API key required, canonical-id requirement, and that quotes defaults to USD. It stops short of saying anything about rate limits or freshness/latency of the 'current' price, which matters for a price tool.

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 capability and payoff before routing guidance, and every sentence carries instruction or routing value. The example-utterance list is slightly padded and 'Read-only' restates the annotations, but nothing is genuinely wasted.

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-shape explanation is correctly omitted, and the description covers the caller-side essentials: id resolution, quote currency, and the historical alternative. The only gap is that valid quote-currency values are not enumerated anywhere (the parameter has no enum or description in the schema).

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 67% and the description compensates for the undocumented 'quotes' parameter by explaining it sets the quote currency with a USD default. It also reinforces the coinId semantics ('canonical id, resolve a bare symbol with resolveId first'), which the schema already covers well, so it adds meaning without much redundancy beyond that.

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 plus exactly which fields it returns (price, market cap, 24h change, volume) and in which currency. It also names the sibling to use for past prices (getTickersHistoricalById), so an agent can distinguish it from getTickers and getCoinById without opening any 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?

Gives explicit when-to-use phrasing tied to user utterances ('what is the price of X', 'BTC to USD') and an explicit exclusion routing to getTickersHistoricalById for historical values. It also names the prerequisite path (resolveId first) for bare symbols.

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