Skip to main content
Glama

Violations on a building

property_violations
Read-onlyIdempotent

Open and historic enforcement against one building. New York City: the City feeds — HPD, DOB, ECB, FDNY, DOHMH, 311, boiler, facade, permits, DOB safety civil penalties, HPD emergency repair charges and the Alternative Enforcement Program, the DOF tax lien sale list, and the OATH summonses where Sanitation, Health, Fire and Consumer Protection penalties land. New Jersey: the state housing registry (NJ DCA Bureau of Housing Inspection, buildings of three or more units only) — bills owed, docketed judgments and inspections; state_registration says which registration and whether it was matched by address. Philadelphia (L&I violations, unsafe and imminently dangerous structures, and whether a rental license is active), Pittsburgh, Buffalo, Syracuse (including the unfit-for-occupancy list), Chicago, Boston, San Francisco, Los Angeles, Montgomery County MD, Hartford CT (building, housing code, blight, health and zoning), Cleveland, Columbus, Cincinnati, Austin, Seattle (violation cases, not complaints), New Orleans and Kansas City MO: the published code violations of that city or county. Statewide in New York, New Jersey and Connecticut the DEC remediation, DEP Known Contaminated Sites and CT DEEP contaminated-sites lists ride along. WARNING: read degraded and sources before you answer — a feed that did not respond is NOT a clean record; repeat notice, which says what the records do NOT cover (a Pittsburgh or Buffalo mailing address can be a suburb outside the city data; an HPD charge or a lien-sale listing does not say whether it was paid, so is_open is null); a New Jersey building with no single registration match (supported: false) is NOT clean — one- and two-family homes are not in the state registry; and everywhere else there is no live feed at all.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "property_id": "<property_id>"
    },
    "name": "property_violations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
sinceNoOnly return items issued on or after this ISO date.
property_idYes

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
countNo
noticeNoWhat the records cover and what they do not (a city's limits, a state list). Repeat it.
sourcesNo
summaryNo
degradedNo
propertyNo
supportedNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
violationsNo
jurisdictionNo
records_linkNo
degraded_noticeNo
total_availableNoHow many rows existed before truncation.
state_registrationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior5/5

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

Annotations only establish read-only, idempotent, non-destructive behavior; the description adds substantial context beyond that: a non-responding feed is not a clean record, `is_open` can be null because paid/unpaid status is unknown, out-of-city mailing addresses produce false coverage assumptions, and NJ one/two-family homes never appear in the state registry. This is exactly the kind of failure-mode disclosure an agent needs.

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

Conciseness3/5

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

The purpose is front-loaded and the critical WARNING block is well placed, but the middle is a single run-on sentence enumerating ~25 jurisdictions with nested parentheticals that is hard to scan. The information largely earns its place, but the packaging does not.

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 multi-jurisdiction aggregation tool this is close to complete: it discloses coverage per city, degraded-feed semantics, and output fields (`degraded`, `sources`, `notice`, `is_open`, `state_registration`) that an agent must interpret. The only real gap is the unexplained `property_id`/`limit` parameters.

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 coverage is only 33% — only `since` is documented — and the description never mentions `property_id`, `limit`, or `since` at all. With low coverage the description is expected to compensate, and it does not; an agent gets no guidance on what `property_id` refers to or what `limit` defaults to.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Open and historic enforcement against one building,' then enumerates the exact feeds (HPD, DOB, ECB, FDNY, 311, boiler, facade, permits) and cities covered. An agent can tell this is the violations tool rather than a filings or health-score tool, though no sibling is named explicitly for contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the coverage inventory and the WARNING block tells the agent it must read `degraded`/`sources`/`notice` before answering. However, there is no explicit statement of when to call this versus `building_health`, `property_required_filings`, or `property_tax_summary`, so the routing decision is left to inference.

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