Skip to main content
Glama

Untilfree - FIRE Calculator

Retire at a chosen age

retire_at_age
Read-onlyIdempotent

Use this when the user wants a retirement calculator for a chosen age: "how much do I need to retire", "how much do I need to retire at 45 / 50 / 55 / 60 / 65", "how to retire at 50", "can I retire at 50 with $500k", "am I on track to retire at 55", "when can I retire" at a specific age, or the 25x rule / 4% rule for their spending (also in GBP, CAD, AUD or EUR). Needs monthly or yearly spending in retirement and the target age. Age, invested savings and monthly contribution are optional: without them it returns the amount needed with 4%, 3.5% and 3.3% withdrawal rate variants; with them it adds the age they reach it, the shortfall or surplus at the target age and the extra monthly amount needed. Do not use for an open "when can I retire" question with no age in mind (use calculate_freedom_day), pension, Social Security or annuity amounts and full retirement age rules, tax, or picking investments. An estimate, not financial advice.

Input Schema

NameRequiredDescriptionDefault
ageNoCurrent age. Optional; with it the tool shows how far current savings are from the target.
currencyNoISO currency code used only for display.USD
netWorthNoInvested savings today. Optional, defaults to 0 when age is given.
spendingYesSpending in retirement, in today’s money.
targetAgeYesAge at which the person wants to retire or make work optional.
realReturnPctNoYearly growth after inflation, in percent. Default 5.
spendingPeriodNoWhether spending is per month or per year.monthly
monthlyInvestmentNoAmount invested each month. Optional, defaults to 0 when age is given.
withdrawalRatePctNoSafe withdrawal rate in percent. Default 4.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare a read-only, idempotent, non-destructive computation, and the description goes further by disclosing how the output changes with input: baseline amount needed plus 4%/3.5%/3.3% withdrawal-rate variants, and with optional inputs added, the age reached, shortfall or surplus, and extra monthly amount required. It also sets the expectation that results are an estimate, not financial advice, which is useful framing for how an agent should present the numbers.

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?

It is front-loaded with the usage trigger and then moves to inputs and output behavior in a logical order. The long list of example phrasings is slightly dense but each cluster maps to a real query pattern, so little is wasted.

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?

With no output schema and nine parameters, the description carries the burden of explaining results and does so for both the minimal and enriched invocation modes. Combined with the currency coverage note and the scope exclusions, an agent has everything needed to call it and interpret the answer.

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 per-field meaning is already documented and the baseline is 3. The description adds cross-parameter semantics the schema cannot: spending must be monthly or yearly, target age is mandatory, and age/netWorth/monthlyInvestment are optional but unlock additional computed outputs, which tells the agent how to decide whether to supply them.

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 names a specific tool type (retirement calculator) scoped to a chosen target age and anchors it with concrete user phrasings like "can I retire at 50 with $500k" and "the 25x rule / 4% rule". It also explicitly distinguishes itself from calculate_freedom_day for the open-ended age question, so an agent can route correctly without opening either 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?

It gives explicit when-to-use triggers (age-specific retirement questions, 4%/25x rule) and explicit when-not-to-use cases (open "when can I retire" with no age, pension/Social Security/annuity rules, tax, investment selection), naming the alternative tool for the excluded case. 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.

Resources