Skip to main content
Glama

crypto_prices

Read-only

$0.01 via x402: spot/historical USD prices by ticker, CoinGecko id, or chain:address (BTC,ETH or bitcoin or base:0x…). Prefer ?coins=.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "crypto_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNooptional unix seconds
idsNolegacy e.g. bitcoin,ethereum
coinsNoe.g. BTC,ETH,SOL
x_paymentNosigned x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / x_payment / description
      Added value: +"signed x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms"
  2. Changed4 schema fields changed
    • addedInput schema / properties / at
      Added value: +{
      +  "description": "optional unix seconds",
      +  "type": "integer"
      +}
    • addedInput schema / properties / coins
      Added value: +{
      +  "description": "e.g. BTC,ETH,SOL",
      +  "type": "string"
      +}
    • changedInput schema / properties / ids / description
      Previous value: -"e.g. bitcoin,ethereum"New value: +"legacy e.g. bitcoin,ethereum"
    • removedInput schema / required
      Removed value: -[
      -  "ids"
      -]
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds the crucial behavioral fact that access costs $0.01 via x402, which is a paid, payment-gated operation. It does not describe response shape or rate limits, but the pricing disclosure is meaningful context beyond the annotations.

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?

It is a single compact sentence with the payment cost and identifier forms front-loaded and no wasted words. The notation is slightly cryptic ("?coins=" reads like a query-string fragment rather than a parameter name), which costs a point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter, zero-required, no-output-schema tool, it covers identifiers, historical timing via the at parameter, and the payment requirement. It omits what a returned price looks like and how the two-step payment flow resolves, leaving gaps for an agent assembling a call.

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 the schema already documents all four parameters including the x_payment header flow. The description adds only a preference hint ("Prefer ?coins=") and example identifier formats that largely duplicate the schema's own examples.

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?

The description states a specific verb and resource — spot/historical USD prices — and enumerates the accepted identifier forms (ticker, CoinGecko id, chain:address) with concrete examples. It does not explicitly contrast with sibling tools such as crypto_market_metrics, but the core operation is unambiguous.

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 a parameter preference ("Prefer ?coins=") and implies a payment-gated flow via "$0.01 via x402", but it never says when to use this tool over the crypto market/visibility siblings, nor when-not to use it. Usage is implied rather than stated.

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.