Skip to main content
Glama

firenum - retirement planner

Build a retirement plan

build_retirement_plan
Read-only

Use when someone asks when they can retire, if their money will last, their FIRE number (the planner shows when they'd reach it), or about Coast, Barista, Lean or Fat FIRE, and gave numbers (age, income, savings, spending, debts). Send what they gave, as said. Returns its answer and plan link.

Turns what someone has said about their money into firenum's answer and their plan in firenum's Fire Planner (FIRE: Financial Independence, Retire Early). The answer is the planner's own, as their plan shows it once opened: when they can retire with their contributions, growth and inflation, graded three ways (average returns, 500 Monte Carlo simulations, every historical start year since 1872). For a FIRE number it gives the number and, once it has their age, when they would reach it. All parameters are optional: with too little to grade, missing says what to ask for.

Reply from answer. Give the headline with both counts: the headline's date is the first month the money lasts on average returns, and the counts say how often that survives real market swings. When a count is under half, open with that count ("The money lasts in only N of 500 simulated markets"), never with yes, even a qualified one ("on average returns, yes", "a risky yes"): the date works on average but fails in most markets. coast_number is their Coast FIRE number for coast_age (what they would need invested today to stop saving). coast is the planner's own answer to stopping saving today: whether the money still lasts if they retire on the headline's date and, if not, the date that works without more saving. assumed, when present, is what the answer took for something they didn't say: say so in those terms. missing is what the planner needs before it can grade anything: ask for it and call again. To grade another retirement year, call again with retire. Amounts are in their currency, sums in today's money. table is their net worth year by year on each model, with income, spending and withdrawals, and assumptions is what the answer rests on (the rates, how each model works, how their numbers were read, what is not modeled): answer follow-ups from them (what they would have at 60, when the money runs out in a bad market, why a date) without calling again, and say what an answer assumes when it matters.

Give them the returned url exactly as it is: it opens their quick-start with these numbers filled in, then the whole plan (stress tests, a year-by-year table, where the money goes). Without source=agent the planner opens it as a shared plan that saves nothing. It runs in their browser with no account, and nothing is saved until they confirm: the link then becomes a new plan, "From a link", beside any plans they have. The plan keeps the accounts, spending lines, debts, pension, Social Security and rental income sent. Salary and side income become one monthly income.

Income is annual. Expenses and contributions are monthly. Amounts in whole currency units (not cents). Growth and inflation are percentages.

Before retirement, any spending, debt payments and contributions that income doesn't cover are paid from savings. Without salary or side_income, and with retirement still ahead, the answer assumes an income that covers spending, contributions and debt payments until then (assumed says so), and the quick-start asks for it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hsaNoHealth Savings Account balance. Default growth 7%.
cashNoCash/checking balance. Default growth 0%.
debtNoDebt balance.
foodNoMonthly food expense.
rothNoRoth account balance (Roth IRA, Roth 401k). Default growth 7%.
birthNoBirth year (YYYY). From an age, send the current year minus the age. Used with retire_age to compute retirement date.
cryptoNoCryptocurrency balance. Default growth 0%.
growthNoDefault portfolio growth rate (percentage). Retirement, Roth, brokerage and HSA balances follow it as the market rate (randomized in Monte Carlo, historical in backtests); it also overrides the fixed defaults of the other assets.
retireNoTarget retirement year (YYYY). Takes precedence over retire_age.
salaryNoAnnual gross salary, as they said it (don't subtract tax). Grows 3%/year, stops at retirement (open-ended if no retirement date is given). The planner doesn't deduct taxes; if they gave a tax amount, include it in expenses.
targetNoAccepted from older links and ignored. The planner answers with a retirement date, not a target.
housingNoMonthly housing expense (rent/mortgage).
pensionNoAnnual pension income. Starts at retirement (immediately if no retirement date is given).
savingsNoHigh-yield savings balance. Default growth 4.5%.
currencyNoDisplay currency. All amounts should be in this currency.USD
expensesNoTotal monthly spending. Send this alone, or categories alone. If both are sent, categories count as part of this total and only the remainder becomes "Monthly expenses" (never added on top). Do not repeat the total as a category.
brokerageNoTaxable brokerage account balance. Default growth 7%.
debt_nameNoName/label for the debt. Default "Debt".
debt_rateNoDebt annual interest rate (percentage).
inflationNoDefault inflation rate (percentage). Overrides individual expense defaults.
insuranceNoMonthly insurance expense.
utilitiesNoMonthly utilities expense.
healthcareNoMonthly healthcare expense.
retire_ageNoTarget retirement age. Requires birth to compute retirement year. Ignored if retire is provided.
retirementNoRetirement account balance (401k, IRA, etc). Default growth 7%.
real_estateNoReal estate equity. Default growth 4%.
side_incomeNoAnnual side hustle / freelance income. Stops at retirement (open-ended if no retirement date is given).
debt_paymentNoMonthly debt payment.
discretionaryNoMonthly discretionary spending.
rental_incomeNoAnnual rental income.
transportationNoMonthly transportation expense.
social_securityNoAnnual Social Security income. Starts at the later of retirement and age 67 (uses whichever is known; immediately if neither).
hsa_contributionNoMonthly HSA contribution.
part_time_incomeNoAnnual part-time income in retirement (Barista FIRE). Starts at the retirement date and runs on; with no retirement date given, the plan retires at the earliest date that works with this income.
cash_contributionNoMonthly cash contribution.
roth_contributionNoMonthly Roth account contribution.
crypto_contributionNoMonthly crypto contribution.
savings_contributionNoMonthly savings contribution.
brokerage_contributionNoMonthly brokerage contribution.
retirement_contributionNoMonthly retirement account contribution.
real_estate_contributionNoMonthly real estate contribution (e.g., extra mortgage principal).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull URL to open the Fire Planner with pre-populated data.
answerNoThe planner's answer, in its words, as their plan shows it once opened (average returns, today's money, their currency). A field that does not apply is left out. The whole answer is left out once the day's answers are used up (a limit shared by every caller, reset at 00:00 UTC): the link still opens their plan.
params_appliedYesList of parameter names that were recognized and applied.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources