Skip to main content
Glama

Local Law 97 building detail

ll97_building
Read-onlyIdempotent

Local Law 97 detail for one building: emissions by fuel, how the cap is derived from its occupancy mix, the penalty trajectory through 2049, the status of each annual emissions report, its own electricity, gas and water use beside the average home and the median benchmarked building in its ZIP code and the state average (usage: context only, it never changes the cap or the penalty, and a section whose status is not "ok" could not be read and is NOT a zero), and — when the owner has connected ENERGY STAR Portfolio Manager — whether the building is ready for the City's benchmarking filing, check by check. Caps for 2035 onward are modeled, not yet law — the response flags which. A benchmarking check marked "unknown" could not be read and is NOT a pass; Seayora never files with the City, and changes to Portfolio Manager are approved by the owner in the app, not here.

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": {
      "property_id": "<property_id>"
    },
    "name": "ll97_building"
  }
}

Input Schema

NameRequiredDescriptionDefault
property_idYesThe Seayora property id.

Output Schema

NameRequiredDescriptionDefault
bblNo
nameNo
noteNoWhy the result was truncated, when it was.
usageNoUtility usage around the building: its own energy and water beside homes and benchmarked buildings in its ZIP code and the state average. Context only, it never changes the cap or the penalty. A section whose status is not "ok" could not be read or has no published figure (its reason says which) and is NOT a zero.
addressNo
pathwayNo
reportsNo
positionNo
data_yearNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
disclaimerNo
trajectoryNo
data_sourceNo
property_idNo
benchmarkingNoENERGY STAR Portfolio Manager benchmarking readiness. connected=false: nothing is linked; connected=null with status "unknown": the connection could not be read (not the same as not connected). An item whose status is "unknown" could not be checked and is NOT a pass.
energy_gradeNo
generated_atNo
covered_by_ll97No
total_availableNoHow many rows existed before truncation.
gross_floor_areaNo
energy_star_scoreNo
occupancy_mix_confirmedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / usage
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Utility usage around the building: its own energy and water beside homes and benchmarked buildings in its ZIP code and the state average. Context only, it never changes the cap or the penalty. A section whose status is not \"ok\" could not be read or has no published figure (its reason says which) and is NOT a zero.",
      +  "properties": {
      +    "caveats": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "comparisons": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "ratio": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "sentence": {
      +            "type": "string"
      +          },
      +          "verdict": {
      +            "description": "higher, similar or lower.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "sections": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "figures": {
      +            "items": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "label": {
      +                  "type": "string"
      +                },
      +                "note": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "unit": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "note": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "period": {
      +            "additionalProperties": true,
      +            "type": [
      +              "object",
      +              "null"
      +            ]
      +          },
      +          "place": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "reason": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "section": {
      +            "type": "string"
      +          },
      +          "source": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "description": "ok, no_data, withheld, unavailable or not_configured. Only ok carries figures; the others say why in reason.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: sections with status not 'ok' are not zeros, 'unknown' checks are not passes, modeled vs statutory caps are flagged, and Seayora never files with the City while Portfolio Manager changes are owner-approved in-app. That is real context beyond the structured fields.

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

Conciseness3/5

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

It is one enormous run-on sentence with nested parentheticals, which makes it hard to scan. The main payload is front-loaded, and little of the content is wasted, but the packing of four separate caveats into a single clause-heavy sentence hurts usability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not document return shape, and it sensibly focuses on semantics and pitfalls (non-ok sections, unknown checks, modeled caps, filing boundaries). Complete enough to call correctly; the only gap is guidance on choosing this over `ll97_portfolio`.

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?

Only one parameter and schema description coverage is 100%, so the schema fully documents `property_id`. The description adds no additional meaning about the id (format, where to obtain it), so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific resource and scope: 'Local Law 97 detail for one building', enumerating what the detail contains (emissions by fuel, cap derivation, penalty trajectory, report status, benchmarking readiness). The 'for one building' phrasing implicitly distinguishes it from a portfolio-level tool, but it never names the sibling that covers multiple buildings, so differentiation requires inference.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no mention of alternatives, despite an `ll97_portfolio` sibling that presumably covers multiple buildings. The description instead spends its guidance budget on interpretation caveats (usage is context only, 2035+ caps are modeled), which is useful but not selection guidance.

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