Skip to main content
Glama

Intangible Asset Valuation MCP Server

Uncertainty & Sensitivity

valuation_simulation
Read-onlyIdempotent

Uncertainty analysis: Monte Carlo valuation, Monte Carlo sensitivity ranking, decision-tree expected values, and one-at-a-time sensitivity analysis. Method selects the formula. Use to quantify and stress the uncertainty around a point valuation; monte_carlo simulates all listed inputs, monte_carlo_sensitivity ranks the drivers. For a single deterministic point value use the relevant valuation tool; sensitivity_analysis varies one parameter of a core function only. Per method: monte_carlo needs input_distributions + valuation_fn (optional: iterations, seed); monte_carlo_sensitivity needs base_params + distributions + valuation_fn (optional: iterations, seed); decision_tree needs tree; sensitivity_analysis needs function_name + parameter_name + parameter_range + fixed_parameters; monte_carlo_correlated needs valuation_fn + correlated_distributions + correlation_matrix (optional: iterations, seed); tornado needs function_name + base_params + parameter_ranges; scenario needs scenarios. monte_carlo_sensitivity requires iterations between 1000 and 100000. Only method is required; all other parameters are method-dependent — supply those the selected method names and omit the rest (defaults apply where defined). Rates and premiums are decimals (0.10 = 10%). Pure arithmetic: no I/O and no external calls; values carry the library's own precision (rates are decimals, so a royalty rate of 0.055 is not rounded); parameters belonging to other methods are accepted and ignored. 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_simulation"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNoRandom seed (integer ≥ 0) for reproducible simulations.
treeNoDecision tree {"nodes": [...], "edges": [...]}; node types decision, chance, terminal.
methodYesFormula to apply. Options: monte_carlo = Simulate every input in input_distributions through the named valuation function.; monte_carlo_sensitivity = Rank parameters by their impact on the valuation.; decision_tree = Backward induction over a decision tree.; sensitivity_analysis = One-at-a-time sensitivity of a core function.; monte_carlo_correlated = Monte Carlo with correlated input variables.; tornado = Tornado data for multi-parameter sensitivity analysis.; scenario = Probability-weighted expected value across scenarios.
scenariosNoScenario objects. contingent_consideration takes {probability, payment, period?} with probabilities summing to 1.0; scenario_analysis takes {name, probability, params, function_name}.
iterationsNoSimulation iterations; monte_carlo_sensitivity requires 1000-100000.
base_paramsNoBase values for all parameters, including those held fixed.
valuation_fnNoName of the valuation function the simulation calls: present_value, future_value, annuity_pv, perpetuity_pv, growing_annuity_pv, terminal_value, build_up_discount_rate, capm_discount_rate or wacc. monte_carlo and monte_carlo_correlated sample every parameter of it, so all of its parameters must appear in their distributions; monte_carlo_sensitivity varies only the parameters named in its own distributions and keeps the rest at base_params. Required on all three: the surface has no default valuation, because summing the parameters is not a valuation and gives a sensitivity ranking with no meaning.
distributionsNoMap of parameter name to {distribution, params} for the simulated inputs.
function_nameNoCore function to vary, e.g. "present_value", "capm_discount_rate", "wacc".
parameter_nameNoName of the parameter to vary.
parameter_rangeNoValues to test for the varied parameter.
fixed_parametersNoValues for all other parameters, held constant.
parameter_rangesNoJSON object mapping each parameter name to the list of values to test.
correlation_matrixNoCorrelation matrix as a JSON 2-D array of numbers, one row per variable, in the order of correlated_distributions.
input_distributionsNoInputs to simulate, each {name, distribution, params}; distribution is normal (mean, std), uniform (low, high) or triangular (low, high, mode).
correlated_distributionsNoOne object per sampled variable: `name`, `distribution` (normal, uniform or triangular) and `params`. Every parameter of the named `valuation_fn` must appear here, because the sampler supplies all of them.

Output Schema

