omni_refinance
Calculate mortgage refinance savings, new monthly payments, lifetime interest reduction, and closing-cost breakeven timeline to determine if refinancing pays off.
Instructions
Mortgage Refinance & Breakeven Calculator. Calculate monthly payment savings, lifetime interest reduction, and closing cost breakeven horizon when refinancing a home mortgage. Discipline: FINANCE. Governing mathematical model / formula: Breakeven Months = Total Closing Costs / (Current Payment - New Payment).
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of monthly_savings (Monthly Payment Savings), breakeven_months (Breakeven Timeline), new_monthly_payment (New Monthly Payment (P&I)), lifetime_savings (Net Lifetime Savings) using balance (Remaining Balance), curr_rate (Current Interest Rate (%) in %), curr_term (Remaining Years in yrs), new_rate (New Refinance Rate (%) in %), new_term (New Loan Term (Years) in yrs), closing_costs (Total Closing Costs). 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.
SIBLING ROUTING: Use this dedicated specialist tool for 'Mortgage Refinance & Breakeven Calculator' rather than generic dispatchers like omni_universal_query. For cross-discipline dynamic dispatch, see omni_universal_query.
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): "refinance"
category (string): "finance"
name (string): "Mortgage Refinance & Breakeven Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.monthly_savings (Monthly Payment Savings): Formatted display string (e.g. '$214.50')
metrics.breakeven_months (Breakeven Timeline): Formatted display string (e.g. '25.6 months')
metrics.new_monthly_payment (New Monthly Payment (P&I)): Formatted display string (e.g. '$2,042.80')
metrics.lifetime_savings (Net Lifetime Savings): Formatted display string (e.g. '$48,220.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_refinance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | No | Remaining Balance. Current outstanding mortgage loan balance. Default: 350000. Min: 10000. Max: 2000000. | |
| new_rate | No | New Refinance Rate (%) (%). Offered new interest rate. Default: 5.75. Min: 1. Max: 15. | |
| new_term | No | New Loan Term (Years) (yrs). Term of the new replacement mortgage. Default: 30. Min: 10. Max: 30. | |
| curr_rate | No | Current Interest Rate (%) (%). Your current mortgage note rate. Default: 6.875. Min: 1. Max: 15. | |
| curr_term | No | Remaining Years (yrs). Number of years left on existing mortgage. Default: 27. Min: 1. Max: 30. | |
| closing_costs | No | Total Closing Costs. Origination, appraisal, title, and lender fees. Default: 5500. Min: 0. Max: 25000. |