Skip to main content
Glama
IBKR Agent Harness MCP Server

IBKR Agent Harness MCP Server

by RyanYang053

solve_reverse_dcf

Calculates the Stage-1 FCFF growth rate implied by a reference or cached market price using reverse DCF and bisection.

Instructions

Expectations Investing solver: bisection finds the exact Stage-1 FCFF growth rate implied by a reference or cached market price.

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": {
      "fcff_t0": "<fcff_t0>",
      "wacc": "<wacc>",
      "terminal_growth": "<terminal_growth>",
      "net_debt": "<net_debt>",
      "shares": "<shares>"
    },
    "name": "solve_reverse_dcf"
  }
}

Input Schema

NameRequiredDescriptionDefault
fadeNo
waccYes
yearsNo
sharesYes
symbolNo
fcff_t0Yes
net_debtYes
reference_priceNo
terminal_growthYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description must carry the full burden; it does disclose the algorithm (bisection) and that the solve is anchored to a market price. It does not say which inputs are held fixed during the solve, whether convergence can fail, how costly the computation is, or what the response contains. That is a real gap for an iterative numerical solver.

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?

One dense, front-loaded sentence: the method ('bisection'), the solved quantity, and the price anchor all appear immediately. Nothing is padded, though the single sentence carries more information load than its length can comfortably support.

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 9-param solver with 5 required inputs, zero annotation coverage, and no output schema, the description is too thin. An agent cannot tell what the solve holds constant, how fade/years interact with the solved growth rate, or what the return payload looks like.

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 does not. It only indirectly touches reference_price/symbol ('reference or cached market price'); fade, years, wacc, terminal_growth, net_debt, shares, and the string-typed numeric convention are unexplained.

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?

States a specific verb-action (bisection solves) and a precise output (the Stage-1 FCFF growth rate implied by market price), and the 'reverse'/'implied by price' framing distinguishes it from a forward DCF sibling. It never names value_dcf or value_multi_stage_dcf as the alternative, so differentiation is implied rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'reference or cached market price' hints that the price should come either from the reference_price input or a cached quote via symbol, which is useful context. However, there is no explicit when-to-use guidance versus value_dcf, no statement of prerequisites, and no exclusions or failure conditions.

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