How much house a given income supports
affordabilityWorks backwards from income to a purchase price. Applies a debt-to-income cap to gross monthly income, subtracts existing monthly debts, then subtracts property tax, insurance and HOA, and solves for the loan that the remaining monthly budget supports at the given rate. Adds the down payment to get the price. Also returns the same answer at the 28%, 36%, 43% and 50% DTI caps so the caller can see how much the choice of cap moves the number.
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": {
"monthly_income": "<monthly_income>",
"annual_rate_percent": "<annual_rate_percent>",
"term_years": "<term_years>"
},
"name": "affordability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term_years | Yes | Term in years, e.g. 30. | |
| monthly_hoa | No | Optional monthly HOA in dollars. | |
| monthly_tax | No | Optional monthly property tax in dollars. | |
| down_payment | No | Cash available for down payment in dollars. Default 0. | |
| monthly_debts | No | Existing monthly debt payments (car, student, cards) in dollars. Default 0. | |
| monthly_income | Yes | Gross monthly income in dollars. Monthly, not annual — divide by 12 first. | |
| dti_cap_percent | No | Which DTI cap to headline. Default 36. | |
| monthly_insurance | No | Optional monthly homeowners insurance in dollars. | |
| annual_rate_percent | Yes | Expected nominal annual rate in percent, e.g. 6.5. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bands | Yes | ||
| citation | Yes | ||
| dti_used | Yes | ||
| max_loan | Yes | ||
| max_price | Yes | ||
| down_payment | Yes | ||
| max_monthly_pi | Yes | ||
| max_monthly_housing_budget | Yes |