Skip to main content
Glama

List open violations, open DOB jobs and unpaid tickets

list_open_issues
Read-onlyIdempotent

List every open item for a property: DOB jobs with a permit issued but no sign-off, active DOB violations (the BIS list and DOB NOW safety violations), active ECB violations, open HPD violations, OATH tickets with an unpaid balance or a pending hearing, and vacate orders (active and rescinded) from DOB complaint dispositions and HPD. Each record has status, dates, a plain-English description and its source dataset. Vacate orders are also returned as vacate_orders, phrased as per city records. Requires one of "address", "bbl" or "bin".

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": "list_open_issues"
  }
}

Input Schema

NameRequiredDescriptionDefault
bblNo10-digit BBL (borough-block-lot), e.g. "3030090016". Send it as text.
binNo7-digit DOB building number (BIN), e.g. "3070696". Send it as text.
zipNoOptional 5-digit ZIP, sent as text
limitNoMaximum records per section
addressNoNYC street address, e.g. "98 Grattan St, Brooklyn". Units (Apt 3B), borough and ZIP are optional; a 10-digit BBL or 7-digit BIN also works.
boroughNoOptional: Manhattan, Bronx, Brooklyn, Queens or Staten Island

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / bbl / description
      Previous value: -"10-digit BBL (instead of address)"New value: +"10-digit BBL (borough-block-lot), e.g. \"3030090016\". Send it as text."
    • addedInput schema / properties / bin
      Added value: +{
      +  "description": "7-digit DOB building number (BIN), e.g. \"3070696\". Send it as text.",
      +  "type": "string"
      +}
    • addedInput schema / properties / borough
      Added value: +{
      +  "description": "Optional: Manhattan, Bronx, Brooklyn, Queens or Staten Island",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit / description
      Added value: +"Maximum records per section"
    • addedInput schema / properties / zip
      Added value: +{
      +  "description": "Optional 5-digit ZIP, sent as text",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and closed-world, so safety is covered; the description instead spends its budget on the ambiguity annotations cannot express — the definition of "open" per dataset and the fact that rescinded vacate orders are included, which is counterintuitive. It also discloses that vacate orders are surfaced twice (in-line and as a separate vacate_orders collection), a structural quirk an agent would not predict.

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 subject and the long category enumeration is justified because it is the only place "open" is defined. The third sentence about return-record fields and the vacate_orders duplication is compact and earns its space. Minor density cost from the parenthetical dataset names, but nothing is redundant.

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?

There is no output schema, and the description compensates by describing the record shape (status, dates, plain-English description, source dataset) and the parallel vacate_orders collection. Combined with the enumerated categories and the location requirement, an agent has everything needed to call and interpret this multi-dataset aggregation tool.

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 coverage is 100%, so the schema already documents format and examples for every parameter, and the description does not add syntax detail. It does add one genuinely new constraint not encoded in the schema — that one of address, bbl or bin must be supplied despite required_parameters being empty — but the remaining five parameters are left to the schema.

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?

Specific verb ("List") plus a precisely scoped resource — every open item for a property — with the item categories enumerated (DOB jobs without sign-off, BIS/DOB NOW violations, ECB violations, HPD violations, unpaid OATH tickets, vacate orders). The scope is clearly distinct from siblings like get_property or get_sales_history, which cover property attributes and transactions rather than open liabilities.

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?

The description defines what counts as "open" for each category (permit issued but no sign-off, unpaid balance or pending hearing), which is exactly the condition an agent needs to decide this tool answers the question. It also states the location prerequisite (address, bbl or bin). It stops short of naming when to prefer a sibling tool or what this tool does not cover, so it misses the top rung.

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