Skip to main content
Glama

Building health score

building_health
Read-onlyIdempotent

A 0-100 attention score per building from eight factors — maintenance, rent collection, equipment, compliance, inspections, renters insurance, leases & occupancy, and alerts from the building's connected sensors — with the ranked actions behind it. Omit property_id for the whole portfolio. WARNING: a factor marked unknown could not be checked; it is excluded from the score, not counted as perfect. The same applies to movement: trend.change is null with a basis of no_history when there is no earlier reading to compare against, which means nobody was measuring then — NOT that the score held steady.

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

Input Schema

NameRequiredDescriptionDefault
property_idNoLeave empty for every building.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
labelsNo
factorsNo
summaryNo
weightsNo
worklistNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
disclaimerNo
propertiesNo
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (which already cover readOnly/idempotent/non-destructive), the description discloses two non-obvious semantic traps: an `unknown` factor is excluded from the score rather than counted as perfect, and `trend.change` null with `basis: no_history` means no earlier measurement existed, not a flat score. These prevent concrete misinterpretations of the returned data and are exactly the kind of behavior annotations cannot convey.

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?

The score definition and portfolio scope are front-loaded, and the WARNING framing correctly prioritizes the highest-risk misinterpretations. The eight-factor list and the trend/basis clause are dense but each earns its place; only minor tightening is possible.

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?

The tool is read-only with an output schema and a single optional parameter, so return-value documentation is unnecessary. The description still covers scoring composition, missing-data handling, trend-basis semantics, and portfolio-wide scope — everything an agent needs to interpret results correctly.

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?

With 100% schema description coverage on a single optional parameter, the schema already documents that an empty property_id means all buildings. The description restates that same scoping rule ('Omit property_id for the whole portfolio') without adding new semantics, so baseline 3 applies.

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?

The description names a concrete artifact — a 0-100 attention score per building — and enumerates the eight factors feeding it plus the 'ranked actions behind it'. An agent can tell this is a composite diagnostics read rather than a single-metric or compliance tool, so the purpose is unambiguous without opening the schema.

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

Usage Guidelines3/5

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

The only usage instruction is scope-related: 'Omit property_id for the whole portfolio.' That tells the agent how to call it, but there is no guidance on when to prefer this tool over adjacent ones such as ll97_building or affordable_compliance, and no exclusions or prerequisites are stated.

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