Mortgage Affordability
mortgage-affordabilityMaximum loan and home price the income supports: the DTI cap on gross monthly income (less existing debts) sets the payment, whose present value at the rate and term is the loan.
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": {
"annualIncome": "<annualIncome>",
"dtiPct": "<dtiPct>",
"rate": "<rate>",
"termYears": "<termYears>"
},
"name": "mortgage-affordability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | Annual interest rate in percent. | |
| dtiPct | Yes | Max share of gross monthly income for the payment, in percent (e.g. 36). | |
| termYears | Yes | Loan term in years. | |
| downPayment | No | Optional. Cash down payment, added to the loan for the home price (default 0). | |
| annualIncome | Yes | Gross annual income. | |
| monthlyDebts | No | Optional. Existing monthly debt payments (default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxLoan | No | Max loan. | |
| maxHomePrice | No | Max home price. | |
| maxMonthlyPayment | No | Max payment. |