Skip to main content
Glama

Amaltash Investment & Retirement Calculators

401(k) Calculator

project_401k
Read-onlyIdempotent

401(k) Calculator with a chart, the same math as the web page. What could your 401(k) grow to? See what your 401(k) could grow to by the time you retire. A 401(k) is a savings plan you get through work. It grows your deposits and your employer’s match at the rate you pick, within the IRS limits. It does not say what your money will earn. The growth rate is one you pick. People ask for it as "401k calculator", "401k contribution calculator" or "how much will my 401k be worth".

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": "project_401k"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoYour age. In years. Default: 30.
balNoMoney in your 401(k) now. US dollars. Default: 20000.
payNoYour pay each year. US dollars. Default: 100000.
youNoPart of your pay you put in. A percent: 5 means 5%. The IRS caps it at $24,500 in 2026, more from age 50. Default: 10.
growNoGrow like. Each is a real past average, 1928–2025. Default: own.
rateNoGrowth each year. A percent: 5 means 5%. A guess, not a promise. Default: 6.
realNoShow money in. Today’s dollars take out rising prices: 3% a year, the 1928–2025 average. Default: future.
uptoNoYour boss stops adding at. A percent: 5 means 5%. Default: 6.
matchNoYour boss adds. A percent: 5 means 5%. This is called a match. Default: 50.
raiseNoPay raise each year. A percent: 5 means 5%. Default: 0.
retireNoAge you want to retire. In years. Default: 65.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior context beyond that: it produces a chart, mirrors the web page's math, applies IRS contribution limits, and explicitly says the growth rate is a user-chosen guess rather than a forecast. It does not describe the return payload or how the chart is delivered.

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?

The opening repeats the same question twice in near-identical wording ('What could your 401(k) grow to? See what your 401(k) could grow to...'), which is pure waste. The trailing list of colloquial search phrases serves no purpose for an agent that has already selected the tool, padding a definition that could be two sentences.

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?

For an 11-parameter projection tool with no output schema, the description covers the conceptual model (deposits plus match growing at a chosen rate, capped by IRS limits) but leaves open what the response actually contains beyond 'a chart'. Given no output schema, some statement of the returned projection would have closed the gap.

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 coverage is 100%, so every one of the 11 parameters is already documented with ranges and defaults, which sets the baseline at 3. The description adds a little meaning by tying contributions to IRS limits and framing rate as an assumption, but it says nothing about the interaction of you/upto/match or the difference between the grow enum and rate, leaving that entirely to the schema.

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 names a specific resource (a 401(k) retirement projection) and states the core question it answers: what the balance could grow to by retirement, including employer match and IRS limits. It is clear enough to distinguish from generic calculators, but it never names or contrasts a sibling such as project_roth_ira or calculate_future_value, so the agent must infer the boundary itself.

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?

Usage is only implied through the repeated 'what could your 401(k) grow to by the time you retire' framing. There is no explicit when-to-use statement, no when-not, and no named alternative for related projections. The final sentence listing query phrasings is retrieval keyword stuffing, not guidance for an agent choosing between tools.

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