Skip to main content
Glama
Arena Exchange MCP Server

Arena Exchange MCP Server

Official
by FeraTerra

arena_replace_two_sided_quote

Atomically replaces both resting bid and ask quotes on a market via HTTP POST /quote or a 64-byte TCP TwoSidedQuoteReplace message, keeping both sides updated in one operation.

Instructions

Atomically replace both resting Bid and Ask quotes on a market via HTTP POST /quote or 64-byte TCP TwoSidedQuoteReplace.

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

Input Schema

NameRequiredDescriptionDefault
stpNocancel_resting
tifNogtc
symbolNo
market_idNo
account_idNo
client_tagNo
oco_linkedNo
margin_spotNo
ask_qty_lotsNo
bid_qty_lotsNo
ask_price_usdNo
bid_price_usdNo
ladder_by_tagNo
quote_peg_modeNo
ask_amount_baseNo
ask_price_ticksNo
auto_flip_ticksNo
auto_skew_ticksNo
bid_amount_baseNo
bid_price_ticksNo
post_only_slideNo
use_binary_wireNo
jit_elastic_multNo
peg_offset_ticksNo
max_lifetime_wal_seqsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.9.2

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It adds useful detail that the replacement is atomic and can be sent via HTTP POST /quote or a 64-byte TCP TwoSidedQuoteReplace message, but it does not explain mutation semantics, failure behavior, permission requirements, or what happens to existing quotes beyond replacement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of filler, which is good. However, for a 25-parameter mutation tool it is under-sized to the point that concision becomes a structural weakness rather than a strength.

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

Completeness1/5

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

The definition is not complete enough for a complex 25-parameter write operation with no annotations and no output schema. It gives only the atomic replacement intent and transport mechanism while omitting parameter guidance, side-specific behavior, and failure semantics that an agent would need to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 25 parameters with 0% description coverage, and the description explains none of them. Critical fields such as stp, tif, quote_peg_mode, bid_price_ticks, ask_price_ticks, auto_skew_ticks, oco_linked, and margin_spot are left entirely for the agent to infer from names alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: atomically replace both resting Bid and Ask quotes on a market. The scope (two-sided resting quotes) helps distinguish it from a generic order-placement or single-order modification tool, though it does not name or route to any sibling alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when this tool should be used instead of arena_place_order, arena_modify_order, or other order tools. It also omits prerequisites such as authentication, whether the market must already have resting quotes, and what happens if only one side should change.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.