Cap rate
calculate_cap_rateCap rate calculator: NOI divided by purchase price, compared with the band stored in cap-rate-benchmarks.json for the ZIP's metro tier. Unknown ZIPs use the file's Tier 2 band, which is what the page does. Cash-on-cash, when financed, uses the page's 3% closing estimate. Bands are the file's estimated survey ranges, not a new comp.
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": {
"purchase_price": "<purchase_price>",
"annual_gross_rent": "<annual_gross_rent>",
"vacancy_pct": "<vacancy_pct>",
"op_expenses_annual": "<op_expenses_annual>",
"property_type": "<property_type>"
},
"name": "calculate_cap_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Optional. Used only to pick a tier already stored in zip_to_tier. | |
| financed | No | ||
| vacancy_pct | Yes | Percent, 0 to 100. | |
| interest_pct | No | ||
| loan_term_yrs | No | ||
| property_type | Yes | ||
| purchase_price | Yes | ||
| down_payment_pct | No | ||
| annual_gross_rent | Yes | ||
| op_expenses_annual | Yes |