Skip to main content
Glama

get_history

PAID $0.02 (x402, USDC on Base or Solana). Historical gap time series for one trade.xyz stock perp (up to 90 days; interval 30m/1h/4h/1d): perp vs stock and xStock gaps, basis, funding, OI, plus Aster and Lighter marks and cross-venue gaps.

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": {
      "ticker": "<ticker>"
    },
    "name": "get_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO end (UTC), default now
fromNoISO start (UTC), default 7 days ago
tickerYesOne ticker, e.g. NVDA
intervalNoDefault 1h

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ticker / description
      Previous value: -"One ticker, e.g. TSLA"New value: +"One ticker, e.g. NVDA"
  2. Added

TDQS

A3.9/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 delivers the most consequential trait up front: it is a paid call ($0.02 via x402, USDC on Base or Solana), which changes agent behavior materially. It also discloses the 90-day history cap. It does not cover error/failure behavior, retry semantics, or rate limits, keeping it short of a 5.

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?

Two tight sentences with the cost — the most decision-relevant fact — front-loaded, and every clause carries information. The second sentence is a dense colon-list run-on of jargon ('Aster and Lighter marks and cross-venue gaps') that is informative but slightly harder to scan than a bulleted enumeration.

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 4-parameter read with no annotations and no output schema, the description covers what the tool returns (gap/basis/funding/OI/venue marks), the historical depth limit, and the payment requirement. Remaining gaps are shape-of-response details and error/payment-failure handling, which are moderate rather than blocking.

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%, so ticker, from/to, and interval are already documented with defaults and format. The description only adds the domain constraint that the ticker must be a trade.xyz stock perp and restates the interval enum and 90-day ceiling — helpful framing but no new per-parameter semantics.

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?

States a specific verb+resource: 'Historical gap time series for one trade.xyz stock perp', and enumerates the exact metrics returned (perp vs stock/xStock gaps, basis, funding, OI, venue marks). The word 'Historical' plus the single-ticker scope implicitly separates it from snapshot/aggregate siblings like get_gaps and get_gap_sample.

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 context is implied rather than stated: 'Historical ... up to 90 days' and 'one trade.xyz stock perp' tell the agent its scope, but there is no explicit when-to-use/when-not guidance and no sibling is named as an alternative (e.g., when to prefer get_gaps or get_funding).

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