Skip to main content
Glama
MrRolie

mm-ibkr-mcp

by MrRolie

Request Trade Approval

request_trade_approval

Request operator approval for a trade order via Telegram, returning an approval ID to use when placing the order.

Instructions

Send a trade approval request to the operator via Telegram. Returns an approval_id to poll with ibkr_check_approval_status. When MCP_ORDER_APPROVAL_MODE=telegram, this approval_id must be passed to ibkr_place_order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderYes
reasonYes
previewNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYesCurrent status: pending | approved | denied | expired | used.
expiresAtYesISO 8601 timestamp when the request expires.
approvalIdYesUnique approval identifier.
resolvedAtNoISO 8601 timestamp of resolution.
requestedAtYesISO 8601 timestamp when the request was created.
resolveNoteNoWho approved or denied.
approvalTypeYes'trade', 'trade_intent', or 'live_trading'.
telegramMessageIdNoTelegram message ID if sent.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (openWorldHint=true, destructiveHint=false), the description discloses that this sends an external Telegram message to a human operator, returns an ID rather than executing the order, and has a mode-dependent handoff. It omits failure, timeout, or rejection behavior, but adds meaningful workflow context.

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?

Three sentences with no fluff: the action and channel, the returned approval_id and polling target, and the conditional handoff to place_order. Everything earns its place and the most important information is front-loaded.

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?

The schema and output schema carry much of the order-structure detail, so the description need not restate those. However, it leaves gaps around the required 'reason' parameter, the tool-name mismatch (ibkr_* vs sibling names), and when approval is unnecessary, which an agent would need for fully confident invocation.

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%, so the description must compensate, but it never explains 'order', 'reason', or 'preview' at the top level. The OrderSpec and OrderPreview $defs are rich, yet the agent is not told what 'reason' should contain or how 'preview' affects the approval request.

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?

Clearly identifies the action ('Send a trade approval request'), the channel ('via Telegram'), and the key return value (approval_id) that feeds into polling and order placement. It differentiates the approval step from check_approval_status and place_order by describing the workflow, though it references tool names with an 'ibkr_' prefix that do not exactly match the sibling list and does not distinguish from request_trade_intent_approval.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit conditional: when MCP_ORDER_APPROVAL_MODE=telegram, the returned approval_id must be passed to ibkr_place_order. This provides clear context for when this tool fits into the flow, but it does not mention alternatives or when approval is not needed.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MrRolie/mm-ibkr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server