Skip to main content
Glama

Relendi — Commercial Real Estate Loan Tools

Calculate CRE Loan Metrics (DSCR, LTV, Debt Yield)

calculate_metrics
Read-only

Compute the standard commercial real estate underwriting metrics from raw figures: NOI, cap rate, DSCR, debt yield, LTV, LTC, operating expense ratio, break-even occupancy and yield on cost. Supply whatever you have — each metric is returned only when its inputs are present, with the formula used. Use this instead of computing CRE ratios yourself.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculate_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
rateNoDECIMAL (0.0725 = 7.25%), used to derive debt service
loanAmountNo
annualRevenueNoGross/effective annual revenue
propertyValueNo
purchasePriceNo
annualExpensesNoAnnual operating expenses (excl. debt service)
totalProjectCostNoFor LTC and yield-on-cost
amortizationYearsNo
annualDebtServiceNoAnnual, not monthly
netOperatingIncomeNoSupply directly, or let it derive from revenue - expenses

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?

The annotations already establish that this is a read-only, non-destructive, closed-world operation. The description adds useful behavioral detail beyond annotations: partial inputs are accepted, each metric is returned only when its inputs are present, and the formula used is included. It does not discuss error handling or edge cases, but the core calculation behavior is disclosed.

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?

The description is compact and front-loaded: it names the calculation purpose and metric list before explaining input flexibility and output behavior. The metric list is long but earns its place by defining scope. No sentence is redundant or wasteful.

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?

For a calculator with ten optional parameters and no output schema, the description does a good job explaining that results are conditional on supplied inputs and include the formula used. It does not fully document which combinations produce which metrics or how derived debt service is calculated, but the annotations cover safety and the schema covers many individual inputs. The description is largely complete 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 description coverage is 60%, so the schema already documents several important inputs such as rate as a decimal and annualDebtService as annual rather than monthly. The description adds some meaning by naming the output metrics and explaining that inputs may be supplied partially. However, it does not explain the mapping from undocumented parameters such as loanAmount, propertyValue, purchasePrice, and amortizationYears to the metrics they affect.

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 and resource: compute commercial real estate underwriting metrics from raw figures. It lists the metrics produced, including NOI, cap rate, DSCR, debt yield, LTV, LTC, operating expense ratio, break-even occupancy, and yield on cost. It is clear, but it does not explicitly distinguish itself from named sibling tools such as calculate_payment, size_loan, or stress_test.

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

Usage Guidelines4/5

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

The description gives clear usage context by saying to supply whatever figures are available and that only metrics with present inputs are returned. It also tells the agent to use this tool instead of computing CRE ratios itself. It does not provide explicit when-not guidance or name sibling-tool alternatives, so it stops short of the highest score.

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