Calculate FHA mortgage insurance premium
calculate_fha_mipCalculates the FHA upfront and annual mortgage insurance premium (rates, dollar amounts, first-year monthly premium and how long the annual premium lasts) from the base loan amount, loan-to-value ratio, term and the case number date, using the HUD rate schedule in force for that date. Cites the Mortgagee Letter and HUD Handbook 4000.1 Appendix 1.0. Pure calculation: an estimate, not a loan approval.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base_loan_amount": "<base_loan_amount>",
"ltv": "<ltv>"
},
"name": "calculate_fha_mip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ltv | Yes | Loan-to-value ratio as a percent, e.g. 96.5: base loan amount divided by the lesser of price and appraised value. | |
| term_months | No | Loan term in months, e.g. 360 for 30 years or 180 for 15 years. Default 360. | |
| interest_rate | No | Note rate as an annual percent, e.g. 6.25; gives the first-year premium on the average scheduled balance. | |
| base_loan_amount | Yes | Base loan amount in dollars, before any financed upfront premium. | |
| case_number_date | No | Date the FHA case number was assigned, YYYY-MM-DD. Default today (UTC). | |
| endorsement_date | No | Date FHA endorsed (or will endorse) the loan, YYYY-MM-DD, when known; it selects the 2023 rates for case numbers assigned before 2023-03-20. | |
| refinances_loan_endorsed_before_june_2009 | No | True for a Streamline or Simple Refinance of an FHA loan endorsed on or before May 31, 2009. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||