Skip to main content
Glama
IBKR MCP Server

IBKR MCP Server

place_algo_order

Places algorithmic orders through Interactive Brokers with chosen strategies and parameters; requires approval by default and transmits on confirmation.

Instructions

Place an algorithmic order using IBKR's algo strategies.

Approval-required by default; re-call with confirm=True to transmit, or set IBKR_MCP_AUTONOMOUS_EXECUTION=true to skip approval.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>",
      "action": "<action>",
      "quantity": "<quantity>",
      "algo_strategy": "<algo_strategy>",
      "algo_params": "<algo_params>"
    },
    "name": "place_algo_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
symbolYes
confirmNo
exchangeNoSMART
quantityYes
sec_typeNoSTK
algo_paramsYes
algo_strategyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

With zero annotations, the description carries the full behavioral burden. It does disclose the important two-phase approval gate, but says nothing about whether transmitted orders are irreversibly live (requiring cancel_order), whether algo_strategy is validated, or what happens on rejection — a serious gap for a live-trading mutation tool.

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 paragraphs, front-loaded with the action, then the safety gate. Nothing is padded, and the highest-risk information (approval requirement) is placed prominently rather than buried.

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?

An output schema exists so return values need not be described, and the approval flow is covered. But a live-order mutation with 8 parameters, a nested object, no annotations, and no enums calls for far more: valid strategy names, algo_params shape, and failure behavior are all absent.

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% across 8 parameters including a nested algo_params object, so the description must compensate and largely does not. Only 'confirm' is explained (by naming confirm=True); algo_strategy's valid values, algo_params' expected keys, and the meaning of sec_type/exchange/quantity are left entirely undocumented.

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: 'Place an algorithmic order using IBKR's algo strategies.' That distinguishes it broadly from sibling variants like place_twap_order or place_bracket_order, but the description never says how it relates to those named alternatives, leaving the agent to infer which entry point to pick.

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 definition gives a clear invocation protocol (call once for approval, re-call with confirm=True, or set an env var to bypass), which is procedural how-to guidance. It offers no when-to-use or when-not-to-use guidance relative to the many sibling order-placement tools, and no prerequisites such as account permissions or existing risk limits.

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