Skip to main content
Glama
IBKR MCP Server

IBKR MCP Server

place_vwap_order

Places a VWAP algorithmic order through Interactive Brokers, with approval required unless confirmed or autonomous execution is enabled.

Instructions

Place a VWAP (Volume-Weighted Average Price) algorithmic order.

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

Input Schema

NameRequiredDescriptionDefault
actionYes
symbolYes
confirmNo
end_timeNo
exchangeNoSMART
quantityYes
sec_typeNoSTK
start_timeNo
max_pct_volNo
no_take_liqNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discloses the most consequential behavior: orders are approval-gated by default and only transmit on a confirm=True re-call (or when the autonomous env var is set). That implies the first call is a non-transmitting preview, which is exactly what an agent needs to know for a live trading action. It stops short of stating whether an unconfirmed call expires, whether the order can be modified after transmission, or that real capital is committed.

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

Conciseness4/5

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

Two short sentences, front-loaded with the purpose, then the invocation rule. Nothing is padded or repeated. It is lean to the point of under-specification, but the wording itself is efficient.

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?

A 10-parameter, real-money order-placement tool with zero annotation and zero schema-description coverage needs substantially more than a purpose line and an approval rule. The output schema exists, so return values need not be described, but the agent is left guessing the semantics of nearly every input and of the algorithmic constraints (max_pct_vol, no_take_liq, time window) that define a VWAP order.

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 10 parameters, so the description must compensate and it largely does not. Only 'confirm' is explained; symbol, action, quantity, start_time, end_time, max_pct_vol, no_take_liq, sec_type, and exchange have no meaning added at all — for example, whether action takes 'BUY'/'SELL', what format the times use, or what max_pct_vol=0.1 actually constrains.

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 a VWAP (Volume-Weighted Average Price) algorithmic order,' and even expands the acronym. It implicitly distinguishes itself from the other place_*_order siblings by naming the algorithm, though it never says why an agent would pick VWAP over TWAP or arrival price.

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 description gives clear guidance on the two-step invocation flow (call, then re-call with confirm=True) and the environment-variable override. It gives no guidance on when a VWAP order is the right choice versus the eight sibling order-placement tools, so usage selection is only implied by the algorithm name.

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