Skip to main content
Glama

Relendi — Commercial Real Estate Loan Tools

Stress-Test DSCR at Higher Rates

stress_test
Read-only

Stress a loan against rate shocks, income decline, and combined scenarios. Returns stressed DSCR per scenario with a pass/marginal/fail verdict — the same tests a credit committee runs. Rates are PERCENT (7.25 = 7.25%).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "netOperatingIncome": "<netOperatingIncome>",
      "loanAmount": "<loanAmount>",
      "propertyValue": "<propertyValue>",
      "rate": "<rate>",
      "amortizationYears": "<amortizationYears>"
    },
    "name": "stress_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateYesCurrent annual rate, percent (7.25 = 7.25%)
minDscrNo
loanAmountYes
propertyValueYes
amortizationYearsYesAmortization in years; 0 = interest-only
netOperatingIncomeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only cover the safety profile (readOnly, non-destructive, closed-world), so the description adds real value by disclosing that it evaluates multiple shock scenarios internally, returns a per-scenario DSCR, and assigns pass/marginal/fail verdicts. It does not disclose the magnitude of the rate shocks or income-decline assumptions applied, which materially affect results.

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?

Three short sentences, front-loaded with the action and followed by the return shape and the units caveat. Only the percent clarification is partly redundant with the schema's rate description, otherwise there is no filler.

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 six parameters, no output schema, and only safety annotations, the definition does the heavy lifting on return values by describing the per-scenario DSCR and verdict, which is the key missing structured information. Remaining gaps — the specific shock magnitudes and minDscr default behavior — are notable but secondary for correct invocation.

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 only 33%, so the description should compensate more than it does. It clarifies that rates are percent (7.25 = 7.25%), but that restates the schema's own description of the rate field, and it says nothing about minDscr's meaning, verdict thresholds, or the interest-only case for amortizationYears.

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?

States a specific verb and resource — 'Stress a loan against rate shocks, income decline, and combined scenarios' — plus the returned artifact (stressed DSCR per scenario with a verdict). It is clear what the tool does, though it never names a sibling to distinguish itself from run_scenario or calculate_metrics.

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 phrase 'the same tests a credit committee runs' implies the due-diligence context where this tool is appropriate, but there is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives such as run_scenario. Usage is inferable rather than stated.

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