Skip to main content
Glama

Get Lease Violations

get_lease_violations
Read-onlyIdempotent

Lease / community-rule violations — open compliance items by property.

Runs TenantViolationsListing (report 637): each violation's tenant, unit, date, code (Yard Appearance, Vehicle Violation, ...), status (Open/Closed), stage (Warning / Fine / Stage N), and description. Use for "what violations are open at ", "compliance issues", "who has an open violation". open_only (default True) hides closed items; scope via portfolio/ property_ids.

``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": "get_lease_violations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
locationNo
open_onlyNo
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
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, so the bar is lower; the description still adds real behavior: open_only hides closed items by default, blank location fans out to all Locations, output is labelled per Location, and unreachable Locations are reported as skipped. These fan-out and skip semantics are exactly what an agent needs before calling. Only the `limit` behavior (pagination/truncation) is left undisclosed.

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 one-line purpose, then the report source, then return fields, then scoping notes. Slightly verbose with backtick-quoted asides and the closing caveat about ID locality, but every sentence carries information.

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?

An output schema exists, so return values need not be re-described, and the multi-Location fan-out/skip behavior is covered. For a 5-param, zero-coverage schema the only material gap is the undocumented `limit` parameter and its truncation semantics.

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 full burden. It does a thorough job on `location` (single ID, comma-separated list, 'all', blank-default resolution) and explains `open_only`, `portfolio` and `property_ids`, but `limit` is never mentioned and no format examples are given for property_ids.

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 ('lease / community-rule violations — open compliance items by property') and backs it with the underlying report (TenantViolationsListing, report 637) and the exact fields returned. An agent can distinguish it from get_resident_concerns or get_work_orders without opening the 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?

Gives concrete triggering queries ('what violations are open at <park>', 'who has an open violation') and explains scope selection via portfolio/property_ids plus open_only defaulting to True. It points to list_locations for resolving IDs but never states when to prefer a different tool over this one.

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