Skip to main content
Glama

AgentData — crypto market data with a checkable record

get_arbitrage_spread_history

Hourly cross-exchange spreads between MEXC, Binance, Bybit and OKX over 30 days ($0.015 USDC). Use to judge whether a current spread is unusual. Every venue publishes its own prices, but nobody else archives the spread between them.

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

Input Schema

NameRequiredDescriptionDefault
paymentNoOptional. Base64 x402 payment payload you signed yourself (ERC-3009 TransferWithAuthorization, USDC on Base). Call without it once to receive the payment requirements, sign those, then call again with this argument. This server forwards the payload and never holds a key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, openWorldHint=true and idempotentHint=false without explaining why a pure data lookup is non-read-only; the description partially compensates by disclosing the $0.015 USDC cost, which is genuine behavioral context absent from the annotations. It still omits any mention of the two-call payment handshake, latency, or result size — though the schema's payment parameter does cover the handshake.

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?

Three tight sentences, front-loaded with the scope before the usage cue. The closing line ("nobody else archives the spread between them") is mildly promotional but does convey a real differentiation point, so it mostly earns its place.

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?

There is no output schema, so the description carries the burden of sketching the return shape; "hourly... over 30 days" implies roughly 720 timestamped records but never says what a record contains or whether spreads are absolute or percentage. Cost and payment mechanics are covered, so the gap is confined to return-value expectations.

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 description coverage is 100% and the single payment parameter is explained in unusually thorough detail in the schema itself (x402, ERC-3009, call-then-sign-then-replay, no key held server-side). The description adds nothing about that parameter, so baseline 3 applies. The parenthetical "($0.015 USDC)" is helpful but could be misread as a spread unit rather than the tool price.

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?

"Hourly cross-exchange spreads between MEXC, Binance, Bybit and OKX over 30 days" names a concrete resource, its granularity, its source venues and its time window in one clause. That is enough for an agent to separate this archived-history tool from a live-opportunity sibling like get_arbitrage_opportunities without opening either schema.

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?

"Use to judge whether a current spread is unusual" gives a clear selection context: this is a baseline/historical reference, not a live scanner. It stops short of naming an explicit alternative or stating when not to use it, so it falls one step short of full routing guidance.

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.