Skip to main content
Glama

x402_timeseries_get_v1_history_batch

Retrieve historical crypto market quotes for up to 20 symbols in one batch call, so you can compare past snapshots across multiple exchanges and instruments.

Instructions

timeseries — Historical crypto market snapshots — every 12h we record ~6000 quotes for ~2000 USD-quoted instruments across mexc, gateio, bybit, okx, kraken into permanent D1 storage. Data accumulates and cannot be recreated retroactively. GET /v1/quotes (latest snapshot), /v1/quote/{symbol}, /v1/history/{symbol}, /v1/history/batch (20 symbols), /v1/snapshots (timestamps). POST /v1/collect $0.10 triggers an out-of-band snapshot. [GET /v1/history/batch] $0.001-0.10 USDC on eip155:8453+137+42161+480. Example: GET /v1/history/batch?symbols=BTC,ETH,SOL — $0.02

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": "x402_timeseries_get_v1_history_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the endpoint is paid ($0.001-0.10 USDC on specific eip155 chains), that data is captured every 12h across five exchanges into permanent D1 storage, and that history cannot be recreated retroactively. It omits retry/idempotency behavior (the `restart`/`operationId` semantics live only in the schema) and any rate limits.

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 text is front-loaded with service-wide context (storage cadence, exchange coverage, unrelated endpoints like POST /v1/collect) before naming the specific endpoint in brackets, so the tool's own purpose arrives late. The content is dense and mostly earns its place, but a single-tool definition spending half its length on sibling endpoints is diluted.

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 paid, no-annotations tool with no output schema, the payment model, cadence, and coverage are covered well, but nothing describes the shape of what comes back for a batch call (per-symbol arrays? snapshot timestamps?) or the error/partial-failure behavior. An agent knows what it costs and what data exists, but not what the response looks like.

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 the baseline is 3, and the schema's query object is an open bag whose individual keys are not enumerated. The description partially compensates by showing `symbols=BTC,ETH,SOL` and capping the batch at 20 symbols, which is genuinely useful, but it says nothing about the `restart` or `operationId` parameters or any other query filters.

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 bracketed `[GET /v1/history/batch]` plus the example `?symbols=BTC,ETH,SOL` makes clear this fetches historical quotes for a batch of symbols, and the endpoint list distinguishes it from `/v1/history/{symbol}` (single) and `/v1/quotes` (latest). It never states the operation in a plain verb+resource sentence, so the agent must assemble the purpose from the endpoint path and example.

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?

The enumeration of the API's endpoints implies the division of labor (batch vs single-symbol vs latest snapshot), and the '20 symbols' cap hints at when batch is appropriate. However, there is no explicit 'use this when you need many symbols at once; use history_symbol for one' guidance, no note on time-range selection, and no stated exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools