Skip to main content
Glama
IBKR MCP Server

IBKR MCP Server

create_custom_scanner

Build custom market scanners using specific criteria to identify stocks or instruments that match your trading filters.

Instructions

Create custom scanner with specific criteria.

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": {
      "criteria": "<criteria>"
    },
    "name": "create_custom_scanner"
  }
}

Input Schema

NameRequiredDescriptionDefault
criteriaYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It implies a create/mutation operation, but gives no information about permissions, persistence, side effects, or how the scanner behaves once created.

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

Conciseness3/5

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

The sentence is short and front-loaded with the action, with no filler. However, its extreme terseness omits information needed to use the tool correctly, so it is concise but under-informative.

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?

The tool has a complex free-form input and no annotations, yet the description does not explain the criteria object or the scanner's behavior. An output schema exists, so return values need not be described, but the input and operational context remain inadequate.

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

Parameters1/5

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

The single parameter, criteria, is a free-form nested object with 0% schema description coverage. The description adds no meaning about expected keys, formats, or examples, leaving the agent unable to determine what "specific criteria" should contain.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description has a clear verb ("Create") and resource ("custom scanner"), but it never explains what the scanner scans or what kind of scanner is being created. "With specific criteria" merely restates the required parameter rather than clarifying the tool's purpose, and there is no sibling differentiation.

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?

The description gives no guidance on when to use this tool versus alternatives, nor any prerequisites or context for creating a custom scanner. It does not say whether the scanner is persistent, temporary, or tied to market monitoring.

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