Skip to main content
Glama

Amaltash Investment & Retirement Calculators

Compound Interest Calculator

compound_interest
Read-onlyIdempotent

Compound interest calculator with an interactive chart. Works out what a starting amount and monthly deposits grow to at a fixed rate, compounded daily, monthly or yearly, and gives the APY. Use it for savings growth, CD and high-yield savings balances, future value at a fixed rate, and questions like what $10,000 becomes in 10 years at 5%. People ask for it as "compound interest calculator", "daily compound interest calculator" or "how to calculate compound interest".

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": {
      "principal": "<principal>",
      "per_month": "<per_month>",
      "annual_rate_percent": "<annual_rate_percent>",
      "compounding": "<compounding>",
      "years": "<years>"
    },
    "name": "compound_interest"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsYesWhole years, from 1 to 60.
per_monthYesDollars added at the end of each month.
principalYesStarting amount, in US dollars.
compoundingYesHow often interest is added to the balance.
annual_rate_percentYesYearly interest rate as a percent, so 5 means 5%.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A3.9/5.0
Behavior4/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 safety needs no restating. The description adds behavior beyond the structured data: it discloses that compounding can be daily/monthly/yearly and that the result includes APY, which tells the agent something about the returned figures; it does not describe the rest of the return payload or rounding.

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 opening sentence front-loads what the tool is, and the middle sentences carry real information about inputs and output (APY). The closing sentence is largely keyword padding that repeats the tool name twice ('compound interest calculator', 'how to calculate compound interest'), which costs it a point but is brief enough not to obscure the content.

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 a five-parameter, all-required calculator with no output schema, the description covers all inputs conceptually and names one output (APY) plus the chart. It leaves the full result shape (final balance, total contributions, total interest) undisclosed, which is the main remaining gap for a tool the agent must summarize back to a user.

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% with per-field descriptions and an enum for compounding, so the schema does the heavy lifting and the baseline is 3. The description adds only light meaning — that deposits are monthly and the rate is fixed — and its enumeration of compounding frequencies (daily, monthly, yearly) is actually narrower than the schema's five values.

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 first two sentences give a concrete verb+resource ('works out what a starting amount and monthly deposits grow to at a fixed rate') plus the compounding options and the APY output, so an agent knows exactly what is computed. It stops short of 5 because it claims territory ('CD and high-yield savings balances', 'future value at a fixed rate') that siblings calculate_cd_interest and calculate_future_value visibly occupy, without saying how it differs.

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?

Usage context is spelled out with concrete scenarios (savings growth, CD/HYSA balances, '$10,000 in 10 years at 5%') and even the query phrasings people use. There are no exclusions or explicit routing to competing siblings such as calculate_simple_interest or calculate_cd_interest, so it is clear-context-only rather than full when/when-not guidance.

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