Skip to main content
Glama

Fair Value MCP Server

Fair value adjustments (IFRS 13)

calculate_fair_value_adjustment
Read-onlyIdempotent

Fair-value-adjustment engine (IFRS 13). Compute exit-price adjustments including credit, liquidity, control and marketability discounts, blockage, and the fair-value hierarchy level. Use this to move from an indicated value to the fair value recognised in the accounts; for liquidity/marketability inputs of a listed instrument prefer calculate_market_multiple, and for expected credit loss use calculate_credit_loss. Methods: dlom: base_value, restricted_period, volatility, risk_free; dloc: base_value, transaction_cost_pct; control_premium: base_value, control_premium_pct; minority_discount: base_value, minority_discount_pct; highest_best_use: base_value, alternative_use_values; hierarchy_level: inputs. Supply exactly one method with its declared inputs (no defaults). An unknown method, a missing input, or an extra field returns an error envelope (code INVALID_ARGUMENT) instead of raising.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsNoInputs [{value, level}] used to determine the hierarchy level.
methodYesFormula to apply; the tool description lists the exact inputs each value requires.
risk_freeNoContinuously-compounded risk-free rate (decimal).
base_valueNoBase valuation before the adjustment.
volatilityNoAnnualized volatility (decimal, 0.30 = 30%); > 0.
restricted_periodNoRestricted/marketability period in years (>=0).
control_premium_pctNoControl premium as a fraction of value.
transaction_cost_pctNoTransaction cost as a fraction of value.
minority_discount_pctNoMinority discount as a fraction of value.
alternative_use_valuesNoFinancially feasible alternative-use values.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoError detail, present only when status='error'.
stepsNoOrdered computation steps, when the method reports them.
valueNoPrimary result: a number for scalar methods, an object for valuation methods.
methodNoMethod or tool name that produced the result.
statusYes'ok' on success, 'error' on failure.
tickerNoTicker the result pertains to, when applicable.
assumptionsNoInputs and assumptions used, echoed for traceability.
formula_refNoFormula or standards reference for the method.
data_timestampNoISO-8601 UTC timestamp of the underlying data, when fetched.

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 safety is covered. The description adds real behavioral context beyond that: exactly one method must be supplied with its declared inputs, there are no defaults, and invalid input returns an error envelope (code INVALID_ARGUMENT) rather than raising. It doesn't need to describe output because an output schema exists.

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, alternatives and error contract are front-loaded, and every sentence carries information. The method/input listing is dense but necessary since the schema defers it here; it is slightly run-on but not padded.

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 6-method, 10-parameter calculation tool this is complete: method-to-input mapping, alternatives, and error behavior are all covered, and return values are handled by the output schema. Nothing an agent needs to call it correctly is missing.

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 field meanings are already documented, but the description adds cross-parameter semantics the schema cannot express: the exact input set required per method value, the exactly-one-method constraint, and that no defaults apply. That mapping meaningfully exceeds the per-field descriptions.

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 ('fair-value-adjustment engine', 'compute exit-price adjustments') and enumerates the adjustment types (credit, liquidity, control, marketability, blockage, hierarchy). It explicitly distinguishes itself from siblings calculate_market_multiple and calculate_credit_loss, so an agent can route correctly without opening another 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 ('move from an indicated value to the fair value recognised in the accounts') and names the alternatives with the condition that selects them (liquidity/marketability inputs of a listed instrument -> calculate_market_multiple; expected credit loss -> calculate_credit_loss). 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.