Skip to main content
Glama

UQUAL Loan Readiness

Calculate Mortgage DTI & Agency Limits

calculate_mortgage_dti
Read-onlyIdempotent

Computes front-end and back-end mortgage debt-to-income (DTI) ratios, student loan agency imputations (Fannie Mae, Freddie Mac, FHA, VA), maximum allowable monthly debt across FHA (31/43 standard, 46.99/56.99 AUS), Conventional (28/36 to 45/50 AUS), VA (41% benchmark), and USDA (29/41), plus exact monthly dollar debt reduction needed.

Input Schema

NameRequiredDescriptionDefault
hoaOrMudDuesNoMonthly HOA, condo, or MUD dues in USD.
propertyTaxesNoMonthly property tax escrow amount in USD.
autoLoanPaymentsNoTotal monthly auto loan or lease payments in USD.
otherMonthlyDebtNoOptional combined non-housing monthly debt payments (excluding student loans if studentLoanBalance is provided).
estimatedPmiOrMipNoMonthly private mortgage insurance (PMI) or FHA/USDA annual fee in USD.
creditCardMinimumsNoTotal monthly minimum payments across revolving credit cards in USD.
grossMonthlyIncomeYesGross pre-tax monthly qualifying household income in USD (for example 7500).
studentLoanBalanceNoTotal outstanding student loan balance in USD.
debtBalanceToPayOffNoOptional target debt balance to eliminate in lump-sum DTI tradeoff simulation in USD.
homeownersInsuranceNoMonthly hazard/homeowners insurance amount in USD.
studentLoanPlanTypeNoRepayment status of federal or private student loans.forbearance_deferment
availableLumpSumCashNoOptional liquid cash available to test lump-sum debt paydown vs reserve retention in USD.
principalAndInterestNoMonthly mortgage principal and interest payment in USD.
proposedHousingPaymentNoOptional total monthly proposed PITI + MIP/PMI + HOA housing payment in USD. Used when individual housing components are omitted.
alimonyChildSupportOtherNoMonthly court-ordered support or other recurring credit-report obligations in USD.
monthlyPaymentEliminatedNoOptional monthly payment eliminated if target debt is paid off in USD.
personalInstallmentLoansNoTotal monthly personal or installment loan payments in USD.
selectedStudentLoanAgencyNoAgency rule used to impute or accept monthly student loan payment.fha
reportedStudentLoanPaymentNoMonthly student loan payment shown on credit report or servicer letter in USD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's contribution is the computational behavior: it discloses the exact agency rule sets applied (FHA 31/43 and AUS 46.99/56.99, Conventional 28/36 to 45/50, VA 41, USDA 29/41) and that results are deterministic. That is meaningful added context an agent could not get from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the verb and the primary outputs, with no filler wording. The downside is that it is a single dense mega-sentence whose long list of agency thresholds is hard to parse, but every clause carries substantive information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 19-parameter calculator with no output schema, the description never characterizes the returned payload — presumably a structured object with front-end/back-end ratios per agency, per-agency limits, and paydown deltas. An agent cannot anticipate the response shape or which fields map to which computed scenario.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 19 parameters in detail, including the student-loan plan and agency enums. The description restates the agency imputation concept but adds no syntax, precedence, or interaction rules beyond what the schema says — the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Computes') plus the concrete artifacts produced: front-end and back-end DTI ratios, agency-specific student loan imputations, maximum allowable monthly debt per agency, and dollar debt reduction. It is clearly distinguishable from siblings like calculate_mortgage_affordability or compare_fha_vs_conventional, which do different jobs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the enumeration of outputs — an agent can infer 'call this when you need DTI math and agency caps.' There is no explicit when-to-use statement, no exclusions, and no pointer to the related siblings such as simulate_debt_payoff_and_readiness for the lump-sum tradeoff scenario.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.