Skip to main content
Glama

Bedcount: student housing data by campus

Size a student housing loan by the bed

size_loan
Read-onlyIdempotent

The studenthousing.loans by-the-bed loan sizer: from beds, rent per bed, months collected, vacancy, expenses, reserves, value and your own interest rate, returns net operating income and the loan allowed by max LTV, min DSCR and an optional debt yield, the maximum loan (the smallest), which test binds, annual debt service and loan per bed. Presets are Freddie Mac's published student housing LTV/DSCR tiers.

Input Schema

NameRequiredDescriptionDefault
bedsYesNumber of beds.
valueYesProperty value or purchase price, dollars.
presetNoFreddie Mac student housing tier: freddie_5_7yr = 75% LTV / 1.30x; freddie_over_7yr = 80% / 1.30x; freddie_full_io_5_7yr = 65% / 1.30x, interest only.freddie_5_7yr
min_dscrNoMinimum debt service coverage, e.g. 1.25. Overrides the preset.
max_ltv_pctNoMax loan-to-value, percent. Overrides the preset.
vacancy_pctNoVacancy, concessions and bad debt, percent of rent. Default 5, Fannie Mae's by-the-bed floor with a T-12 (10 without one).
months_collectedNoMonths of rent collected a year: 12 on 12-month leases, less if summer is empty.
interest_rate_pctYesYour own quoted interest rate, percent, e.g. 6.25.
opex_per_bed_yearYesOperating expenses per bed per year (taxes, insurance, payroll, utilities, turnover), dollars.
amortization_yearsNoAmortization in years, 0 = interest only. Default 30 (0 with the full-IO preset).
min_debt_yield_pctNoMinimum debt yield, percent. Omit or 0 to skip the test.
rent_per_bed_monthYesRent per bed per month, dollars.
reserves_per_bed_yearNoReplacement reserves per bed per year, dollars. Default 150, Freddie Mac's stated minimum per bed.
other_income_per_bed_monthNoOther income per bed per month (parking, fees, utility bill-backs), dollars.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description goes beyond them by disclosing the computation logic — that the maximum loan is the smallest of the LTV, DSCR and debt-yield tests and which test binds — which is meaningful behavioral context for interpreting results. It doesn't cover error behavior or unit handling, keeping it at 4.

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

Conciseness3/5

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

Purpose is front-loaded in the first clause, but the rest is a single run-on sentence that strings inputs, outputs, override logic and preset provenance together without punctuation breaks. It is dense but readable; splitting the return-value clause out would help scanning.

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 14 parameters and no output schema, the description's enumeration of return values (NOI, max loan, binding test, debt service, loan per bed) fills the gap the missing output schema leaves. Preset override semantics are implied through the schema rather than stated in the description, a minor shortfall.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3; the description earns the bump by naming the input families (beds, rent per bed, months collected, vacancy, expenses, reserves, value, own interest rate) and flagging the debt yield as optional and the rate as 'your own,' i.e. an override rather than a preset value.

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 names a specific verb and resource ('by-the-bed loan sizer') and enumerates both the input drivers and the outputs (NOI, max loan, binding test, annual debt service, loan per bed). Siblings (get_campus, search_campuses) are unrelated lookups, so no differentiation burden exists, but the scope statement is precise regardless.

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?

It implies usage context by calling itself a loan sizer and by explaining that presets are 'Freddie Mac's published student housing LTV/DSCR tiers,' and it notes min_debt_yield is optional. It never states when to use this vs. an alternative, nor any precondition such as needing a property value or a quoted rate before sizing.

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.

Resources