Skip to main content
Glama

FeraTerra Sovereign CLOB & Quant Execution MCP

Get Trades & OHLCV Candles

arena_get_trades_and_candles
Read-onlyIdempotent

Fetch recent matched trade prints and OHLCV candlestick bars (1 tick = $0.01, 1 lot = 1e-4 base) for a single Arena market. Read-only; use this for historical price action and realized volume, whereas arena_get_orderbook inspects current resting L2/L3 bid/ask liquidity. Provide either symbol or market_id (mutually exclusive market selectors).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of recent trades and OHLCV candles to return (1..240, default 50).
symbolNoUnified or native market symbol (e.g. 'BTC/USD:USD' or 'BTC-USD-PERP'); mutually exclusive with market_id.
intervalNoOHLCV candle aggregation timeframe: 'tick' (per-match), '1s' (1-second bars), or '1m' (1-minute bars).1m
market_idNoNumeric Arena market identifier (>= 1); mutually exclusive with symbol.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered; the description's 'Read-only' line merely echoes that. What it does add beyond annotations is the unit convention ('1 tick = $0.01', '1 lot = 1e-4 base'), which matters for interpreting prices and volumes. It says nothing about ordering, pagination behavior past the limit, or data freshness, which would have raised this score.

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?

Two sentences, front-loaded with the core action, followed by the disambiguation and the selector constraint. Nothing is padded and every clause carries information.

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?

No output schema exists, so the description must characterize the return values, and it does name the two result types (trade prints and OHLCV bars) plus their unit conventions. It stops short of describing ordering, timestamp semantics, or behavior when limit exceeds available data — minor but real gaps for a market-data tool.

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 all four parameters are already documented, including the symbol/market_id mutual exclusivity, which the description repeats rather than extends. The unit notes help interpret tick-interval output but are not parameter syntax. Baseline 3 is appropriate when the schema does the heavy lifting.

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 and resource ('Fetch recent matched trade prints and OHLCV candlestick bars') scoped to 'a single Arena market', and explicitly separates itself from the sibling arena_get_orderbook. An agent can distinguish the two 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 an explicit when-to-use rule with the alternative named: this tool for historical price action and realized volume, arena_get_orderbook for current resting L2/L3 liquidity. It also states the market selector constraint, so the routing decision and the call setup are both covered.

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.