Skip to main content
Glama

Coin price lookup ($0.001)

lookup_coin
Read-only

PAID $0.001 USDC. Current BTC, ETH and ~155 major coin prices from Chainlink on-chain feeds: USD price, 1h/24h/7d/30d change and 24h high/low (no market cap or volume). Examples: q=btc, q=ethereum. Refreshed about every 30 min, answers in under 100 ms. Unknown coin returns an error with no charge. Returns JSON USD price, 1h, 24h, 7d, and 30d change, and 24h high and low for one major coin.

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": {
      "q": "<q>"
    },
    "name": "lookup_coin"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesCoin to price. Format: a symbol, coin id, or name. Example: btc. Another example already in the tool text: ethereum. Required.
api_keyNoOptional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment'].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • changedInput schema / properties / q / description
      Previous value: -"Symbol (btc), coin id (bitcoin) or name"New value: +"Coin to price. Format: a symbol, coin id, or name. Example: btc. Another example already in the tool text: ethereum. Required."
  2. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
    • changedInput schema / properties / q / description
      Previous value: -"Coin to price. Format: a symbol, coin id, or name. Example: btc. Another example already in the tool text: ethereum. Required."New value: +"Symbol (btc), coin id (bitcoin) or name"
  3. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • changedInput schema / properties / q / description
      Previous value: -"Symbol (btc), coin id (bitcoin) or name"New value: +"Coin to price. Format: a symbol, coin id, or name. Example: btc. Another example already in the tool text: ethereum. Required."
  4. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
    • changedInput schema / properties / q / description
      Previous value: -"Coin to price. Format: a symbol, coin id, or name. Example: btc. Another example already in the tool text: ethereum. Required."New value: +"Symbol (btc), coin id (bitcoin) or name"
  5. Changed2 schema fields changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • changedInput schema / properties / q / description
      Previous value: -"Symbol (btc), coin id (bitcoin) or name"New value: +"Coin to price. Format: a symbol, coin id, or name. Example: btc. Another example already in the tool text: ethereum. Required."
  6. Changed1 schema field changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
  7. Changed1 schema field changed
    • changedInput schema / properties / q / description
      Previous value: -"Symbol (btc), CoinGecko id (bitcoin) or name"New value: +"Symbol (btc), coin id (bitcoin) or name"
  8. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnly and openWorld=false; the description adds material behavior: a $0.001 USDC cost, ~30-minute refresh cadence, sub-100ms response, and that unknown coins return an error with no charge. It does not elaborate on the x402 unpaid-payment flow, but the schema parameter covers that.

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 payment cost and coin scope, which is the right ordering, but the closing sentence re-lists the return fields (USD price, 1h/24h/7d/30d change, 24h high/low) already enumerated earlier, so it is mildly redundant.

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 no output schema, the description does disclose the return fields, error behavior, cost and latency, which is nearly everything an agent needs. Only the payment-retry path is left implicit, and the schema parameter documents that.

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 both parameters are already documented; the description's q=btc / q=ethereum examples merely restate the schema's own examples and add no new format rules beyond the stated ~155-coin scope.

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 (current BTC, ETH and ~155 major coin prices from Chainlink on-chain feeds) plus the exact fields returned, and explicitly scopes out market cap and volume, which separates it from broader price/stock siblings.

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?

Implies the usage context (single major-coin spot price, refreshed ~30 min) but never says when to prefer it over siblings such as prices, price_moves or stock_price, nor when not to use it beyond the lack of market cap/volume.

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.