Calculate GDS and TDS
calculate_debt_serviceMUST use this tool when the user supplies a monthly mortgage payment and asks for Canadian GDS or TDS. Calculate the ratios directly from that payment, income, and monthly obligations. Do not request principal, contract rate, or amortization, and do not use calculate_qualification when the monthly payment is already supplied. Ratios are not an approval or suitability decision. Use only with explicit, non-identifying numeric inputs. Calculation only: never use this tool to approve, deny, underwrite, recommend, select a lender or product, or fill missing inputs from prior chats, files, accounts, documents, websites, or web search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| housing | No | ||
| tolerances | No | ||
| jurisdiction | No | Canadian calculations only. | CA |
| effectiveDate | Yes | Date the supplied rates and policy assumptions were confirmed. | |
| monthlyPayment | Yes | Monthly mortgage principal-and-interest payment in Canadian dollars. | |
| grossAnnualIncome | Yes | Gross annual household income in Canadian dollars. | |
| otherMonthlyDebts | No | Total other monthly debt obligations in Canadian dollars. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| currency | Yes | ||
| disclaimer | Yes | ||
| calculation | Yes | ||
| jurisdiction | Yes | ||
| effectiveDate | Yes | ||
| calculationVersion | Yes |