Affordability
affordabilityEstimate maximum home price from gross income, monthly debts, down payment, rate, and term using DTI limits. Add property tax, insurance, and PMI for realistic estimates.
Instructions
Estimate the maximum home price from gross income, monthly debts, down payment, rate, and term. Uses front-end and back-end DTI limits (defaults 28 and 36). Property tax and insurance are optional percents of the price, and PMI is an optional percent of the loan charged above 80 percent LTV. Leaving tax and insurance at zero overstates the price. Results are estimates, not a preapproval.
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": {
"annualGrossIncome": "<annualGrossIncome>",
"annualInterestRate": "<annualInterestRate>",
"termYears": "<termYears>"
},
"name": "affordability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| termYears | Yes | Loan term in years, from 1 to 40. | |
| monthlyHoa | No | Monthly HOA dues in dollars. Defaults to 0. | |
| downPayment | No | Cash down payment in dollars. Defaults to 0. | |
| annualPmiRate | No | Yearly PMI as a percent of the loan amount, charged only when the loan is above 80 percent of the price. 0.5 means 0.5 percent. Defaults to 0. | |
| annualGrossIncome | Yes | Gross yearly income in dollars, before taxes. | |
| annualInterestRate | Yes | Annual mortgage rate as a percent. 6.5 means 6.5 percent. | |
| annualInsuranceRate | No | Yearly homeowners insurance as a percent of the home price. 0.35 means 0.35 percent. Defaults to 0. | |
| monthlyDebtPayments | No | Monthly debt payments other than the new mortgage, such as auto and student loans. Defaults to 0. | |
| maxBackEndDtiPercent | No | Maximum housing payment plus other debts, as a percent of gross monthly income. Defaults to 36. | |
| annualPropertyTaxRate | No | Yearly property tax as a percent of the home price. 1.1 means 1.1 percent. Defaults to 0. | |
| maxFrontEndDtiPercent | No | Maximum housing payment as a percent of gross monthly income. Defaults to 28. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| termYears | Yes | ||
| monthlyHoa | Yes | ||
| monthlyPmi | Yes | ||
| pmiApplied | Yes | ||
| downPayment | Yes | ||
| maxHomePrice | Yes | Highest price whose housing payment fits the tighter DTI limit. | |
| maxLoanAmount | Yes | ||
| housingAllowance | Yes | Monthly housing payment allowed by the tighter DTI limit. | |
| monthlyInsurance | Yes | ||
| backEndDtiPercent | Yes | Housing payment plus other debts, divided by gross monthly income, as a percent. | |
| bindingConstraint | Yes | ||
| annualInterestRate | Yes | ||
| frontEndDtiPercent | Yes | Housing payment divided by gross monthly income, as a percent. | |
| loanToValuePercent | Yes | ||
| monthlyGrossIncome | Yes | ||
| monthlyPropertyTax | Yes | ||
| totalMonthlyPayment | Yes | ||
| monthlyPrincipalAndInterest | Yes |