Skip to main content
Glama

Analyze Occupancy Trend

analyze_occupancy_trend
Read-onlyIdempotent

12-month physical occupancy trend — monthly occupied % across the year.

Runs RM's ReportWriter '12-Month Vacancy/Occupancy Report' (looked up by name), a per-unit Occupied/Vacant matrix, rolled up to a monthly occupancy rate for the portfolio and per property. Use for "occupancy trend this year", "is occupancy improving month over month", "which parks drag occupancy down". Scope to a portfolio/property set — this report times out across every property at once (unscoped is fanned out in batches, slower). Months after the current one are forward-looking (scheduled move-ins/outs).

``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_occupancy_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationNo
portfolioNo
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.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description still adds real behavior: the named source report, fan-out/batching on unscoped runs, timeouts across all properties, forward-looking months containing scheduled move-ins/outs, and skipped-location reporting. That is meaningful context beyond annotations, but return shape and latency expectations remain only partly addressed (the output schema absorbs the rest).

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 scoping caveat are front-loaded before the parameter notes, and each block earns its place. Some phrasing is heavier than needed (nested quoting of intent phrases, repetition of 'Location' in the last paragraph), which keeps it short of max.

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 an output schema present, the description need not describe results, and it still covers source report, aggregation level, timeout/fan-out behavior, and forward-looking months. The one substantive hole is that portfolio and property_ids are never defined, leaving two of three optional inputs to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the lengthy location paragraph more than compensates for one parameter: accepted forms (single ID, comma list, 'all'), blank default resolution, per-Location output labelling, skipped Locations, and the rule that IDs belong to one Location so it must be passed when filtering by ID. portfolio and property_ids receive no explanation at all, so not every gap is closed.

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 resource and measurement: '12-month physical occupancy trend — monthly occupied % across the year', plus the underlying source ('12-Month Vacancy/Occupancy Report' rolled up from a per-unit Occupied/Vacant matrix). The trend-over-time framing and portfolio/property granularity make it distinguishable from a point-in-time vacancy or availability report.

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 user-intent phrases ('occupancy trend this year', 'is occupancy improving month over month', 'which parks drag occupancy down') and explicit scoping advice with the reason (unscoped runs are fanned out in batches and slower). It does not explicitly contrast with siblings like analyze_vacancy or analyze_availability, so the alternative routing is left implicit.

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