ECB violations for a building
get_ecb_violationsLists DOB ECB/OATH violations for a building by BIN, with severity, hearing status and penalty balance, for questions about fines, hearings or amounts owed. Requires a BIN.
Instructions
List DOB ECB (Environmental Control Board / OATH) violations for one building by BIN, newest first, including severity, hearing status and penalty balance. Requires a BIN: if you only have an address, or are unsure of the BIN, call resolve_property first. Use when the question is about penalties, hearings or amounts owed. Not for DOB violation records themselves (use get_dob_violations) or HPD housing violations (use get_hpd_violations). ACTIVE records with hearing status WRITTEN OFF are flagged per record. Responses are capped at ~12,000 characters, so a large limit can return fewer records (see truncated); recency lists contain dated records only (see undated_excluded).
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": {
"bin": "<bin>"
},
"name": "get_ecb_violations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bin | Yes | 7-digit NYC Building Identification Number (BIN), e.g. "1015862". First digit is the borough (1-5). | |
| limit | No | Max records to return (1-100, default 25). | |
| status | No | Filter by status: "open" or "closed" (any letter case). Omit for both. |