Check NYC building compliance
check_building_complianceLook up a New York City building by street address and return its compliance record from official city datasets: open HPD housing violations, DOB building violations and ECB summonses (open/closed from each agency's official status field), penalties imposed on retrieved ECB records (not a current balance), DOB complaints (reported separately, not counted as violations), critical/warning signals (expired HPD registration, vacate orders, tax-lien list, etc.), a preview of the most recent violations per agency, and inspection status for boilers, facades (LL11), and elevators (elevator records are device inventory, not test results, so they are UNKNOWN unless a record shows a problem). The address must resolve to a verified NYC building (BIN); otherwise the tool returns error.code not_found, and upstream if the city lookup failed. Each source returns at most 100 newest records: a count is exact only when the source is complete, and is null when truncated, failed, when a status is unknown, or when returned rows had to be excluded (excludedCount), with retrievedCount and knownOpenCount given instead. Check quality.complete, quality.failedSources and quality.truncatedSources before saying a building has no violations; absence of records is not proof of compliance. Use this first whenever a user asks about violations, fines, safety issues, or risk for a specific NYC address. Returns matchedProperty.bin and .bbl, which other tools accept, and summary.hpdOpenViolations for get_zip_peer_stats. Only NYC addresses are supported. The response is a free preview (at most 100 records per source); the $49 Pijexa Due Diligence Report described in reportOffer reads every available record page per source and adds OATH hearing and FDNY records.
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": {
"address": "<address>"
},
"name": "check_building_compliance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Street address of the building, e.g. "123 Smith Street" or "123 Smith Street, Brooklyn, NY 11201". Include the borough or ZIP in the string, or pass it separately. | |
| borough | No | NYC borough. Optional if the address text already names the borough or contains a NYC ZIP code. |