Skip to main content
Glama

Analyze Inspections

analyze_inspections
Read-onlyIdempotent

Inspection compliance + action items (InspectionActivity, 273).

Per-property inspection counts, open vs closed, action / severe / review-needed item totals, ranked by severity. Surfaces the worst inspections by severe-item count and an inspector leaderboard. Answers: 'which properties have open inspections', 'which inspections flagged the most severe items', 'how many inspections happened this quarter'.

``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.

Input Schema

NameRequiredDescriptionDefault
top_nNo
end_dateNo
locationNo
portfolioNo
start_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

A3.9/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 description's added value is the multi-Location execution semantics: per-Location labelled output and unreachable Locations reported as skipped. That is genuine beyond-schema behavior. It does not discuss cost, truncation of the leaderboard beyond top_n, or what 'ranked by severity' means numerically.

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?

Front-loaded with the purpose and metric inventory before parameter detail, which is the right order for an agent scanning definitions. The example-question list and the location paragraph are both useful, though the location block is dense and slightly repetitive about multi-Location defaulting.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-shape explanation is not required, and the scope/ranking description plus Location semantics cover the core. However, with 0% schema coverage, leaving the date range, portfolio, and property_ids parameters entirely unaddressed means an agent cannot know how to scope the analysis period without guessing.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry the full burden, yet it explains only 'location' in depth. Five parameters, including top_n, start_date, end_date, portfolio and property_ids, are never mentioned, and the date-window parameters matter a lot for an inspection-period analysis. Substantial documentation gap for a 6-parameter tool.

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?

Opens with a specific domain statement (InspectionActivity, 273) and then enumerates exactly what is computed: per-property counts, open vs closed, action/severe/review-needed totals, severity ranking, worst inspections, and an inspector leaderboard. The sample questions ('which properties have open inspections', 'how many inspections happened this quarter') make it distinguishable from neighbors like analyze_service_issues or get_work_orders.

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?

The example questions give clear situational context for when to reach for this tool, and the location paragraph explains multi-location defaulting plus the rule that filtering by a property/tenant ID requires passing the owning Location. It stops short of naming alternatives or exclusions (e.g. when to prefer analyze_service_issues over this), so it is clear context without explicit routing.

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