Skip to main content
Glama

Get one NYC condo unit or co-op apartment

get_nyc_unit
Read-onlyIdempotent

Free. Reads one unit inside an NYC building: a condominium unit (its own tax lot) or a co-op apartment (shares, valued here by an estimate from recent sales in its line). Pass the building lot from find_nyc_property and the unit as the person wrote it, e.g. "14E", "Apt 1C" or "#PH-A". Use it whenever the person names a unit, apartment or penthouse; the building lot alone describes the whole building, not the unit.

Input Schema

NameRequiredDescriptionDefault
bblYesThe building's 10-digit lot (BBL) from find_nyc_property.
unitNoLeave out to list the building's units.

Output Schema

NameRequiredDescriptionDefault
unitYes
foundYes
knownUnitsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / unit / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "assessedValue": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "bbl": {
      -        "pattern": "^[1-5][0-9]{9}$",
      -        "type": "string"
      -      },
      -      "buildingBbl": {
      -        "pattern": "^[1-5][0-9]{9}$",
      -        "type": "string"
      -      },
      -      "buildingClass": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "condoName": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "counts": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "auctions": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "distress": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "documents": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "liens": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "loans": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "sales": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "sales",
      -          "documents",
      -          "loans",
      -          "liens",
      -          "auctions",
      -          "distress"
      -        ],
      -        "type": "object"
      -      },
      -      "designation": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "estimatedValue": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "basis": {
      -                "enum": [
      -                  "line",
      -                  "building"
      -                ],
      -                "type": "string"
      -              },
      -              "high": {
      -                "type": "number"
      -              },
      -              "low": {
      -                "type": "number"
      -              },
      -              "sales": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "since": {
      -                "type": "string"
      -              },
      -              "value": {
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "value",
      -              "low",
      -              "high",
      -              "sales",
      -              "basis",
      -              "since"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "floor": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "grossSquareFeet": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "kind": {
      -        "enum": [
      -          "condo",
      -          "coop"
      -        ],
      -        "type": "string"
      -      },
      -      "lastSaleDate": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "lastSalePrice": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "marketValue": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "taxClass": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "taxYear": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "kind",
      -      "bbl",
      -      "buildingBbl",
      -      "designation",
      -      "floor",
      -      "condoName",
      -      "taxYear",
      -      "marketValue",
      -      "assessedValue",
      -      "taxClass",
      -      "buildingClass",
      -      "grossSquareFeet",
      -      "lastSaleDate",
      -      "lastSalePrice",
      -      "estimatedValue",
      -      "counts"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "assessedValue": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "bbl": {
      +        "pattern": "^[1-5][0-9]{9}$",
      +        "type": "string"
      +      },
      +      "buildingBbl": {
      +        "pattern": "^[1-5][0-9]{9}$",
      +        "type": "string"
      +      },
      +      "buildingClass": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "condoName": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "counts": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "auctions": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "distress": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "documents": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "liens": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "loans": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "sales": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "sales",
      +          "documents",
      +          "loans",
      +          "liens",
      +          "auctions",
      +          "distress"
      +        ],
      +        "type": "object"
      +      },
      +      "designation": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "estimatedValue": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "basis": {
      +                "enum": [
      +                  "line",
      +                  "building"
      +                ],
      +                "type": "string"
      +              },
      +              "high": {
      +                "type": "number"
      +              },
      +              "low": {
      +                "type": "number"
      +              },
      +              "sales": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "since": {
      +                "type": "string"
      +              },
      +              "value": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "value",
      +              "low",
      +              "high",
      +              "sales",
      +              "basis",
      +              "since"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "floor": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "grossSquareFeet": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "kind": {
      +        "enum": [
      +          "condo",
      +          "coop"
      +        ],
      +        "type": "string"
      +      },
      +      "lastSaleDate": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "lastSalePrice": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "taxClass": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "taxYear": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "bbl",
      +      "buildingBbl",
      +      "designation",
      +      "floor",
      +      "condoName",
      +      "taxYear",
      +      "assessedValue",
      +      "taxClass",
      +      "buildingClass",
      +      "grossSquareFeet",
      +      "lastSaleDate",
      +      "lastSalePrice",
      +      "estimatedValue",
      +      "counts"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / unit / description
      Added value: +"Leave out to list the building's units."
    • changedInput schema / required
      Previous value: -[
      -  "bbl",
      -  "unit"
      -]New value: +[
      +  "bbl"
      +]
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already carry the read-only/idempotent/non-destructive safety profile, so the bar is lower, and the description still adds real context: it is explicitly 'Free,' it explains co-op valuation via recent sales in the line, and it clarifies the free-form unit input. It does not discuss error behavior for unknown units, which keeps it from a 5.

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-loads 'Free.' and the core action, then inputs, then usage trigger — well ordered and dense with no filler. Slightly long sentences but every clause carries new information.

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?

An output schema exists, so return-value detail is unnecessary. Given that, the description covers what the tool reads, how to supply both parameters, and the exact condition that selects it — nothing an agent needs in order to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description goes beyond the schema by giving format examples ('14E', 'Apt 1C', '#PH-A') and explaining that the unit is written the way the person wrote it. That materially helps an agent format a parameter the schema only loosely constrains with maxLength 40.

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?

States a specific verb and resource ('Reads one unit inside an NYC building') and immediately splits the domain into condominium unit vs co-op apartment, including how the co-op value is derived. It also distinguishes itself from building-level siblings by noting that 'the building lot alone describes the whole building, not the unit.' An agent can tell this apart from get_nyc_property/find_nyc_property without opening schemas.

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?

Gives a clear trigger ('Use it whenever the person names a unit, apartment or penthouse') and names the source of the required input ('the building lot from find_nyc_property'). It stops short of naming the exact building-level tool to use instead when no unit is named, but the negative condition is strongly implied.

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