Skip to main content
Glama
nyc-violations-mcp

nyc-violations-mcp

by am718

Resolve NYC property

resolve_property
Read-onlyIdempotent

Normalize a NYC property to address, BIN, BBL, and borough from a street address, BIN, or BBL. Use before fetching violations to verify property identity and resolve ambiguous addresses.

Instructions

Normalize a NYC property to {address, bin, bbl, borough}. Give ONE of address, bin or bbl (bin and bbl may be given together to verify they match). Use this FIRST when you only have a street address, or to check that a BIN/BBL pair refers to the same property. Addresses need a house number and street, and a borough is strongly recommended. Input that names only a borough, city or zip code, an address that does not match the closest NYC address found, and an address that matches more than one building (e.g. the same address in two boroughs) each return an error listing the candidates and their BINs instead of a building. Not for fetching violations: use the get_*_violations tools or building_compliance_summary after resolving.

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

Input Schema

NameRequiredDescriptionDefault
bblNo10-digit Borough-Block-Lot (BBL), e.g. "1008350041" (also accepts "1-00835-0041").
binNo7-digit NYC Building Identification Number (BIN), e.g. "1015862". First digit is the borough (1-5).
addressNoNYC street address including borough, e.g. "350 5th Ave, Manhattan".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world nature, yet the description still adds real behavioral detail: which inputs produce errors, that errors list candidate BINs rather than resolving, and the ambiguity rule for multi-building addresses. Remaining gaps are minor, such as whether results are authoritative or cached, so it does not quite reach 5.

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

Conciseness5/5

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

Four dense sentences, front-loaded with purpose, output shape and input rule, then error behavior, then the anti-pattern. No filler and nothing repeated from the schema strings.

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 naming the returned fields and describing the error payload (candidate list with BINs). For a 3-parameter resolver with zero required fields, an agent has everything needed to call it and to interpret failures.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so a 3 is the baseline, but the description supplies a cross-parameter rule the schema cannot express: exactly ONE of address, bin or bbl, with bin+bbl permitted together only for verification. It also adds practical address requirements (house number plus street, borough strongly recommended) beyond the schema's generic example.

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?

Opens with a specific verb and resource plus the exact return shape: "Normalize a NYC property to {address, bin, bbl, borough}." It is clearly distinguishable from the sibling get_*_violations tools, which it explicitly names as a different job.

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

Usage Guidelines5/5

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

States ordering and conditions explicitly: "Use this FIRST when you only have a street address, or to check that a BIN/BBL pair refers to the same property." It also names the excluded use case and redirects to the correct siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.