Skip to main content
Glama

x420_crypto_price

Read-onlyIdempotent

Crypto spot price: Spot price and 24-hour change for up to 25 coins by CoinGecko id or common symbol (btc, eth, sol, usdc, ...), in USD or another major currency. Source: CoinGecko public API (keyless). Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.002 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: prices[{query, id, price, change_24h_pct, last_updated}], not_found[].

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": {
      "ids": "<ids>"
    },
    "name": "x420_crypto_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
vsNoquote currency: usd, eur, gbp, jpy, cad, aud or chf (default usd)
idsYescomma-separated CoinGecko ids or symbols, e.g. btc,eth,usd-coin

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare it is a safe, idempotent, open-world read. The description adds the critical behavior the annotations cannot convey: this hosted tool does NOT return the deliverable, it returns payment instructions (pay_to, network, price, x402 URL), at $0.002 USDC per call on Base, with the 402/PAYMENT-REQUIRED/PAYMENT-SIGNATURE retry flow. That is exactly the context an agent needs to avoid misinterpreting the response.

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 purpose, followed by delivery mechanics and the paid-deliverable shape, which is the right ordering. The legal/advice disclaimer sentence is boilerplate that consumes space without helping an agent invoke the tool, but the rest is dense and functional.

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

Completeness5/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 supplies the return shape (prices[{query, id, price, change_24h_pct, last_updated}] and not_found[]), the payment protocol sequence, cost, and network. Nothing material for correct invocation or response interpretation appears to be missing.

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 baseline is 3, but the description adds meaning the schema lacks: the 25-coin cap per call and that quotes are USD by default with other major currencies allowed. It is slightly looser than the schema's enumerated currency list, but the added limit is genuinely useful.

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?

Names a specific resource and verb: spot price plus 24-hour change for up to 25 coins by CoinGecko id or symbol in a chosen quote currency. Scope and identifier formats are concrete, but it never names the adjacent crypto siblings (x420_crypto_ohlc, x420_crypto_market-brief), so the boundary with historical/market-summary tools is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear context for what the call yields and an explicit alternative path: 'run the local x420-mcp server with your own wallet key to pay automatically' versus this hosted, non-paying variant. It stops short of stating when-not to use it (e.g. use ohlc for candles), but the hosted-vs-local routing decision is spelled out.

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