Skip to main content
Glama

Local Law 97 portfolio

ll97_portfolio
Read-onlyIdempotent

NYC Local Law 97 carbon position across every building: emissions against cap, penalty owed now, the year each building first goes over, and total exposure through 2049. Start here for any question about carbon caps, emissions fines, or LL97.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
totalsNo
buildingsNo
by_periodNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
disclaimerNo
generated_atNo
needs_attentionNo
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, non-destructive, and closed-world, so the safety profile is covered. The description adds real behavioral context the annotations do not: it is a portfolio-wide aggregate with a fixed planning horizon through 2049 and a 'penalty owed now' current-position framing. It does not mention empty-portfolio behavior or scale limits, keeping it off 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.

Conciseness5/5

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

Two sentences, front-loaded with the scope and result set before the routing instruction. Every clause carries information: the outputs listed and the 'start here' directive both earn their place with no filler.

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 values need not be detailed, yet the description still summarizes the four key result dimensions. With zero parameters and full annotation coverage, nothing an agent needs to select or invoke this tool 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?

The tool takes zero parameters, so the baseline of 4 applies; there are no argument semantics the description needs to or does explain. The description instead spends its text on output scope, which is appropriate for a no-arg aggregate call.

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?

The description names a specific resource and scope: NYC Local Law 97 carbon position 'across every building', plus the exact outputs (emissions vs cap, penalty owed now, first-over year, total exposure through 2049). The 'across every building' phrasing implicitly separates it from the per-building sibling ll97_building, though it never names that sibling explicitly.

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?

'Start here for any question about carbon caps, emissions fines, or LL97' gives a clear entry-point rule and enumerates the three topic triggers for using this tool. It stops short of stating when to use ll97_building or portfolio_summary instead, so there is no explicit exclusion.

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