NameRequiredDescriptionDefault
errorNoError message when the call fails.
stepsNoIntermediate calculation steps for traceability (one string per step).
valueYesComputed valuation, rate, or metric.
methodNoFormula / method name that produced the result.
assumptionsNoModelling assumptions applied (list of strings or key/value object).
defaults_appliedNoOptional parameters that were not supplied, so their documented defaults were used.
formula_referenceNoMathematical formula or reference applied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / correlated_distributions
      Added value: +{
      +  "description": "One object per sampled variable: `name`, `distribution` (normal, uniform or triangular) and `params`. Every parameter of the named `valuation_fn` must appear here, because the sampler supplies all of them.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / correlation_matrix
      Added value: +{
      +  "description": "Correlation matrix as a JSON 2-D array of numbers, one row per variable, in the order of correlated_distributions.",
      +  "items": {
      +    "items": {
      +      "type": "number"
      +    },
      +    "type": "array"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / method / description
      Previous value: -"Formula to apply. Options: monte_carlo = Simulate all listed inputs, sum-based valuation.; monte_carlo_sensitivity = Rank parameters by their impact on the valuation.; decision_tree = Backward induction over a decision tree.; sensitivity_analysis = One-at-a-time sensitivity of a core function."New value: +"Formula to apply. Options: monte_carlo = Simulate every input in input_distributions through the named valuation function.; monte_carlo_sensitivity = Rank parameters by their impact on the valuation.; decision_tree = Backward induction over a decision tree.; sensitivity_analysis = One-at-a-time sensitivity of a core function.; monte_carlo_correlated = Monte Carlo with correlated input variables.; tornado = Tornado data for multi-parameter sensitivity analysis.; scenario = Probability-weighted expected value across scenarios."
    • changedInput schema / properties / method / enum
      Previous value: -[
      -  "monte_carlo",
      -  "monte_carlo_sensitivity",
      -  "decision_tree",
      -  "sensitivity_analysis"
      -]New value: +[
      +  "monte_carlo",
      +  "monte_carlo_sensitivity",
      +  "decision_tree",
      +  "sensitivity_analysis",
      +  "monte_carlo_correlated",
      +  "tornado",
      +  "scenario"
      +]
    • addedInput schema / properties / parameter_ranges
      Added value: +{
      +  "description": "JSON object mapping each parameter name to the list of values to test.",
      +  "type": "object"
      +}
    • addedInput schema / properties / scenarios
      Added value: +{
      +  "description": "Scenario objects. contingent_consideration takes {probability, payment, period?} with probabilities summing to 1.0; scenario_analysis takes {name, probability, params, function_name}.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / valuation_fn
      Added value: +{
      +  "description": "Name of the valuation function the simulation calls: present_value, future_value, annuity_pv, perpetuity_pv, growing_annuity_pv, terminal_value, build_up_discount_rate, capm_discount_rate or wacc. monte_carlo and monte_carlo_correlated sample every parameter of it, so all of its parameters must appear in their distributions; monte_carlo_sensitivity varies only the parameters named in its own distributions and keeps the rest at base_params. Required on all three: the surface has no default valuation, because summing the parameters is not a valuation and gives a sensitivity ranking with no meaning.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, yet the description adds genuinely new facts: pure arithmetic with no I/O or external calls, values carrying the library's own precision, parameters from other methods being silently ignored, and errors returned for unknown methods or missing required params. The only gap is no note on output shape or cost/runtime for large iteration counts, but the output schema covers returns.

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?

The purpose and alternatives are front-loaded, and the dense per-method requirement list earns its space for a 16-parameter, 7-method tool. It is a single undifferentiated block with no formatting, so the long method-to-parameter enumeration is harder to scan than it needs to be, and it partially overlaps the method enum's own descriptions.

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 high-complexity, 16-parameter, multi-method, nested-object tool, the description supplies method gating, required-vs-optional parameters, numeric constraints, unit conventions, and error behavior. With an output schema present, return values need not be explained, so nothing an agent needs to call this correctly is missing.

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

Parameters5/5

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

Schema coverage is already 100%, so this is credit beyond baseline: the description maps parameters to methods per-method, states that only 'method' is required and all others are method-dependent with defaults applying, defines the 1000-100000 iteration constraint for monte_carlo_sensitivity, and specifies the decimal convention (0.10 = 10%). That is substantive meaning not recoverable from the schema alone.

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 opening sentence names the specific resource (uncertainty analysis) and enumerates the concrete operations: Monte Carlo valuation, Monte Carlo sensitivity ranking, decision-tree expected values, and one-at-a-time sensitivity. It explicitly distinguishes the scope from siblings with 'For a single deterministic point value use the relevant valuation tool', so an agent can route 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?

The description gives explicit when-to-use ('quantify and stress the uncertainty around a point valuation'), names the disambiguating condition against siblings (deterministic point value → valuation tool; single-parameter variation → sensitivity_analysis), and states exactly which parameters each method requires. Exclusions and alternatives are both present.

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.