Mortgage payment calculator
calculate_mortgage_paymentUse when a user asks about a mortgage or house payment, e.g. "what is the monthly payment on a $400,000 house with 20% down at 6.5%?", "how much interest will I pay on a $300,000 mortgage?" or "15 vs 30 year mortgage payment". Monthly principal and interest for a fixed rate loan, total interest, first payment split, balance after 5 years and the same loan on a 15 or 30 year term. Optional property tax, home insurance, HOA and PMI give the full monthly payment. Example: $320,000 at 6.5% for 30 years = $2,022.62 a month.
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": {
"annual_rate": "<annual_rate>"
},
"name": "calculate_mortgage_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Loan term in years (default 30). | |
| home_price | No | Home price in USD (or send loan_amount). | |
| annual_rate | Yes | Yearly mortgage rate in percent, e.g. 6.5. | |
| hoa_monthly | No | HOA dues per month in USD (default 0). | |
| loan_amount | No | Amount borrowed in USD (instead of home_price and down payment). | |
| down_payment | No | Down payment in USD (default 0). | |
| pmi_annual_percent | No | PMI as a yearly percent of the loan, e.g. 0.5 (default 0). | |
| property_tax_annual | No | Property tax per year in USD (default 0). | |
| down_payment_percent | No | Down payment as a percent of the price, e.g. 20 (instead of down_payment). | |
| home_insurance_annual | No | Home insurance per year in USD (default 0). |