Skip to main content
Glama

symbol_to_conid_mapping

Resolve a ticker symbol to its Interactive Brokers contract ID (conId) for accurate contract lookup; results are cached to reduce repeated requests.

Instructions

Resolve a symbol to its conId. Results are cached.

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

Input Schema

NameRequiredDescriptionDefault
symbolYesSymbol
secTypeNoSecurity type (default: STK)
exchangeNoExchange (default: SMART)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add one genuine behavioral fact — results are cached — which tells the agent repeated calls are cheap, but it says nothing about read-only semantics, ambiguity handling for symbols matching multiple contracts, or failure behavior.

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?

Two short sentences, front-loaded with the core verb-resource statement and no wasted wording. The caching note follows the purpose immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple three-parameter lookup with fully documented inputs and no output schema; the description tells the agent what comes back (a conId) and that the result is cached. What remains thin is error/ambiguity behavior, but the tool's low complexity makes that a minor gap.

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?

Schema description coverage is 100%, so the baseline is 3. The description contributes no additional meaning about secType, exchange, or accepted symbol formats beyond what the schema already documents.

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?

"Resolve a symbol to its conId" names a specific verb and a specific input/output resource, so the operation is unmistakable. It does not differentiate itself from lookup-adjacent siblings such as contract_search or contract_details, which is the only thing keeping it from a 5.

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?

There is no when-to-use guidance, no statement of when not to use it, and no pointer to alternative lookup tools. The agent must infer that this is the cheap identifier-resolution step done before calling contract_details or similar.

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

Deploy Server

Other Tools