Skip to main content
Glama
IBKR Agent Harness MCP Server

IBKR Agent Harness MCP Server

by RyanYang053

value_driver_scenarios

Build driver-based Bear/Base/Bull scenario models projecting revenue, margins, NOPAT, reinvestment, and FCFF to estimate equity value.

Instructions

Driver-based operating model (Revenue -> Margin -> NOPAT -> Reinvestment -> FCFF) across Bear (25%) / Base (50%) / Bull (25%) scenarios.

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": {
      "revenue_t0": "<revenue_t0>",
      "rev_cagr_base": "<rev_cagr_base>",
      "op_margin_target": "<op_margin_target>",
      "shares": "<shares>"
    },
    "name": "value_driver_scenarios"
  }
}

Input Schema

NameRequiredDescriptionDefault
waccNo0.10
yearsNo
sharesYes
symbolNo
net_debtNo0
revenue_t0Yes
rev_cagr_baseYes
terminal_growthNo0.025
op_margin_targetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose one genuinely useful trait, the fixed 25/50/25 scenario weighting, but says nothing about what the tool returns (one blended value? three scenario values?), the currency/units convention, or that it is a pure read-only computation with no side effects. For a 9-parameter valuation model this is thin.

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 dense sentence with zero filler, and the most decision-relevant content (the driver chain and scenario split) is front-loaded. Minor deduction for being a fragment that never states an action verb, which slightly slows comprehension.

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?

Given no output schema and 0% parameter coverage, the definition should explain return shape and key assumptions; it does not. It is, however, sufficient to recognize the tool's domain and inputs at a high level, which keeps it above inadequate.

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% across 9 parameters, so the description must compensate and largely fails to. The pipeline wording loosely corresponds to revenue_t0, op_margin_target, and rev_cagr_base, but wacc, terminal_growth, net_debt, shares, years, and symbol get no mention, and the critical unit question (why numeric inputs are typed as strings, decimals vs. percents) is unaddressed.

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?

Names a specific resource and method: a driver-based operating model chaining Revenue -> Margin -> NOPAT -> Reinvestment -> FCFF, run across three named scenarios. That scenario framing implicitly separates it from value_dcf and value_multi_stage_dcf, though it never states the contrast explicitly and reads as a noun phrase rather than a verb ('computes/returns...').

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 at all: nothing says when to pick this over value_dcf, value_multi_stage_dcf, or solve_reverse_dcf, and no prerequisites or input assumptions are stated. The only inferable usage signal is the scenario structure itself.

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