omni_fha_loan
Calculate FHA monthly mortgage payments, including principal and interest, monthly MIP, and financed upfront MIP, from purchase price, down payment percentage, and interest rate.
Instructions
FHA Loan & Mortgage Insurance (MIP) Calculator. Calculate monthly FHA payments including upfront (UFMIP) and annual monthly mortgage insurance premiums with minimum 3.5% down payment. Discipline: FINANCE. Governing mathematical model / formula: Total Financed Loan = Purchase Price - Down Payment + (Base Loan × 1.75% UFMIP).
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of total_monthly (Total Monthly FHA Payment), base_payment (Base Principal & Interest), monthly_mip (Monthly FHA MIP (0.55%)), upfront_mip (Upfront MIP Financed (1.75%)) using purchase_price (Home Purchase Price), down_payment_pct (Down Payment (%) in %), interest_rate (Interest Rate (%) in %). 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 'FHA Loan & Mortgage Insurance (MIP) 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): "fha-loan"
category (string): "finance"
name (string): "FHA Loan & Mortgage Insurance (MIP) Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.total_monthly (Total Monthly FHA Payment): Formatted display string (e.g. '$2,069.45')
metrics.base_payment (Base Principal & Interest): Formatted display string (e.g. '$1,927.85')
metrics.monthly_mip (Monthly FHA MIP (0.55%)): Formatted display string (e.g. '$141.60')
metrics.upfront_mip (Upfront MIP Financed (1.75%)): Formatted display string (e.g. '$5,404.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_fha_loan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interest_rate | No | Interest Rate (%) (%). 30-year fixed FHA note rate. Default: 6.25. Min: 2. Max: 12. | |
| purchase_price | No | Home Purchase Price. Agreed home purchase price. Default: 320000. Min: 50000. Max: 1500000. | |
| down_payment_pct | No | Down Payment (%) (%). Minimum 3.5% down payment. Default: 3.5. Min: 3.5. Max: 20. |