Skip to main content
Glama

DSCR Loan Calculator

Calculate DSCR for a rental property loan

calculate_dscr
Read-onlyIdempotent

Debt service coverage ratio for a DSCR (investor) mortgage: qualifying rent / PITIA. Computes exact principal and interest with the annuity formula (monthly compounding, half-up cents) or the interest-only payment, adds tax, insurance, HOA and other housing costs per the Fannie Mae PITIA definition, and places the result in the common lender bands (1.25+, 1.00-1.24, 0.75-0.99, under 0.75) with sourced notes that minimums vary by lender. Returns JSON plus a plain summary and a dscrradar.com link.

Input Schema

NameRequiredDescriptionDefault
term_yearsNoAmortization term in years. Default 30.
loan_amountNoLoan amount in USD. Give this, or purchase_price plus down_payment_pct.
monthly_hoaNoMonthly HOA or association dues in USD. Default 0.
vacancy_pctNoVacancy allowance in percent of gross rent. Default 0. Many lenders use gross rent with no vacancy.
monthly_rentYesGross monthly market rent in USD (lease or appraiser rent schedule).
interest_onlyNoQualify on the interest-only payment (loan x rate / 12). Default false.
purchase_priceNoPurchase price in USD. Used with down_payment_pct when loan_amount is not given.
annual_rate_pctYesAnnual note rate in percent, e.g. 7.25. Up to 3 decimals.
annual_insuranceNoAnnual hazard insurance premium in USD. Default 0, but lenders always include it.
down_payment_pctNoDown payment in percent of price, e.g. 25.
annual_property_taxNoAnnual property tax in USD. Default 0, but lenders always include it.
monthly_other_housingNoOther monthly housing costs in PITIA, such as flood insurance, ground rent or special assessments. Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly/idempotent/closed-world, so the safety bar is low. The description adds genuinely useful behavior beyond that: the rounding convention (half-up cents), the interest-only alternative payment path, the Fannie Mae PITIA composition, the four lender bands, and the dual JSON + plain-summary + link return. It does not describe defaults or missing-cost behavior, which matters because several cost inputs default to 0 but lenders 'always include' them.

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 formula, then computation detail, then output shape — a logical order with no filler. The middle sentence is long and heavily compounded (formula, compounding, rounding, PITIA components, bands, sourcing note all in one), which costs some scannability.

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

Completeness4/5

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

With 12 parameters, no output schema, and the return format explained (JSON + summary + link), the description covers enough to call the tool correctly. The main gap is that it never says how defaults behave — e.g. whether omitted tax/insurance are silently treated as zero and how that shifts the ratio.

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 coverage is 100% and every parameter carries a description, so the schema does the heavy lifting. The description contributes only indirect semantics (what PITIA aggregates, that rent is 'qualifying' rent) without explaining params themselves, so baseline 3 applies.

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?

Names a specific verb and resource and immediately supplies the formula it implements (qualifying rent / PITIA), plus the exact computation path (annuity formula, monthly compounding) and the output shape. An agent can tell this is the core ratio calculator rather than the sibling solvers (max_loan_for_target_dscr, rent_needed_for_target_dscr) that invert the same formula.

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 implied by the input model (rent + PITIA costs in, ratio out), and the note that lender minimums vary gives context for interpreting results. However, the description never states when to call this versus the inverse siblings or compare_scenarios, and gives no exclusions or prerequisites.

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.