Calculate debt-to-income ratios
calculate_dtiCalculates front-end (housing) and back-end (total) debt-to-income ratios from monthly income and monthly payments, and compares them with the published limits of Fannie Mae, Freddie Mac, FHA, VA and USDA, automated and manual underwriting listed separately. Each limit carries its guideline citation (document, section, version, page, cite_as). With loan_amount, state and family_size it also returns VA's minimum residual income. Pure calculation: an estimate, not an underwriting decision.
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>",
"housing_payment": "<housing_payment>"
},
"name": "calculate_dti"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Two-letter state code of the property, e.g. 'TX'; selects VA's residual income region. | |
| auto_loans | No | Monthly auto loan and lease payments. Default 0. | |
| family_size | No | Number of people in the household, for VA's residual income table. | |
| loan_amount | No | Loan amount in dollars; selects VA's residual income table (below or from $80,000). | |
| other_debts | No | Any other monthly debt payments, such as payments on other real estate. Default 0. | |
| credit_cards | No | Minimum monthly payments on credit cards and other revolving accounts. Default 0. | |
| student_loans | No | Monthly student loan payments as the agency counts them. Default 0. | |
| monthly_income | Yes | Gross monthly qualifying income of all borrowers, in dollars. | |
| housing_payment | Yes | Proposed total monthly housing payment in dollars: principal and interest, property taxes, insurance, mortgage insurance and HOA dues. | |
| residual_income | No | The borrower's monthly residual income by VA's method, compared with VA's minimum. | |
| installment_loans | No | Other monthly installment loan payments. Default 0. | |
| alimony_child_support | No | Monthly alimony, child support and separate maintenance payments. Default 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||