Skip to main content
Glama

SiftingIO market data (x402)

Historical crypto OHLCV bars (gzip required)

get_crypto_bars
Read-only

Historical crypto prices: OHLCV candles for BTCUSD, ETHUSD and other crypto pairs, 1-minute to monthly intervals, up to 5,000 rows per call, paginated. Costs $0.01 USDC per call, paid with x402 on Base; failed calls are not charged.

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": {
      "symbol": "<symbol>",
      "start": "<start>"
    },
    "name": "get_crypto_bars"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoInclusive upper bound. Default now.
limitNo
startYesInclusive lower bound (YYYY-MM-DD or RFC3339). Required.
cursorNoOpaque pagination cursor from a previous response's `meta.next_cursor`.
symbolYesUSD-quoted crypto symbol, e.g. `BTCUSD`.
intervalNoBar interval. Default 1m. All `/v1/hist/*` routes accept the same set: intraday (1m–1h), plus `1d` (UTC calendar day), `1w` (Monday-aligned), and `1mo` (calendar month). Coarser bars are aggregated from 1-minute history; a `1d`/`1w`/`1mo` bar opens at midnight UTC of the period start.1m

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description's real contribution is the x402 payment model: $0.01 USDC per call on Base, with failed calls not charged, plus a 5,000-row-per-call ceiling and pagination. That is materially useful cost and volume context an agent cannot get from annotations. It loses a point for omitting the gzip-encoding requirement from the body text and saying nothing about error or rate-limit behavior.

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?

Two sentences, front-loaded with the resource and scope, then the commercial terms. No filler, no repetition of the title's naming, and the row-limit and pricing facts are stated where the agent will read them 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 read-only, six-parameter data tool with no output schema, the definition covers what matters: data shape (OHLCV), instrument universe, interval granularity, row ceiling, pagination and billing. The notable remaining gap is the gzip requirement, which appears only in the title and is the kind of thing that breaks a first 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?

At 83% schema description coverage the schema already documents symbol, start, end, limit, cursor and the interval enum in detail. The description only restates the 1-minute-to-monthly interval span and the 5,000-row pagination cap, adding no format or syntax guidance beyond what the schema provides.

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?

Names a specific resource and verb: OHLCV candles for crypto pairs, with interval range and a concrete symbol family (BTCUSD, ETHUSD). The word 'crypto' plus the row/interval scope lets an agent separate it from get_stock_bars, get_forex_bars and get_commodity_bars without opening the schema.

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 only implied: fetch historical crypto bars when you need past prices rather than a live quote. There is no explicit 'use this instead of get_last_close/get_snapshot when...' guidance, and no stated preconditions (e.g., the gzip requirement noted only in the title) or when-not to call.

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