omni_credit_card_payoff
Calculate exact credit card payoff timelines, total interest charges, and required monthly payments from balance, APR, and payment amount to plan debt freedom.
Instructions
Credit Card Payoff & Interest Snowball Calculator. Calculate exact debt-free payoff timelines, total compound interest charges, and monthly payment requirements for high-interest revolving credit. Discipline: FINANCE. Governing mathematical model / formula: Months to Pay Off = -ln[1 - (P · i / M)] / ln(1 + i).
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of payoff_months (Time to Debt Freedom), total_cc_interest (Total Interest Accrued), total_cc_paid (Total Principal + Interest Paid) using cc_balance (Credit Card Balance), cc_apr (Annual Percentage Rate (APR) in %), monthly_pay (Monthly Payment Plan). 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 'Credit Card Payoff & Interest Snowball 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): "credit-card-payoff"
category (string): "finance"
name (string): "Credit Card Payoff & Interest Snowball Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.payoff_months (Time to Debt Freedom): Formatted display string (e.g. '39 months (3.3 yrs)')
metrics.total_cc_interest (Total Interest Accrued): Formatted display string (e.g. '$5,482.00')
metrics.total_cc_paid (Total Principal + Interest Paid): Formatted display string (e.g. '$19,482.00')
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_credit_card_payoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc_apr | No | Annual Percentage Rate (APR) (%). Revolving interest rate. Default: 24.5. Min: 10. Max: 36. | |
| cc_balance | No | Credit Card Balance. Total balance on card. Default: 14000. Min: 500. Max: 100000. | |
| monthly_pay | No | Monthly Payment Plan. Fixed monthly cash dedicated to card. Default: 500. Min: 50. Max: 5000. |