Skip to main content
Glama
IBKR Agent Harness MCP Server

IBKR Agent Harness MCP Server

by RyanYang053

get_macro

Fetch the cached FRED observation for a specified macro series to support macro indicator analysis without live API calls.

Instructions

Read the latest cached FRED observation.

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_macro"
  }
}

Input Schema

NameRequiredDescriptionDefault
seriesNoDGS3MO

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, the description carries the full burden, and it does disclose one genuinely important trait: results are 'cached' and limited to the 'latest' observation, warning the agent that data may be stale and that history is unavailable. It says nothing about staleness windows, failure modes for invalid series, or what an observation contains, which leaves substantial gaps for a zero-annotation tool.

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?

A single front-loaded sentence with no padding, and the key qualifiers ('latest', 'cached') appear immediately. It is efficient rather than verbose, though its brevity edges toward under-specification on the parameter side.

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?

The tool is simple (one optional parameter, no nested objects, no output schema), so the bar is low. Still, the description never explains what a returned 'observation' consists of or how to specify a series, which is the main thing an agent needs beyond the flag that data is cached.

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%, so the description must explain the single 'series' parameter, and it does not. There is no mention that the value is a FRED series identifier, no example format beyond the schema default of DGS3MO, and no indication of what happens if an unknown series is supplied.

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 concrete verb ('Read') with a concrete resource ('latest cached FRED observation'), making the tool's job immediately recognizable without opening the schema. It does not explicitly name or contrast a sibling, but the macro-data domain is distinct enough from quoted/priced siblings like get_quote and get_fx that confusion is unlikely.

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 statement of when to reach for this tool instead of alternatives, nor any precondition for use. A reader is left to infer that it is appropriate when a single most-recent macroeconomic datapoint is wanted, and nothing tells them when it is the wrong choice.

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