Skip to main content
Glama
code-rabi

Interactive Brokers MCP Server

by code-rabi

create_alert

Create trading alerts with custom conditions like price thresholds to monitor market movements and receive notifications when conditions are met.

Instructions

Create a new trading alert. Usage: { "accountId": "<id>", "alertRequest": { "alertName": "Price Alert", "conditions": [{ "conidex": "265598", "type": "price", "operator": ">", "triggerMethod": "last", "value": "150" }] } }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIdYes
alertRequestYes
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It only says 'Create a new trading alert' with an example, but does not mention side effects (e.g., duplicate handling, permissions, or any irreversible changes). The description is minimal.

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?

The description is one short sentence with an illustrative code block. It is front-loaded and concise, though the example is lengthy. It could be slightly more structured, but it is effective.

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?

No output schema is present, and the description does not mention return values, error conditions, or behavior with optional fields. Given the nested object complexity, more context is needed for complete understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, so the description must compensate. The usage example partially explains parameters (e.g., accountId, alertRequest with conditions), but many fields in the schema (e.g., alertMessage, expireTime) are not described. The example provides a concrete pattern but lacks full semantics.

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?

The description clearly states the tool's purpose: 'Create a new trading alert.' The usage example provides concrete context, making the action unmistakable. However, it does not differentiate from sibling tools like activate_alert or delete_alert, though those are distinct actions.

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

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus alternatives (e.g., modify_alert or activate_alert). There is no mention of prerequisites, constraints, or when not to use it. A user must infer from context alone.

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

Install Server

Other Tools

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/code-rabi/interactive-brokers-mcp'

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