Skip to main content
Glama

Analyze Loss to Lease

analyze_loss_to_lease
Read-onlyIdempotent

Loss to lease — gap between market rent and in-place rent on occupied units.

Runs SummaryRentRoll (report 69) over a full month and sums RM's Loss to Lease for occupied units by unit type, with market rent, in-place rent, the loss, and loss-as-%-of-market. The #1 multifamily revenue-capture metric: how far below market in-place rents sit and the renewal upside. Use for "what's our loss to lease", "how far below market are we", "which unit types have the biggest market gap". Requires market rent set on units. Always uses the full calendar month of as_of_date (defaults to the current month).

``location`` (optional): a Rent Manager Location ID, a comma-separated
list, or ``"all"`` to run across every Location on this connection (see
``list_locations``). Blank = all Locations if the connection has several,
else its only Location. Output is labelled per Location; a Location that
can't be reached is listed as skipped. IDs (property, tenant, ...) belong
to one Location, so pass that Location when you filter by one.

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": "analyze_loss_to_lease"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationNo
portfolioNo
as_of_dateNo
property_idsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / location
      Added value: +{
      +  "default": "",
      +  "title": "Location",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The readOnly/idempotent/non-destructive annotations already cover safety, and the description adds substantial context beyond them: which report is run, that results are summed by unit type, that the period is always the full calendar month of as_of_date, and that unreachable Locations are reported as skipped rather than silently dropped. The caveat that IDs belong to a single Location and must be paired with a location filter is exactly the kind of operational detail annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The metric definition and primary use cases are front-loaded, and every paragraph adds information. The location paragraph is longer than needed for what it conveys and could be tightened without losing the ID-scoping caveat.

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 read-only analytical tool with an output schema, the description covers the metric definition, data source, date semantics, and multi-Location behavior well. The only real gap is the unexplained portfolio and property_ids parameters, which matter given zero schema-level descriptions.

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 0%, so the description carries the burden, and it does well for location (ID, comma list, or "all", blank default behavior, per-Location labeling) and as_of_date (full calendar month, defaults to current month). However, portfolio and property_ids are never mentioned, leaving half the parameters undocumented anywhere.

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?

States a specific metric and resource — the gap between market rent and in-place rent on occupied units — and names the underlying report (SummaryRentRoll, report 69) plus the exact output fields. It is clearly distinct from the neighboring analyze_rent_roll and analyze_rent_composition because it focuses on the market-vs-in-place gap rather than the roll itself.

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?

Gives concrete trigger phrases ("what's our loss to lease", "how far below market are we", "which unit types have the biggest market gap") and a prerequisite (market rent must be set on units). It lacks an explicit negative case — e.g. when to prefer analyze_rent_roll or analyze_rent_composition — so it falls short of full when/when-not/alternatives coverage.

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