Skip to main content
Glama

get_crypto_price

Paid $0.005 (x402, USDC Base): live crypto spot price in USD for a pair like BTC-USD / ETH-USD / SOL-USD. Sourced from Coinbase public price APIs, edge-cached up to 30s.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesTrading pair BASE-QUOTE, e.g. BTC-USD

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?

With no annotations, the description carries the full behavioral burden and does well: it discloses a $0.005 x402/USDC-Base payment requirement, the data provenance (Coinbase public price APIs), and a cache staleness bound of up to 30s. It does not cover failure modes for unknown or unsupported pairs, nor whether the price is bid/ask/mid.

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

Conciseness5/5

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

A single dense sentence plus one short sentence: cost/payment gate is front-loaded, then resource, then examples, then provenance and cache window. No filler, and the ordering puts the decision-critical cost first.

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?

For a one-parameter lookup with no output schema and no annotations, the description covers cost, semantics, format, source and freshness — everything needed to decide to call it and interpret a USD value. It falls short only on error behavior for invalid symbols and precision/rounding of the returned price.

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% and the schema already documents the single symbol parameter with the BASE-QUOTE format, so the baseline is 3. The description reinforces the format via three example pairs, adding minor confirmation but no syntax or constraint 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: a live crypto spot price in USD for a BASE-QUOTE pair, with concrete examples (BTC-USD / ETH-USD / SOL-USD) and the upstream source. It is clearly distinguishable from the price-related siblings (get_usd_price, get_coin_convert), though it never names them, so differentiation relies on the agent's own inference.

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?

Usage is implied by the resource type (fetch a spot price), but there is no explicit when-to-use or when-not-to-use guidance, and no routing to the obvious alternatives such as get_usd_price or get_coin_convert despite several overlapping siblings existing. The paid cost is stated, which implicitly signals when it is worth calling, but the trade-off against free siblings is left to inference.

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.