Skip to main content
Glama

Relendi — Commercial Real Estate Loan Tools

stress_test

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%).

Input Schema

TableJSON 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.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It transparently explains what happens (stress testing against specified shocks) and what is returned (stressed DSCR and verdicts). The unit clarification for rates is valuable. It does not address side effects, but the 'returns' phrasing implies a read-only calculation, which is reasonable for this tool.

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?

Three sentences with no filler. The first sentence front-loads the action and scenarios, the second states the output and verdict, and the third gives the critical unit caveat. Every sentence earns its place.

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?

The description covers scenarios, return value, verdict types, and rate units, which is strong for a no-output-schema tool. However, it omits the meaning of minDscr and the exact stress-test scenario parameters, leaving the agent to infer some input semantics from the schema names.

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

Parameters2/5

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

Schema description coverage is only 33%, so the description needs to compensate. It adds only the rate-unit clarification, which is already present in the rate schema description. It does not explain minDscr, which appears to be the pass/marginal/fail threshold, nor does it clarify how propertyValue, loanAmount, or netOperatingIncome feed the scenarios.

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 states a specific verb ('Stress'), a specific resource ('a loan'), and the exact scenarios tested (rate shocks, income decline, combined). It also names the output (stressed DSCR per scenario with pass/marginal/fail verdict). It does not explicitly differentiate from sibling run_scenario, but the specialized scope is clear.

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: whenever a loan needs credit-committee-style stress testing. It mentions the scenario types and outputs, giving an agent enough context to select it. However, it gives no explicit guidance about when not to use it or which sibling alternative (e.g., run_scenario, calculate_metrics) would be more appropriate.

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