Skip to main content
Glama

PoliErgaleio

run_retirement_stress_test

Runs a deterministic projection plus Monte Carlo simulation of a retirement savings plan, aggregating active pension streams before applying personal income tax allowances and the shared GESY ceiling. Use for a retirement savings sustainability or portfolio-longevity projection. Reuse the user's ages, savings, contributions and planned monthly spending; ask for each missing essential input and never use example personal values. Values are EUR, contributions/drawdown are monthly, and ages are years. Supply pensionStreams to include Cyprus or foreign pension income; concurrent streams are aggregated before applying the personal progressive allowance, one foreign-pension allowance and the shared €180,000 GESY ceiling. Foreign pensions use the 2026 flat 5% rate above €5,000 unless a net override is supplied. Omitted state pension means pension income is excluded. Returns, inflation, horizon and simulation count use disclosed modelling assumptions when omitted. Runs without seed are stochastic; a supplied seed makes identical inputs repeatable for the same implementation version.

Input Schema

NameRequiredDescriptionDefault
seedNoOptional unsigned 32-bit seed for repeatable runs with identical inputs and implementation versions. Omit to keep the run stochastic.
endAgeNoPlanning horizon age (default 90).
currentAgeYesAge today.
simulationsNoMonte Carlo runs (default 1000).
statePensionNoExpected monthly state pension in EUR.
inflationRateNoAnnual percentage value (e.g. 2.5 for 2.5%). Supply the actual rate unless the user accepts a stated modelling default.
retirementAgeYesPlanned retirement age.
currentSavingsYesCurrent investable savings balance in EUR.
pensionStreamsNoOptional annual pension streams that offset retirement drawdown. Concurrent streams are aggregated before applying progressive tax, the single 2026 foreign-pension €5,000 allowance, and the shared personal GESY ceiling. A supplied netAnnualOverride is treated as already net and is used as-is.
monthlyDrawdownYesPlanned monthly withdrawal in retirement in EUR.
monthlyContributionYesMonthly contribution until retirement in EUR.
expectedAnnualReturnNoAnnual percentage value (e.g. 2.5 for 2.5%). Supply the actual rate unless the user accepts a stated modelling default.
expectedAnnualReturnRetirementNoAnnual percentage value (e.g. 2.5 for 2.5%). Supply the actual rate unless the user accepts a stated modelling default.

Output Schema

NameRequiredDescriptionDefault
seriesNo
ltcRunRateYes
assumptionsYes
acuteRunRateYes
shockRunRateYes
medianDepletionAgeYes
successProbabilityYes
averageDepletionAgeYes
medianTerminalWealthYes
deterministicFinalBalanceYes
worstCase10thPercentileBalanceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the deterministic-plus-Monte-Carlo structure, tax aggregation order (progressive allowance, one foreign-pension allowance, shared €180,000 GESY ceiling), the 2026 flat 5% foreign-pension rate, that omitted state pension excludes pension income, that omitted modelling inputs fall back to disclosed defaults, and that seedless runs are stochastic while seeded runs repeat for a given implementation version.

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 use case, then units, then tax mechanics, then determinism — a logical order. It is dense and earns most of its length, but repeats the GESY ceiling and foreign-pension allowance points twice, which is minor waste.

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 13-parameter, no-annotation tool, the description covers the essential gaps an agent needs: input sourcing discipline, units, tax/aggregation behavior, default assumptions, and stochastic-vs-repeatable execution. An output schema exists, so return values need not be explained.

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 baseline is 3; the description still adds real meaning beyond the schema by stating units and cadence (EUR, monthly contributions/drawdown, ages in years) and explaining how concurrent pensionStreams are aggregated and how netAnnualOverride is treated. Marginal duplication of the GESY/foreign-allowance rules already in the stream schema keeps it from a 5.

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 and resource ('Runs a deterministic projection plus Monte Carlo simulation of a retirement savings plan') and explicitly scopes the output to sustainability/longevity. It is clearly distinguishable from siblings like calculate_cyprus_state_pension or analyze_portfolio, which cover narrower pieces.

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

Usage Guidelines4/5

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

Gives clear when-to-use ('retirement savings sustainability or portfolio-longevity projection') and strong input-sourcing rules ('Reuse the user's ages, savings... ask for each missing essential input and never use example personal values'). It does not explicitly name a sibling alternative or state when not to use it, so it falls short of a 5.

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.

Resources