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.

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.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the underlying report (TenantViolationsListing, report 637), that open_only=True hides closed items by default, how blank location resolves, and that an unreachable Location is reported as skipped rather than failing. The note that IDs belong to a single Location is important operational context an agent could not infer.

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?

Purpose and example queries are front-loaded before the parameter notes, so an agent can decide quickly. The location paragraph is long and uses dense backtick notation, but nearly every clause carries decision-relevant information.

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

Completeness5/5

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

With an output schema present and annotations covering the safety profile, the description supplies everything else needed: what the rows contain, the default filter, multi-location scoping semantics, and failure degradation. Nothing required for a correct call is missing.

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 coverage is 0%, so the description carries the burden, and it does so well for location (single ID, comma list, or "all"), open_only, portfolio, and property_ids. The limit parameter is left completely unexplained in the description, which is the one remaining gap.

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) with scope (open compliance items by property) and enumerates the returned fields — tenant, unit, date, code, status, stage, description. This clearly separates it from nearby siblings such as get_work_orders, get_resident_concerns, and analyze_evictions.

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?

Provides concrete example phrasings ("what violations are open at <park>", "compliance issues", "who has an open violation") that tell the agent when to select it, plus the open_only default behavior. It does not name a competing sibling or state exclusions, which keeps it just short of a 5.

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