Skip to main content
Glama

Startup Valuation MCP Server

Probability & Expected Value

valuation_probability
Read-onlyIdempotent

Compute expected value and probability-weighted outcomes for startup scenarios: discrete E[X], joint probability of sequential events, probability-weighted value, VC portfolio expected return, Poisson event probability, and continuous E[X] over a range. Method selects the formula. Use for probability-weighted central estimates; for named bull/base/bear tables or option pricing use valuation_advanced, and to discount cash flows use valuation_time_value. Parameters apply per method: expected_value_discrete and probability_weighted need outcomes + probabilities; portfolio_return needs weights + returns; poisson needs mean_events + k; expected_value_continuous needs lower + upper. outcomes and probabilities must be equal length, and the probabilities should sum to 1. Routing: use valuation_advanced method 'scenario_analysis' for named bull/base/bear scenario tables, and its black_scholes/binomial methods for option pricing; use this tool for arbitrary outcome lists and probability-weighted central estimates. 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 — at full float precision, so a value can be fed into another method without rounding loss; round only for display. No auth and no rate limits. An unknown method, or a missing method-required parameter, returns an error instead of a value.

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": {
      "method": "<method>"
    },
    "name": "valuation_probability"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNoNumber of events k for the Poisson probability P(X=k); integer ≥ 0.
lowerNoLower integration bound (standard-normal domain, e.g. -1.0).
upperNoUpper integration bound (standard-normal domain, e.g. 1.0).
methodYesFormula to apply. Options: expected_value_discrete = E[X] = Σ xᵢ·P(X=xᵢ) over a discrete outcome list.; joint_probability = P(total) = Π pᵢ for independent sequential events.; probability_weighted = E[V] = Σ pᵢ·Vᵢ.; portfolio_return = E[R] = Σ wᵢ·Rᵢ across a VC portfolio.; poisson = P(X=k) = e^-λ λ^k / k! for rare events.; expected_value_continuous = E[X] = ∫ x·f(x) dx over [lower, upper] on the standard normal.
returnsNoReturn of each asset or scenario as a decimal (0.20 = 20%), aligned with weights.
weightsNoPortfolio or factor weights, each in [0,1] and summing to 1 (same order as the paired value list).
outcomesNoPossible outcome values x_i, in any currency unit (must match probabilities in length/order).
mean_eventsNoPoisson mean λ = expected number of events in the interval.
probabilitiesNoProbability of each outcome or stage, each in [0,1]; the list must sum to 1 where it is exhaustive.

Output 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').
defaults_appliedNoOptional parameters that were not supplied, so their documented defaults were used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive and closed-world, so the bar is lower; the description still adds real context: pure arithmetic with no I/O or external calls, full float precision so results can chain into other methods, round-only-for-display guidance, no auth or rate limits, and explicit error behavior for unknown or incomplete methods. It stops short of richer detail such as which methods are computationally expensive or numerical edge cases.

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-loads purpose and method list, then parameters, then routing, then behavioral notes — a sensible order with almost no filler. Minor redundancy: routing to valuation_advanced is stated once inline and again in a dedicated 'Routing:' sentence.

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 9-parameter, enum-driven calculator with an output schema, the description covers selection, per-method parameter requirements, input units, defaults behavior, precision semantics, and failure modes. Return fields are noted but needn't be expanded since an output schema exists.

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?

With 100% schema coverage the baseline is 3, and the description earns more by mapping parameters to methods (outcomes+probabilities for discrete/probability_weighted, weights+returns for portfolio_return, mean_events+k for poisson, lower+upper for continuous) plus cross-parameter constraints like equal-length lists and summing to 1. It omits the parameter needs for joint_probability, so the mapping is not fully complete.

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?

Names a specific verb (compute) and enumerates the six concrete formulas it covers (discrete E[X], joint probability, probability-weighted value, portfolio return, Poisson, continuous E[X]), then explicitly distinguishes itself from valuation_advanced and valuation_time_value. An agent can identify the tool's scope without opening the schema.

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?

Gives explicit when-to-use and when-not-to-use routing: named bull/base/bear tables and option pricing go to valuation_advanced (specific methods named), discounting goes to valuation_time_value, and arbitrary outcome lists / probability-weighted central estimates stay here. Nothing is left 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.