Skip to main content
Glama

Relendi — Commercial Real Estate Loan Tools

analyze_cash_out_refinance

Full cash-out refinance waterfall: the largest new loan the property supports across LTV, DSCR and debt-yield, then down through payoff, prepayment penalty and closing costs to net cash in hand. Includes NY CEMA savings when applicable. prepaymentPenaltyPercent is REQUIRED — omitting a penalty overstates the borrower's proceeds by its entire amount, so state 0 explicitly when there is none.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noiYes
rateYesNew loan rate, percent (6.85 = 6.85%)
stateYes
maxLtvNo
minDscrNo
cemaEnabledNo
minDebtYieldNo
propertyValueYes
amortizationYearsYes
existingLoanBalanceYes
prepaymentPenaltyPercentYesPercent of payoff balance. Required — state 0 if none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does so well. It discloses the calculation order, the conditional NY CEMA behavior, and the critical failure mode where omitting prepaymentPenaltyPercent overstates borrower proceeds. It stops short of describing exact output shape or side effects, but for an analysis tool this is strong transparency.

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

Conciseness5/5

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

Two dense, front-loaded sentences with no filler. The waterfall concept and the critical prepayment-penalty warning each earn their place without redundancy.

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?

Given 11 parameters, no output schema, and no annotations, the description gives a coherent mental model of the computation and the key required-input warning. It does not spell out optional-parameter defaults or full output field names, but the described waterfall is enough for correct selection and invocation.

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 coverage is only about 18%, so the description must compensate. It does so by mapping the loan-size constraints (LTV, DSCR, debt-yield) and by explaining the prepayment penalty semantics and the 'state 0 explicitly' rule. The remaining parameters like NOI, property value, and amortization years are not individually explained, but their meanings are clear from context.

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, compound objective — a 'full cash-out refinance waterfall' — and enumerates its outputs from the largest supported loan through payoff, prepayment penalty, and closing costs to net cash. This clearly differentiates it from siblings like size_loan and estimate_closing_costs, even without naming 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 intended scenario (cash-out refinance analysis) is strongly implied by 'Full cash-out refinance waterfall,' and the NY CEMA qualifier adds a state-specific condition. However, there is no explicit when-to-use versus alternatives guidance or exclusions, so the agent must infer the choice from the tool's name and content.

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