Skip to main content
Glama

DSCR Loan Calculator

Rent needed to reach a target DSCR

rent_needed_for_target_dscr
Read-onlyIdempotent

Solves for the smallest monthly rent (to the cent, and rounded up to whole dollars) that reaches a target DSCR (default 1.25) for a given loan, rate, term, tax, insurance, HOA and vacancy. Also returns the rent for 0.75, 1.00 and 1.25. Rounds up, never down, so the rent always meets the target.

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.
target_dscrNoTarget DSCR, e.g. 1.25 or 1.0. Default 1.25.
vacancy_pctNoVacancy allowance in percent of gross rent. Default 0. Many lenders use gross rent with no vacancy.
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.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior. The description adds meaningful behavioral detail beyond that: it rounds up to whole dollars and never down so the target is always met, and it returns rents for 0.75, 1.00 and 1.25 in addition to the target rent.

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?

The description is front-loaded and appropriately short, stating the main result first and then the additional DSCR outputs. It has minor redundancy in saying both 'rounded up to whole dollars' and 'Rounds up, never down', but the repetition reinforces an important behavior.

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?

For a 12-parameter calculation tool with no output schema, the description adequately explains what is computed, the default target, rounding behavior, and alternate DSCR outputs. The exact output structure is not spelled out, but the essential return semantics are clear enough for an agent to call it correctly.

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 all 12 parameters are already well documented in the schema. The description mentions the major input categories and the default target DSCR, but adds no syntax, format, or interpretation details beyond what the schema provides.

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?

The description uses a specific verb and resource: it 'solves for the smallest monthly rent' that reaches a target DSCR, with scope defined by loan, rate, term, tax, insurance, HOA and vacancy. This clearly distinguishes it from siblings such as calculate_dscr and max_loan_for_target_dscr without needing to name them.

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?

The description implies when to use the tool by stating it solves for required rent against a target DSCR and defaults target_dscr to 1.25. However, it does not explicitly say when to choose this versus calculate_dscr or max_loan_for_target_dscr, leaving alternatives to inference.

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.