Skip to main content
Glama

FeraTerra Sovereign CLOB & Quant Execution MCP

Get L2/L3 Orderbook

arena_get_orderbook
Read-onlyIdempotent

Fetch a live L2/L3 resting orderbook snapshot (bids, asks, mark price, and WAL sequence) for one Arena market. Read-only; use this to inspect multi-level resting liquidity before sizing orders, whereas arena_list_markets scans top-of-book BBOs across all markets and arena_get_trades_and_candles retrieves historical executions. 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_orderbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoMaximum number of resting price levels to return per book side (1..200, default 20).
symbolNoUnified or native market symbol (e.g. 'BTC/USD:USD', 'BTC/USD', or 'BTC-USD-PERP'); mutually exclusive with market_id.
market_idNoNumeric Arena market identifier (>= 1); mutually exclusive with symbol.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context by saying the snapshot is live, names the returned fields, and indicates the selector constraints, though it does not discuss rate limits, pagination, or freshness guarantees.

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?

The description is front-loaded with the core fetch operation, then usage guidance and selector rules. Every sentence adds information, and there is no redundant or filler wording.

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

Completeness5/5

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

For a read-only market data tool with no output schema, the description explains the returned orderbook contents and the selector requirement. Annotations cover the safety profile and the input schema covers parameter details, leaving no material gap for correct invocation.

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 description coverage is 100%, so the depth, symbol, and market_id parameters are already documented. The description adds a meaningful constraint by saying to provide either symbol or market_id, which clarifies the one-of selector behavior even though the individual schema fields also mention mutual exclusivity.

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?

The description uses a specific verb, resource, and scope: fetching a live L2/L3 resting orderbook snapshot for one Arena market, including bids, asks, mark price, and WAL sequence. It explicitly distinguishes this tool from arena_list_markets and arena_get_trades_and_candles, so the agent can identify the right tool without opening sibling schemas.

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?

It states when to use the tool: inspecting multi-level resting liquidity before sizing orders. It also names concrete alternatives and their roles, with arena_list_markets for top-of-book BBOs across all markets and arena_get_trades_and_candles for historical executions.

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.