Skip to main content
Glama

Amaltash Investment & Retirement Calculators

CD Calculator

calculate_cd_interest
Read-onlyIdempotent

CD Calculator with a chart, the same math as the web page. How much will your CD earn? A CD, or certificate of deposit, is a bank account that pays a set rate for a set time. It adds interest at the CD rate you type, for the whole term, as often as you pick. It does not look up the rates banks pay today. People ask for it as "cd calculator", "cd rate calculator" or "how much interest does a cd earn".

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

Input Schema

NameRequiredDescriptionDefault
nNoHow often interest is added. Your bank’s terms say which. Default: 365.
rateNoCD rate each year. A percent: 5 means 5%. Your bank’s rate. Treasury bills averaged 3.4%, 1928–2025. Default: 3.4.
startNoMoney you put in. US dollars. Default: 10000.
yearsNoYears until the CD ends. In years. Whole years only. Default: 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, and closed-world behavior, so the bar is lower. The description still adds real value beyond them: it discloses that output includes a chart (important since there is no output schema), that the math mirrors the web page, and that rates are user-supplied rather than looked up — reinforcing openWorldHint=false with concrete meaning.

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

Conciseness3/5

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

The core computation description is compact, but the definition wastes space on a generic CD definition ('a bank account that pays a set rate for a set time') and closes with keyword-stuffed query phrasings that give an agent no operational value. The most decision-relevant line — that it does not fetch current rates — sits buried mid-paragraph rather than front-loaded.

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 four-parameter, all-optional calculator with no output schema, the description covers the essential model (simple accumulation at a fixed rate over the whole term at a chosen compounding frequency), signals the chart in the result, and rules out live rate lookup. What remains unstated — the exact return fields and whether the chart is data or image — is minor given the fully documented schema.

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 units, bounds, enums, and defaults, so the baseline of 3 applies. The description adds only a light conceptual gloss — 'at the CD rate you type, for the whole term, as often as you pick' — which frames the three drivers (rate, years, compounding n) without adding syntax or format detail beyond 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 concrete verb and resource — it computes how much a CD will earn given a rate, term, and compounding frequency — and explicitly bounds the scope with 'It does not look up the rates banks pay today.' It does not, however, distinguish itself from near-neighbors like compound_interest, calculate_simple_interest, or calculate_apy in the sibling list, so the agent must infer the boundary.

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 implied through the CD framing (set rate, set term, user-chosen compounding) and the negative constraint that live bank rates are not retrieved. There is no explicit when-to-use-this-vs-alternative guidance, and the trailing list of query phrasings ('cd calculator', 'cd rate calculator') is search-alias material rather than routing logic, so the agent gets context but no decision rule.

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