Skip to main content
Glama

EdgarStack

Build a branded Excel financial model

build_financial_model
Read-onlyIdempotent

Generate an auditable, formula-driven Excel skeleton model (five annual periods) for a US-listed company, with source-linked historicals and editable assumptions; the analyst owns forecasts and valuation: metric-specific SEC accession notes, Source Data, Standardized Data, editable assumptions, average-equity ROE, a historical working-capital view, a Segments tab (revenue and profit by business segment and revenue by region from the 10-K XBRL segment tables, with mix, growth, segment margins and a tie-out to reported revenue; omitted for companies that tag no segments), and Base/Upside/Downside forecasts with year-specific margin, tax, and share-count assumptions. When available, forecast working capital from DSO/DIO/DPO. The workbook includes a placeholder DCF with illustrative CAPM/WACC inputs, terminal-value sensitivity, a Dashboard, formula-driven Model Checks, and Audit Flags. Missing data displays as n/a; a generation-time formula scan is included. DCF assumptions are not market-verified. A Scenario Values tab is an editable placeholder (Bear/Base/Bull market-multiple scenarios, DCF blend); its WACC and Base multiple are neutral defaults, not investment-ready outputs. Annual periods only (quarterly company facts have a structural Q4 gap). Ask whether the user wants the optional Valuation tab before setting includeValuation: it pulls a Tiingo price snapshot, which needs the user's own Tiingo key (X-Tiingo-Key header, see /docs#prices); without one the tab's price cells stay empty with a note.

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": {
      "ticker": "<ticker>"
    },
    "name": "build_financial_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of most recent annual periods to include
tickerYes
includeSegmentsNoAdd the Segments tab (business segment and regional breakdowns)
includeValuationNoAdd a Market Multiples tab (P/E, P/S, P/B, EV/Revenue, EV/EBITDA) from a price snapshot; needs the user's own Tiingo key (X-Tiingo-Key header)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / includeValuation / description
      Previous value: -"Add a Market Multiples tab (P/E, P/S, P/B, EV/Revenue, EV/EBITDA) from a delayed price snapshot"New value: +"Add a Market Multiples tab (P/E, P/S, P/B, EV/Revenue, EV/EBITDA) from a price snapshot; needs the user's own Tiingo key (X-Tiingo-Key header)"
  2. Changed1 schema field changed
    • changedInput schema / properties / includeValuation / description
      Previous value: -"Add a Valuation tab (P/E, P/S, P/B, EV/Revenue, EV/EBITDA) from a delayed price snapshot"New value: +"Add a Market Multiples tab (P/E, P/S, P/B, EV/Revenue, EV/EBITDA) from a delayed price snapshot"
  3. Changed1 schema field changed
    • changedInput schema / properties / includeValuation / description
      Previous value: -"Add a Valuation tab (P/E, P/S, P/B, EV/Revenue, EV/EBITDA) from a live price snapshot"New value: +"Add a Valuation tab (P/E, P/S, P/B, EV/Revenue, EV/EBITDA) from a delayed price snapshot"
  4. First observed

TDQS

A4/5.0
Behavior5/5

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

Far beyond the annotations (readOnlyHint/openWorldHint/idempotentHint), the description discloses failure modes and caveats: missing data renders as n/a, Segments is omitted for companies that tag no segments, the Scenario Values tab is an editable placeholder with neutral defaults, 'DCF assumptions are not market-verified,' and the Tiingo key requirement with the exact degraded behavior when the key is absent. These are the operational facts an agent needs before invoking.

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?

The content is dense and mostly earns its place, but it is delivered as one run-on sentence stitched with semicolons followed by scattered caveats, so key constraints (annual-only, Tiingo key, placeholder defaults) are buried mid-paragraph. It is over-long and weakly front-loaded even though little of it is pure filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly takes on the burden of describing the returned workbook tab by tab, plus data-gap behavior, forecast-ownership boundaries, and an explicit disclaimer that DCF/Scenario assumptions are not investment-ready. Nothing material is left for the agent to guess before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%, so the schema already defines all four parameters, but the description adds real meaning: it spells out what includeSegments actually produces (mix, growth, segment margins, tie-out to reported revenue) and the external dependency behind includeValuation (Tiingo snapshot, X-Tiingo-Key, empty price cells without a key). It adds less for limit, only implying 'five annual periods' without reconciling that to the schema's 2–10 range.

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 opening clause names a specific verb and artifact: 'Generate an auditable, formula-driven Excel skeleton model (five annual periods) for a US-listed company,' and enumerates the tabs it produces. An agent knows exactly what it gets. It stops short of naming a sibling (e.g., build_report_pack vs. build_research_report), so the differentiation from adjacent builders is left implicit.

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?

There is conditional guidance, but it is about options rather than tool selection: 'Ask whether the user wants the optional Valuation tab before setting includeValuation.' It also states scope limits ('Annual periods only') that implicitly tell the agent when not to use it. Nothing says when to pick this over build_report_pack or get_financials.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources