Skip to main content
Glama

calculate dcf valuation

calculate_dcf_valuation
Read-onlyIdempotent

Discounted cash flow (DCF) enterprise and equity valuation: 3-10 year FCFF forecast with growth fading to the terminal rate, Gordon terminal value, optional mid-year convention, WACC given directly or built with CAPM, plus a WACC × terminal growth sensitivity table. Ratios are decimals (0.1 = 10%). Same engine as tools.oiyo.net.

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": {
      "revenue0": "<revenue0>",
      "growth": "<growth>",
      "ebitMargin": "<ebitMargin>",
      "terminalGrowth": "<terminalGrowth>",
      "shares": "<shares>"
    },
    "name": "calculate_dcf_valuation"
  }
}

Input Schema

NameRequiredDescriptionDefault
betaNoLevered beta for CAPM
waccNoWACC; omit to build it from the CAPM inputs
yearsNoForecast years, default 5
growthYesYear-1 revenue growth (e.g. 0.1)
sharesYesShares outstanding
daRatioNoDepreciation and amortization ÷ revenue
midYearNoUse the mid-year discounting convention
netDebtNoNet debt (debt − cash); negative for net cash
taxRateNoEffective tax rate incl. local tax, default 0.22
nwcRatioNoNet working capital increase ÷ revenue increase
revenue0YesLast fiscal year revenue
riskFreeNoRisk-free rate for CAPM
capexRatioNoCapital expenditure ÷ revenue
debtWeightNoDebt weight D/(D+E)
ebitMarginYesEBIT margin
sizePremiumNoSize / private company premium, default 0
marketPremiumNoMarket risk premium
terminalGrowthYesPerpetual growth rate, below WACC
preTaxCostOfDebtNoPre-tax cost of debt

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

The annotations already declare read-only, idempotent, non-destructive, closed-world behavior. Beyond that, the description explains the model’s forecast horizon, growth fading to terminal rate, Gordon terminal value, optional mid-year convention, direct versus CAPM-built WACC, and a WACC × terminal growth sensitivity table.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core valuation behavior and remains dense and waste-free. The closing engine reference is minor and does not undermine the efficient structure.

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

Completeness4/5

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

This is a complex 19-parameter valuation tool with no output schema, and the description covers the methodology and sensitivity output well. It does not spell out the exact returned valuation fields, but it provides enough context for correct invocation.

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 description coverage is 100%, so the baseline is 3. The description adds useful global semantics, especially that ratios are decimals, the 3–10 year forecast range, and that WACC can be supplied directly or built from CAPM inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific method and output: discounted cash flow enterprise and equity valuation, including FCFF forecast, terminal value, WACC, and sensitivity table. This clearly distinguishes it from generic financial calculators and makes the tool’s purpose unambiguous.

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 description does not explicitly state when to use this tool versus alternatives, nor does it name any when-not conditions or prerequisites. Usage is implied by the valuation purpose and DCF-specific method details, which is adequate but not strong guidance.

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.