omni_cd_calculator
Calculate Certificate of Deposit maturity balances, total interest, and early withdrawal penalties from deposit, APY, and term inputs to get deterministic fixed-return results.
Instructions
Certificate of Deposit (CD) Calculator. Calculate Certificate of Deposit (CD) compounding yields, early withdrawal penalties, and fixed returns across terms from 3 months to 5 years. Discipline: FINANCE. Governing mathematical model / formula: CD Balance = Principal · [1 + (APY / 100)]^(Months / 12).
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of total_cd_interest (Total Interest Earned), ending_cd_balance (Maturity Balance), early_penalty (Est. Early Withdrawal Penalty (90 days)) using cd_deposit (Initial CD Deposit), cd_apy (Annual Percentage Yield (APY %) in %), cd_term_months (CD Term (Months) in mo). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.
WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.
DISAMBIGUATION & BOUNDARIES:
Use this dedicated specialist tool for 'Certificate of Deposit (CD) Calculator' rather than generic dispatchers like omni_universal_query.
For multi-calculation chained jobs, use 'omni_batch_calculate'.
To inspect schema fields, see 'omni_describe_solver'.
BEHAVIOR & SAFETY:
Pure deterministic computation with machine floating-point precision.
Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.
Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.
RETURNS:
Structured JSON object containing:
status (string): "success" on valid execution or "error" if validation fails
calculator (string): "cd-calculator"
category (string): "finance"
name (string): "Certificate of Deposit (CD) Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.total_cd_interest (Total Interest Earned): Formatted display string (e.g. '$970.00')
metrics.ending_cd_balance (Maturity Balance): Formatted display string (e.g. '$20,970.00')
metrics.early_penalty (Est. Early Withdrawal Penalty (90 days)): Formatted display string (e.g. '$239.18')
execution_time_ms (number): Latency in milliseconds.
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": "omni_cd_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cd_apy | No | Annual Percentage Yield (APY %) (%). Locked APY. Default: 4.85. Min: 0.5. Max: 12. | |
| cd_deposit | No | Initial CD Deposit. Fixed principal deposit. Default: 20000. Min: 500. Max: 1000000. | |
| cd_term_months | No | CD Term (Months) (mo). CD maturity duration. Default: 12. Min: 3. Max: 60. |