Skip to main content
Glama

AgentData — crypto market data with a checkable record

get_historical

Historical OHLCV candles for a trading pair ($0.010 USDC). Parameters: symbol (default BTCUSDT), interval 1m to 1d, limit up to 500. Use for backtests or charts. Not for derived signals (get_signal_history_7d).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
symbolNoBTCUSDT
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.
intervalNo1d

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / payment
      Added value: +{
      +  "description": "Optional. 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.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true, idempotentHint=false, destructiveHint=false, so safety is largely covered. The description adds genuinely useful context the annotations lack: the $0.010 USDC cost per call. However, it never states that the call requires an x402 payment handshake and will fail or return payment requirements without one — that critical behavioral fact lives only in the schema's 'payment' property, so the description undersells the tool's biggest operational trait.

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?

Three dense sentences, front-loaded with what the tool returns and its price, followed by parameters and disambiguation. No filler or hedging.

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?

No output schema exists, yet the description never characterizes the returned candle shape (fields, timestamp units, ordering, gap behavior). It also leaves the payment requirement implicit despite the tool being metered. Adequate for a simple multi-param fetch, but with 4 params at 25% coverage it should carry more.

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 only 25% (only 'payment' is documented), so the description must compensate and largely does: it names symbol (default BTCUSDT), interval range 1m to 1d, and limit cap of 500. It repeats defaults and maximums already encoded in the schema, and it omits the payment parameter entirely, but the candles-specific framing (symbol/pair, interval granularity) adds meaning beyond the raw schema.

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 verb+resource pair ('Historical OHLCV candles for a trading pair') with the cost, and explicitly excludes the sibling get_signal_history_7d. An agent can distinguish this from get_technical_indicators or get_signal_history_30d 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 Guidelines5/5

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

Gives positive guidance ('Use for backtests or charts') and a negative exclusion with the alternative named ('Not for derived signals (get_signal_history_7d)'). Both when-to-use and when-not are stated outright.

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.