Skip to main content
Glama

Set a building status on the lobby screens

set_building_status
Destructive

Mark something in a building as working, limited, out of service or scheduled for maintenance — "the elevator is out" — and every lobby screen in that building shows it within 30 seconds. Pass the item_id from lobby_overview, or a property_id and a kind (it finds or creates that building's item). The lobby is PUBLIC: write the message for anybody walking through. notify_residents=true also sends every resident of the building an in-app alert, which cannot be recalled — confirm with the user first. On most workspaces this is staged for the owner to approve; read staged and say so.

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": {
      "state": "<state>"
    },
    "name": "set_building_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
stateYes
item_idNoA status item id from lobby_overview.
messageNoShown on the screen under the status, e.g. "Repair crew on site". Omit to keep the current note.
property_idNoWith kind, when there is no item yet.
expected_back_atNoISO timestamp it is expected back.
notify_residentsNoDefault false. True also alerts every resident of the building.

Output Schema

NameRequiredDescriptionDefault
idNoThe created or updated record's id, when the write was applied rather than staged.
noteNoWhy the result was truncated, when it was.
stagedNoTRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done.
draft_idNoThe staged proposal's id, when it was queued rather than performed.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare destructiveHint=true, openWorldHint=true and idempotentHint=false, and the description corroborates rather than contradicts them: the alert cannot be recalled, the message is public to anyone walking through, and writes propagate in ~30 seconds. The staging/approval behavior on most workspaces is context the annotations do not carry. Minor gap: it does not say what happens to previous state/message when overwritten beyond the message-omission rule.

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 the effect (lobby screens update in 30s), then the two input paths, then the safety warning. Dense but every clause carries information; the em-dash example phrasing is slightly chatty but earns its place as a usage illustration.

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 no explanation, and the description still flags the `staged` field the agent must read back. For a 7-parameter mutation with side effects, the description covers audience, timing, irreversibility and approval workflow adequately.

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 71% and the description fills the meaningful gaps: item_id's provenance (lobby_overview), the item_id-vs-(property_id + kind) find-or-create relationship, and the irreversibility of notify_residents. It adds real semantics beyond the field descriptions, though `state` transitions and expected_back_at behavior are left to the schema.

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 — mark a building item's status so lobby screens show it within 30 seconds — and distinguishes itself from lobby_overview by telling the agent to pull item_id from there. An agent knows exactly what changes in the world.

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?

Explicitly names the alternative input path (item_id from lobby_overview, or property_id + kind when no item exists), warns to confirm with the user before notify_residents, and tells the agent to check `staged` and report the approval state. When-to-use and when-to-be-careful are both spelled out.

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