Skip to main content
Glama
Arena Exchange MCP Server

Arena Exchange MCP Server

Official
by FeraTerra

arena_cancel_orders

Cancels a specific resting order by order_id or batch-cancels matching orders by market, side, client tag, or market bitmask. Use it to clear unwanted open orders.

Instructions

Cancel a specific resting order by order_id or batch-cancel orders by market, side, client_tag_filter, or market_bitmask.

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

Input Schema

NameRequiredDescriptionDefault
sideNo
symbolNo
order_idNo
market_idNo
account_idNo
cancel_allNo
market_bitmaskNo
use_binary_wireNo
client_tag_filterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.9.2

TDQS

B3/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 behavioral burden for a destructive mutation. It discloses only that orders are 'resting' (so presumably open orders rather than conditional/historical ones). It says nothing about irreversibility, required permissions or account scope, partial-failure behavior in a batch cancel, whether cancelling everything is possible, or what happens when an order_id does not match.

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?

A single front-loaded sentence that separates the two operating modes with a clear 'or'. No filler, no restatement of the name.

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

Completeness2/5

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

For a 9-parameter, zero-annotation, destructive mutation with no output schema, this is far too thin. The agent cannot determine required authorization or account context, whether cancel_all is the true 'cancel everything' switch, what a response contains, or how to handle partial batch failures.

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

Parameters2/5

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

Schema description coverage is 0% on 9 parameters, so the description must compensate and only covers 5 of them (order_id, market, side, client_tag_filter, market_bitmask). The significant cancel_all boolean, plus symbol, account_id, and use_binary_wire, are never mentioned, and the description does not clarify the relationship between 'market' and market_bitmask or which selector wins when several are set.

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 (cancel) and resource (resting orders) and clearly splits two modes: single cancellation by order_id versus batch cancellation by market/side/client_tag_filter/market_bitmask. It does not name any sibling tool (e.g., arena_modify_order or arena_replace_two_sided_quote) as a distinct alternative, so disambiguation is left to the agent.

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?

The 'by order_id or batch-cancel by ...' phrasing implies the two usage paths, which is real guidance. However, it never states when to prefer single versus batch, whether the selectors are combinable or mutually exclusive, or what happens if multiple selectors are supplied at once. No exclusions or prerequisites (ownership, authentication, open-order state) are given.

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