Skip to main content
Glama
IBKR Agent Harness MCP Server

IBKR Agent Harness MCP Server

by RyanYang053

get_quote

Retrieve a cached quote for a specified symbol and report its freshness status—live, delayed, or unavailable—so you can gauge data reliability before use.

Instructions

Read one cached quote with explicit freshness (live, delayed, or unavailable).

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": "get_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose two meaningful traits: results are cached and freshness is reported as live, delayed, or unavailable. It stops short of saying what an "unavailable" outcome looks like at the wire level (error versus empty/stale payload) or whether the call can block, which matters for a market-data read.

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?

A single sentence with no filler; the resource and the freshness qualifier are front-loaded before any caveat. Nothing in it is redundant.

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?

For a market-data read with no annotations and no output schema, the definition should say more about the shape of the result and the identifier contract. As written, an agent knows what the tool reads but not how to form the symbol or what it receives when freshness is "unavailable".

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% for the single required parameter, symbol, so the schema supplies a name and type but no meaning. The description never explains the expected identifier format (bare ticker, exchange-qualified, vendor-specific), so it fails to compensate for the coverage gap.

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 names a specific verb ("Read") and resource ("one cached quote"), and the parenthetical defines the possible freshness states. It implicitly separates itself from the plural sibling get_quotes by saying "one", though it never names that sibling, so sibling differentiation is left to inference.

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 explicit when-to-use or when-not-to-use guidance, and no mention of get_quotes as the alternative for batched retrieval. The only usage signal is the word "one", which implies single-symbol lookups but does not state the condition that should route an agent here versus elsewhere.

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