Skip to main content
Glama

Compound Mint Money Calculator

Savings goal calculator

calculate_savings_goal
Read-onlyIdempotent

Use when a user asks how much to save each month for a goal, e.g. "how much do I need to save each month to have $50,000 in 5 years?" or "how much a month to reach $1 million in 30 years?". Monthly amount to save to reach a target in a number of years at a yearly rate, counting money already saved. Example: $1,000,000 in 30 years at 8% needs about $671 a month.

Input Schema

NameRequiredDescriptionDefault
yearsYesYears to reach it.
annual_rateNoYearly return percent (default 0, no growth).
target_amountYesGoal in USD.
current_savingsNoUSD already saved (default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • addedInput schema / properties / annual_rate / default
      Added value: +0
    • addedInput schema / properties / annual_rate / examples
      Added value: +[
      +  4
      +]
    • addedInput schema / properties / annual_rate / maximum
      Added value: +50
    • addedInput schema / properties / annual_rate / minimum
      Added value: +0
    • addedInput schema / properties / current_savings / default
      Added value: +0
    • addedInput schema / properties / current_savings / examples
      Added value: +[
      +  5000
      +]
    • addedInput schema / properties / current_savings / maximum
      Added value: +1000000000
    • addedInput schema / properties / current_savings / minimum
      Added value: +0
    • addedInput schema / properties / target_amount / examples
      Added value: +[
      +  50000
      +]
    • addedInput schema / properties / target_amount / maximum
      Added value: +1000000000
    • addedInput schema / properties / target_amount / minimum
      Added value: +1
    • addedInput schema / properties / years / examples
      Added value: +[
      +  5
      +]
    • addedInput schema / properties / years / maximum
      Added value: +100
    • addedInput schema / properties / years / minimum
      Added value: +0.0833
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered. The description adds real behavioral context the annotations cannot: the calculation includes money already saved, growth is applied at a yearly rate, and a worked example ('$1,000,000 in 30 years at 8% needs about $671 a month') gives the agent a sanity check on output magnitude. Return shape and rounding are still unstated, so not a 5.

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?

Front-loaded with the usage trigger, then the computation, then a concrete example — a sensible order. The two user-phrasing examples and the numeric example overlap slightly, so one of them is arguably redundant, but nothing is padded or vague.

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, the description carries the burden of signalling the return value, and the '$671 a month' example does exactly that. Required vs optional inputs are handled by the schema, and the only notable omission (rounding/currency formatting) is minor for a deterministic calculator.

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 each parameter already carries a description and example, so the baseline of 3 applies. The description adds only light reinforcement — 'counting money already saved' maps to current_savings and 'yearly rate' to annual_rate — without new format, unit, or edge-case guidance (e.g. what a 0% rate or sub-year horizon yields).

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?

States a specific verb and resource — the monthly amount to save to reach a target over N years at a given rate, including existing savings. That computation is clearly distinct from siblings like calculate_compound_interest or calculate_fire_number, so an agent can route correctly without opening the schema.

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?

Opens with an explicit trigger ('Use when a user asks how much to save each month for a goal') and reinforces it with two natural-language user phrasings. It does not name a competing sibling or state when not to use it, which keeps it short of a 5.

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