Skip to main content
Glama
IBKR MCP Server

IBKR MCP Server

place_order

Submit market, limit, or stop trading orders to Interactive Brokers; defaults to a pending-approval preview and requires confirm=True to transmit.

Instructions

Place a trading order (market, limit, or stop).

Approval-required by default: without confirm=True (and unless IBKR_MCP_AUTONOMOUS_EXECUTION=true), this stages the order and returns a PENDING_APPROVAL preview instead of transmitting it. Re-call with confirm=True to actually submit it to IBKR.

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>"
    },
    "name": "place_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
symbolYes
confirmNo
exchangeNoSMART
quantityYes
sec_typeNoSTK
order_typeNoMKT
stop_priceNo
limit_priceNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does so well for the highest-risk behavior: it discloses that the default path only stages the order, returns a PENDING_APPROVAL preview, and that transmission requires confirm=True or the IBKR_MCP_AUTONOMOUS_EXECUTION environment flag. It does not cover permission/account requirements, failure modes, or whether a staged order expires.

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?

Front-loaded with purpose, then the critical non-obvious behavior. Three short sentences, no filler, and the default-versus-confirm distinction is stated before the remedy.

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?

An output schema exists, so return values need no explanation, and the approval-flow behavior is well covered. For a 9-parameter, zero-annotation, zero-schema-coverage order mutation, however, the missing parameter semantics and conditional price requirements leave real gaps an agent must guess at.

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 9 parameters, and the description explains only two of them (confirm, and order_type via the market/limit/stop list). Nothing clarifies action values (buy/sell), symbol format, sec_type, exchange, or that stop_price is required for stop orders and limit_price for limit orders, which is the most likely invocation error.

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?

A specific verb plus resource ("Place a trading order") with the supported variants (market, limit, stop) named inline. That implicitly separates it from the specialized siblings (place_bracket_order, place_twap_order, place_trailing_stop), but no sibling is named explicitly, so an agent must infer the boundary.

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?

Strong guidance on the approval workflow: it states exactly when the call stages versus submits, and what to do next (re-call with confirm=True). It gives no guidance on when to choose this plain order tool over place_bracket_order, place_trailing_stop, or the algo variants, which is the main selection ambiguity among nine sibling placement tools.

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