Skip to main content
Glama
IBKR Agent Harness MCP Server

IBKR Agent Harness MCP Server

by RyanYang053

audit_sec_filing_delta

Run forensic SEC 10-K/20-F XBRL checks for accrual and dilution quality, then diff consecutive Risk Factor paragraphs with boilerplate stripped and modal escalation detection.

Instructions

Forensic SEC 10-K/20-F XBRL accrual/dilution quality checks + consecutive Risk Factor paragraph diff (~95% boilerplate stripped, modal escalation detection).

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

Input Schema

NameRequiredDescriptionDefault
symbolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and only partially meets it: it discloses the ~95% boilerplate stripping and modal escalation detection, which is useful. It says nothing about whether the tool fetches filings itself from SEC, what happens when fewer than two filings exist for the diff, latency or rate limits, or whether the output is text, structured scores, or both.

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?

It is a single front-loaded sentence with no padding, which is good, but the density of unexplained terminology ('modal escalation detection', 'dilution quality') makes it cryptic rather than concise. Sparing a few words to define those terms would earn the length back.

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?

This is a complex analytical tool with no annotations, no output schema, and 0% parameter documentation, so the description must do all the work — and it leaves undefined what is returned, how the comparison baseline is chosen, and what input format is required. Substantial gaps remain for the tool's complexity.

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 coverage is 0% and the single parameter is documented only as a bare 'Symbol' string. The description never references it, so it is unclear whether a ticker, a CIK, or an exchange-qualified identifier is expected — a real risk of a failed call.

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 does convey the domain (SEC 10-K/20-F XBRL accrual and dilution quality checks, plus a Risk Factor paragraph diff between consecutive filings), which separates it from plain retrieval siblings like get_filings. However, it is written as a compressed noun-phrase bundle of jargon ('forensic', 'modal escalation detection') rather than a clear statement of what the tool returns, leaving the agent to guess the actual deliverable.

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 prerequisites, and no mention of alternatives such as get_filings or get_pit_financial_facts for raw data. The agent must infer that this is a post-retrieval analytical layer rather than a filing fetcher.

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