Skip to main content
Glama

QuantCalc Retirement Engine

Compare published return assumptions

compare_return_assumptions
Read-only

Runs the same plan against several published capital market assumption sets and returns the success rate and median outcome under each, showing how far the answer moves with the return forecast used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pensionNoYearly pension income. Default 0.
sourcesNoSource ids to compare. Defaults to all.
allocationsNoPercentages summing to 100: [US stocks, international stocks, bonds, real estate, cash]. Default [60,10,25,5,0].
current_ageYesCurrent age of the primary person.
ss_start_ageNoAge Social Security starts. Default 67.
inflation_rateNoAnnual inflation as a percent, e.g. 2.5. Default 2.5.
retirement_ageNoAge work income stops. Defaults to current age.
returns_sourceNoWhich published return set to use (see list_return_assumption_sources). Default jpmorgan.
annual_spendingYesPlanned yearly spending in today's dollars, before income tax (this tool runs the standard engine, which does not model tax).
current_savingsYesTotal invested portfolio today, in dollars.
life_expectancyNoAge the plan must last until. Default 92.
social_securityNoYearly Social Security in today's dollars. Default 0 — and 0 is reported as an explicit assumption, not hidden.
pension_start_ageNoAge the pension starts. Default 65.
monthly_contributionNoMonthly savings until retirement. Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / annual_spending / description
      Previous value: -"Planned yearly spending in today's dollars."New value: +"Planned yearly spending in today's dollars, before income tax (this tool runs the standard engine, which does not model tax)."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds meaningful context by specifying that it compares multiple published assumption sets and returns success rate and median outcome as sensitivity metrics, which is beyond what annotations provide. No contradiction exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single well-structured sentence states the core behavior, the output metrics, and the purpose (sensitivity analysis). Every clause earns its place and there is no redundant or filler content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter tool with no output schema, the description supplies essential output expectations (success rate and median outcome under each set) while the schema covers all parameter semantics. The open-world/read-only annotations and the sibling list_return_assumption_sources provide enough surrounding context for correct invocation.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema fully documents all 14 parameters and their defaults. The main description adds no parameter-level detail beyond the schema. The presence of both a singular 'returns_source' and a plural 'sources' array could be mildly confusing, but the schema descriptions clarify each.

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 description uses a specific verb and resource: it 'runs the same plan against several published capital market assumption sets' and returns success rate and median outcome under each. This clearly distinguishes it from the sibling run_retirement_projection (single plan, single forecast) and list_return_assumption_sources (listing sources).

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

Usage Guidelines3/5

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

The description implies the use case—comparing how different return forecasts affect a retirement plan—and the wording makes it distinct from a single projection. However, it does not explicitly state when to use this tool versus run_retirement_projection, nor does it mention any exclusions or prerequisites.

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.