Skip to main content
Glama

Compound Mint Money Calculator

Retirement savings projection

calculate_retirement_savings
Read-onlyIdempotent

Use when a user asks how much they will have when they retire, e.g. "how much will I have at 65 if I save $500 a month starting at 30?", "will $20,000 plus $300 a month be enough by 60?" or "project my retirement savings". Projects the balance at retirement from current savings and monthly contributions (optionally raised each year), shows it in today's dollars, the total put in, the growth, the balance every 5 years and an estimated yearly income at a withdrawal rate. Example: $500 a month from 30 to 65 at 7% grows to about $900,527.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "current_age": "<current_age>",
      "retirement_age": "<retirement_age>"
    },
    "name": "calculate_retirement_savings"
  }
}

Input Schema

NameRequiredDescriptionDefault
current_ageYesAge now.
annual_returnNoYearly return in percent (default 7).
inflation_rateNoYearly inflation in percent for the today's dollars figures (default 3).
retirement_ageYesAge you want to retire.
current_savingsNoUSD saved for retirement now (default 0).
withdrawal_rateNoYearly withdrawal rate in percent for the income estimate (default 4).
monthly_contributionNoUSD added each month (default 0).
annual_contribution_increaseNoPercent the monthly contribution rises each year, e.g. 3 (default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavioral content: what the response contains (today's-dollars balance, total contributed, growth, five-year snapshots, withdrawal-rate income). It does not disclose contribution timing assumptions (monthly vs. annual compounding, end-of-year contributions), which matters for a projection tool with no output schema.

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?

The trigger phrase is front-loaded and the sentence order moves from when-to-use to what-it-returns to a worked example. The trailing example is useful for sanity-checking but is somewhat redundant with the enumerated outputs, keeping it from a 5.

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 an 8-parameter projection tool with no output schema, the description covers the trigger, the full output breakdown, and a numeric example, which is enough to invoke it correctly. The remaining hole is modeling assumptions (compounding/contribution timing) that would affect interpreting the result.

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 the baseline is 3, but the description adds real linkage: it explains that contributions can be 'optionally raised each year' (annual_contribution_increase), that inflation_rate drives the today's-dollars figures, and that withdrawal_rate produces the yearly income estimate. That maps parameters to outputs in a way the schema alone does not.

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 specific verb and resource — 'Projects the balance at retirement from current savings and monthly contributions' — and enumerates the sub-outputs (today's dollars, total contributed, growth, 5-year balances, income estimate). It is clearly a retirement projection rather than a generic compound-interest call, though it never names a sibling calculator to contrast against.

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

Usage Guidelines4/5

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

It opens with an explicit trigger ('Use when a user asks how much they will have when they retire') and backs it with three realistic paraphrases, which is strong routing guidance. It stops short of stating when NOT to use it or pointing to alternatives such as calculate_fire_number or calculate_savings_goal.

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