Skip to main content
Glama

Amaltash Investment & Retirement Calculators

Withdrawal Calculator

plan_retirement_spending
Read-onlyIdempotent

Withdrawal Calculator with a chart, the same math as the web page. How long will your money last? Add money while you work. Take money out later. See how long it lasts. It adds money while you work and takes it out later. It runs your plan through every complete stretch of real US market years since 1928. It does not promise the money will last. The future can be worse than any past year. People ask for it as "how long will my savings last", "how long will my money last in retirement" or "retirement withdrawal calculator".

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plan_retirement_spending"
  }
}

Input Schema

NameRequiredDescriptionDefault
addNoMoney you add each month. US dollars. Default: 1500.
ageNoYour age. In years. Default: 45.
growNoGrow like. Each is a real past average, 1928–2025. Default: m60.
rateNoGrowth each year, after inflation. A percent: 5 means 5%. Default: 4.
takeNoMoney you take out each month. US dollars. In today’s money. It keeps up with prices. Default: 4000.
endAgeNoPlan until age. In years. Default: 95.
balanceNoMoney invested now. US dollars. Default: 250000.
stopAgeNoAge you stop adding money. In years. Leave blank to stop when you start taking money out. Default: undefined.
takeAgeNoAge you start taking money out. In years. Default: 62.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds real substance: the model replays every complete stretch of actual US market years since 1928, results are historical rather than predictive, and it explicitly disclaims any guarantee that the money lasts. That caveat is exactly the kind of context an agent needs to frame results.

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

Conciseness2/5

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

Content is duplicated almost verbatim: 'Add money while you work. Take money out later.' is immediately restated as 'It adds money while you work and takes it out later.' The closing sentence is a comma-separated list of search phrases that adds no operational information. The useful caveats are buried behind repetition.

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

Completeness3/5

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

With nine parameters, no required fields, and no output schema, the description should say what comes back. It mentions 'a chart' and the headline duration answer, but not the shape of the result (success rate across historical periods, ending balances, depletion age). The methodological and disclaimer content is good; the return-value side is thin.

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% and every parameter carries units, bounds, and defaults, so the schema does the heavy lifting. The description only restates the contribution/withdrawal concept in plain language ('add money while you work, take money out later') without clarifying interactions such as stopAge defaulting to takeAge. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete purpose: simulate monthly contributions and withdrawals against real US market history to see how long a balance lasts, plus a chart. It is more specific than the title 'Withdrawal Calculator' alone. It never names a sibling (retirement_plan, safe_spending, find_fire_number), so an agent must infer differentiation from context.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no pointer to an alternative tool, despite several siblings covering overlapping retirement questions. The trailing list of search phrasings ('how long will my savings last', etc.) is keyword coverage rather than routing guidance, so it does not tell the agent which tool to pick.

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