Skip to main content
Glama

orders_cancel_all

Cancel every open order at once through Interactive Brokers' global cancel, enabling rapid risk reduction when market conditions change. Use with extreme caution.

Instructions

Cancel ALL open orders via global cancel. Use with extreme caution.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the blast radius ('ALL open orders') and that the operation is dangerous, but says nothing about irreversibility, whether it spans all accounts or symbols, whether partially filled orders are affected, or what the response contains.

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 short sentences, front-loaded with the action and scope, with the warning placed after the operative statement. No wasted wording.

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

Completeness3/5

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

For a zero-parameter, destructive, unannotated tool, the definition should spell out scope and irreversibility since no structured field does. It conveys danger but leaves the agent guessing about account scope, cancellation semantics, and what happens to already-filling orders.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate beyond confirming the operation is unfiltered and global. Baseline 4 applies.

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?

States a specific verb and resource ('Cancel ALL open orders') and names the mechanism ('global cancel'), which distinguishes it from the sibling singular 'order_cancel' by emphasizing bulk scope. It stops short of explicitly contrasting with that sibling, but the 'ALL' qualifier does the differentiation work.

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?

'Use with extreme caution' signals risk but gives no positive condition for when to call it versus the per-order cancel sibling, nor any prerequisite (e.g. flattening before shutdown, confirming no working strategies). Usage is implied rather than specified.

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

Deploy Server

Other Tools