Skip to main content
Glama

crypto_price

crypto_price
Read-only

Current price of up to 25 cryptocurrencies in one call, by ticker symbol (btc, eth, sol, usdc...) or CoinGecko id, in any fiat or crypto quote currency: price, 24h change, market cap, 24h volume and last update. Covers the top coins and the Base and Solana ecosystem tokens by symbol; any other coin by its id. Price: $0.002 USDC per call (x402).

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": {
      "coins": "<coins>"
    },
    "name": "crypto_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinsYesComma-separated symbols or CoinGecko ids, up to 25
currencyNoQuote currency code, e.g. usd, eur, mxn, btc (default usd)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

readOnlyHint already establishes safety, and the description adds material context the annotation cannot: per-call cost of $0.002 USDC via x402 and the exact payload fields (price, 24h change, market cap, 24h volume, last update). It stops short of stating failure behavior for unresolvable symbols or any rate limits.

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?

Two tight sentences that front-load the core capability, then the identifier rules, return fields, and price. It is dense but every clause carries information; the only slight drag is the parenthetical symbol list, which overlaps with the schema.

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 only two parameters, no output schema, and read-only annotations, the description covers the return fields, cost, and identifier conventions. The remaining gap is error/edge behavior for invalid symbols or oversized batches, which an agent would need before relying on it in a paid pipeline.

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 is 3, but the description earns more by explaining which identifiers actually resolve as symbols versus requiring a CoinGecko id, and by clarifying that any fiat or crypto code works as quote currency. That adds real meaning beyond the schema's 'Comma-separated symbols or CoinGecko ids, up to 25' and 'Quote currency code'.

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 gives a specific verb and resource (current price of cryptocurrencies), the batch limit (up to 25 in one call), the accepted identifier forms (ticker or CoinGecko id), and the returned fields. An agent can immediately tell this is a batched spot-price lookup, distinct from fiat FX siblings like fx_latest.

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?

It gives an in-tool routing rule — use symbols for top/Base/Solana tokens, ids for anything else — which is genuinely useful selection guidance. It never states when to prefer this over alternatives such as fx_latest for fiat pairs, and it gives no exclusion conditions, so usage is only implied.

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.