Skip to main content
Glama
IBKR Agent Harness MCP Server

IBKR Agent Harness MCP Server

by RyanYang053

get_fx

Fetches the cached Bank of Canada daily exchange rate for a currency pair. Use it for reference FX rates in valuations, not for live spot quotes.

Instructions

Read the latest cached Bank of Canada daily rate. This is not a live spot quote.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_fx"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairNoFXUSDCAD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full disclosure burden. It usefully reveals the data source (Bank of Canada), the daily cadence, that results come from a cache, and that values are not live spot — genuinely valuable behavioral context. However, it says nothing about how stale the cache can be, what happens when no rate is cached, or the shape of the returned value.

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 with zero filler; the core capability and the most important caveat are both front-loaded. Nothing can be trimmed without losing signal.

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?

For a one-parameter read tool with no output schema, the description covers source, cadence, and the cached/non-live distinction adequately. The notable omission is any guidance on the "pair" argument, which is the only thing an agent must decide before calling.

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% and there is one parameter, "pair" (default FXUSDCAD), which the description never mentions. The agent gets no indication of which currency pairs are supported, accepted formats (e.g., FXUSDCAD vs USD/CAD), or how the default is applied. With the schema offering no help, this is a real 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 pairs a specific verb ("Read") with a precise resource ("latest cached Bank of Canada daily rate"), which is far more specific than the bare name get_fx. It also draws an implicit boundary against live-quote tools (get_quote/get_quotes) without naming them, so an agent can distinguish the intent, though it never explicitly names a sibling.

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?

"This is not a live spot quote" tells the agent exactly when to prefer a live-quote tool instead, and "latest cached" implies the tool is for reference/end-of-day rates rather than intraday pricing. It stops short of explicitly naming the alternative to use or stating freshness/staleness limits on the cache.

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