Skip to main content
Glama

Raziel Calculators

Cap rate calculator

cap_rate
Read-onlyIdempotent

Capitalization rate of an income property (net operating income / property value), plus gross rent multiplier and price per unit. Give noi_usd directly or gross income and operating expenses. Use cash_on_cash when financing matters. Interactive version: https://raziel.co/tools/cap-rate-calculator

Input Schema

NameRequiredDescriptionDefault
unitsNoNumber of units, for price per unit. 0 to skip.
noi_usdNoAnnual net operating income. If omitted, gross income minus operating expenses is used.
gross_income_usdNoAnnual gross rental income.
property_value_usdYesPurchase price or current market value.
operating_expenses_usdNoAnnual operating expenses, excluding mortgage payments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuine value by disclosing the computation and the NOI derivation fallback, plus a note about the interactive version. It does not state output formatting (percent vs. decimal), which is the remaining gap.

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 short sentences, front-loaded with the core computation and followed by input guidance and the sibling routing. The external URL is the only arguably extraneous element.

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 no output schema, the description carries the return-value burden and does enumerate the three results, which is enough to call the tool correctly. Minor gap: it never says what units the cap rate is expressed in or how the results are shaped.

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 100%, so every parameter is already documented, including the NOI fallback rule. The description's either/or phrasing of noi_usd versus gross/expenses restates schema semantics rather than extending them. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names the specific metric and its formula (net operating income / property value), plus the two secondary outputs (gross rent multiplier, price per unit). It also explicitly distinguishes itself from the sibling cash_on_cash, so an agent can route without opening either schema.

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?

"Give noi_usd directly or gross income and operating expenses" gives explicit input paths, and "Use cash_on_cash when financing matters" names an alternative with the selecting condition. It does not address other valuation siblings (irr, moic, startup_valuation), but the key fork is covered.

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