Skip to main content
Glama

apartment.loans: apartment loan sizing

Compare agency loan programs

compare_programs
Read-onlyIdempotent

Max refinance loan under each agency program's published limits (Fannie Mae Small Loans, Freddie Mac Conventional Small, HUD 223(f)) plus a bank case.

Input Schema

NameRequiredDescriptionDefault
noiYesNOI, dollars per year
rateYesRate to test, percent
unitsNoNumber of units
valueYesAppraised value, dollars
payoffNoCurrent loan payoff, dollars

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful scope by naming the agency programs and the bank case, but it does not disclose calculation assumptions, output format, or limitations.

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 a single compact sentence fragment that front-loads the key scope and lists the relevant programs efficiently. It is concise, though the lack of a clear verb makes it slightly less structured than an ideal definition.

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?

There is no output schema, so the description should carry more of the burden for explaining what the comparison returns and how it is calculated. It does state the high-level output (maximum loan under each program plus a bank case), but it omits assumptions, output structure, and interpretation of the bank case.

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 five parameters are already documented in the input schema. The description adds no parameter-level meaning beyond the refinance context, so the baseline score of 3 is appropriate.

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

Purpose4/5

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

The description identifies the resource and scope: maximum refinance loan amounts under three named agency programs plus a bank case. This is more specific than the tool name alone, though it does not explicitly distinguish the tool from siblings such as match_programs or size_loan.

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

Usage Guidelines2/5

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

The description states what the tool computes but gives no explicit guidance on when to use it versus alternatives like match_programs or size_loan. The refinance context is implied, but there are no conditions, exclusions, or prerequisite guidance.

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