Skip to main content
Glama

x402_timeseries_get_v1_spreads

Retrieve historical crypto spread snapshots across exchanges, filtered by minimum volume, to compare bid-ask spreads and identify liquidity gaps.

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/spreads] $0.001-0.10 USDC on eip155:8453+137+42161+480. Example: GET /v1/spreads?min_volume=500000 — $0.01

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_spreads"
  }
}

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

C2.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose genuinely useful behavior: pay-per-call pricing ($0.001–0.10 USDC), accepted chains (eip155:8453/137/42161/480), and that stored data is permanent and cannot be recreated retroactively. It says nothing about failure modes, rate limits, or whether the GET is idempotent/cached, which matters for a paid call with restart/operationId retry semantics.

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

Conciseness2/5

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

Nearly the entire description is a shared catalog of other endpoints and their prices; only the final bracketed sentence pertains to this tool. The relevant content is not front-loaded and the sibling enumeration does not earn its place here.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a parameterless GET with no output schema, the description should at minimum explain what a spread response looks like and its granularity (the 12h snapshot cadence is mentioned only for quotes generally). Pricing is covered, but return-shape information is absent and must be discovered by a paid call.

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 would be 3, but the schema's query object is a generic free-form bag with no named properties — the description's example "min_volume=500000" is the only clue anywhere to real query parameter naming. That is a meaningful addition beyond the structured fields, even if it documents only one parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The bracketed portion names a concrete resource and route ("[GET /v1/spreads]") and gives a priced example call, so an agent knows this is a spread-data endpoint in a crypto market-data family. However, the description never states what a spread result actually contains (bid/ask? cross-venue? percentage?) — the bulk of the text enumerates sibling endpoints (/v1/quotes, /v1/history/{symbol}, /v1/snapshots, /v1/collect) rather than describing this one.

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

Usage Guidelines2/5

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

The example "GET /v1/spreads?min_volume=500000 — $0.01" shows one way to call it but gives no when-to-use guidance versus /v1/quotes, /v1/movers or /v1/top_volume. The sibling endpoints are merely listed as a catalog; nothing maps this tool to a decision the agent would face.

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