Calculate Metrics
calculate_metricsCompute 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
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | DECIMAL (0.0725 = 7.25%), used to derive debt service | |
| loanAmount | No | ||
| annualRevenue | No | Gross/effective annual revenue | |
| propertyValue | No | ||
| purchasePrice | No | ||
| annualExpenses | No | Annual operating expenses (excl. debt service) | |
| totalProjectCost | No | For LTC and yield-on-cost | |
| amortizationYears | No | ||
| annualDebtService | No | Annual, not monthly | |
| netOperatingIncome | No | Supply directly, or let it derive from revenue - expenses |