Skip to main content
Glama

x420_crypto_ohlc

Read-onlyIdempotent

Crypto OHLC history: Open/high/low/close candles for one CoinGecko id over 1, 7, 14, 30, 90, 180 or 365 days (granularity set by the window), with range summary (change, high, low). Up to 400 candles. Source: CoinGecko. 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: granularity, range{from, to, open, close, change_pct, high, low}, candles[]{time, open, high, low, close}.

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": {
      "id": "<id>"
    },
    "name": "x420_crypto_ohlc"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCoinGecko id such as bitcoin
daysNo1, 7, 14, 30, 90, 180 or 365 (default 7)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description goes well beyond them: it discloses the $0.002 USDC x402 charge on Base, states plainly that this hosted variant validates input but does not return the deliverable, and gives the exact 402/PAYMENT-SIGNATURE retry protocol plus the local-server alternative. It also documents the 400-candle ceiling and the granularity-by-window rule.

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

Conciseness3/5

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

The purpose is front-loaded and the payment mechanics earn their space, but the 'Not professional, legal, insurance, engineering, medical, financial or tax advice' sentence is boilerplate that adds nothing to tool selection, and the payment paragraph is dense enough to bury the deliverable shape at the end.

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?

There is no output schema, but the description compensates by sketching the paid deliverable JSON (granularity, range{from,to,open,close,change_pct,high,low}, candles[]{time,open,high,low,close}). Combined with the payment prerequisites and the two-parameter input, an agent has everything needed to call it and interpret the result.

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 coverage is 100%, so both parameters are already documented, including the accepted day values and the default. The description adds marginal meaning beyond the schema — that granularity is determined by the chosen window and that output is capped at 400 candles — but does not explain the id format or what happens for unsupported windows.

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 opens with a specific verb+resource: 'Open/high/low/close candles for one CoinGecko id' over enumerated windows, plus a range summary and a 400-candle cap. That is far more precise than the sibling names alone would convey, though it never explicitly contrasts itself with x420_crypto_price or x420_crypto_market-brief, so an agent must infer the boundary from the resource type.

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 ('Crypto OHLC history' for a given id and window), and the payment workflow is spelled out step by step. However, there is no explicit when-to-use statement against alternatives and no when-not-to-use guidance, so selection among the crypto 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.

Resources