Skip to main content
Glama

Startup Valuation MCP Server

CAPM & Cost of Equity

valuation_capm
Read-onlyIdempotent

Estimate the cost of capital: standard CAPM, startup-adjusted CAPM with size and illiquidity premiums, portfolio beta from weighted asset betas, and WACC blending after-tax cost of equity and debt. Method selects the formula. Use to derive the discount rate that feeds valuation_time_value and DCF models; for cross-border rates add valuation_international. Parameters apply per method: capm needs risk_free_rate + beta + market_return; startup_capm adds size_premium and liquidity_premium; portfolio_beta needs weights + betas, which must be equal length; wacc needs equity_value + debt_value + cost_of_equity + cost_of_debt + tax_rate. Only method is required; all other parameters are method-dependent, so supply those the selected method names and omit the rest (defaults apply where defined). Rate and decimal inputs are fractions (0.10 = 10%); probability and weight lists are in [0,1] and sum to 1. Returns value, method, inputs, assumptions, chapter, formula_number and calculation steps; pure arithmetic — no I/O and no external calls — rounded to 2 decimals, with no auth or rate limits. An unknown method, or a missing method-required parameter, returns an error instead of a value.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
betaNoSystematic risk beta (market = 1.0).
betasNoAsset betas aligned with weights.
methodYesFormula to apply. Options: capm = E(R) = Rf + β·(E(Rm) - Rf).; startup_capm = r = Rf + β·MRP + size premium + illiquidity premium.; portfolio_beta = βp = Σ wᵢ·βᵢ.; wacc = WACC = (E/V)·Re + (D/V)·Rd·(1 − T).
weightsNoPortfolio or factor weights, each in [0,1] and summing to 1 (same order as the paired value list).
tax_rateNoEffective tax rate as a decimal.
debt_valueNoMarket value of debt, in currency units.
cost_of_debtNoPre-tax cost of debt Rd as a decimal.
equity_valueNoValue of equity offered, currency units.
size_premiumNoSmall-cap / size premium as a decimal.
market_returnNoExpected market return as a decimal (e.g. 0.10 for 10%).
cost_of_equityNoAfter-tax cost of equity Re as a decimal.
risk_free_rateNoRisk-free rate as a decimal (e.g. 0.04 for 4%).
liquidity_premiumNoIlliquidity premium as a decimal.
market_risk_premiumNoMarket risk premium as a decimal (e.g. 0.06).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoError message when the call fails.
stepsNoIntermediate steps for traceability.
valueYesComputed valuation or metric.
inputsNoEcho of the normalised inputs used.
methodNoFormula / method name that produced the result.
chapterNoSource textbook chapter.
assumptionsNoModelling assumptions applied.
formula_numberNoSource textbook formula number (e.g. '3.1').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/closed-world, and the description adds real context beyond them: pure arithmetic with no I/O or external calls, results rounded to 2 decimals, no auth or rate limits, and explicit failure behavior (unknown method or missing required param returns an error rather than a value). It also states the decimal/fraction convention and that lists must be in [0,1] and sum to 1.

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?

Front-loaded with purpose and routing before the dense per-method parameter rules, and every clause carries information. It is somewhat long and packs several distinct ideas into single sentences, which slightly reduces scannability, but nothing is redundant.

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?

For a 14-parameter, method-dispatching tool this is complete: it covers method selection, per-method inputs, unit conventions, error behavior, and the downstream hand-off, and an output schema exists so return-value detail (value, method, inputs, assumptions, formula_number, steps) need not be elaborated further.

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 100%, so the baseline is 3, but the description goes further by mapping methods to their required parameter sets (capm → risk_free_rate+beta+market_return; startup_capm adds the premiums; portfolio_beta needs equal-length weights+betas; wacc needs equity/debt/cost/tax), which the schema does not express. It clarifies cross-parameter constraints (equal length, sum to 1) that a per-field schema cannot convey.

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?

States a specific verb+resource ("Estimate the cost of capital") and enumerates the four supported formulas (standard CAPM, startup-adjusted CAPM, portfolio beta, WACC), so the agent knows exactly what computation is performed. It also names the sibling tools it feeds (valuation_time_value, valuation_international), which separates it from the other valuation_* tools.

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

Usage Guidelines5/5

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

Explicitly says when to use it ("derive the discount rate that feeds valuation_time_value and DCF models") and when to supplement it ("for cross-border rates add valuation_international"). It also gives per-method usage rules — which parameter set each method requires and that only method is mandatory — leaving little to inference.

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.