Skip to main content
Glama

PitCanary

Describe a room

update_room_context
DestructiveIdempotent

Records the physical facts of a room: how big it is, how many windows it has and how they are glazed, how it is ventilated, heated and cooled, what equipment stands there and how many people it is meant for. Only the fields you pass are changed. These facts are what let a reading become an explanation, so filling them in improves every later analysis of the room. Requires a PitCanary account.

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": {
      "room_id": "<room_id>",
      "context": "<context>"
    },
    "name": "update_room_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextYesAny of: description (text), length_m, width_m, height_m (metres, up to 20; area and volume follow from them), area_m2, design_occupancy (whole numbers), windows (a count; ignored when openings is given), openings (per wall top, right, bottom, left: glass_pct 0 to 100, glazing single, double or triple, door true or false), exterior_walls (interior, one, two, three), above (room, attic, roof, outside), below (room, crawl, cellar, ground, outside), ventilation (natural, extract, balanced, ac), climate_systems (a list of radiators, underfloor, ac), equipment (a list of printers, servers, kitchen, industrial, plants, pets, none), mount (where the PitCanary stands: windowsill, desk, shelf or wall), mount_height_m (metres, up to 10). A value outside these lists is not stored. null clears a field.
room_idYesThe room id, as returned by list_rooms.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Adds genuinely useful behavior beyond the annotations: partial-update semantics ('Only the fields you pass are changed') and an account prerequisite ('Requires a PitCanary account'). It stops short of disclosing the destructive side that destructiveHint=true points at — passing null clears a field, which appears only in the schema — so an agent could read this as a purely additive operation.

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?

Three sentences, front-loaded with the resource definition, followed by the partial-update rule and the auth note. The rationale sentence is partly motivational, but it justifies the effort of filling in fields rather than padding.

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?

For a two-parameter mutation whose schema is fully documented and whose annotations declare idempotency and destructiveness, the description supplies the account requirement and partial-update rule. The one gap is that it never warns an agent that null values clear existing fields, which is the tool's destructive edge.

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?

Schema description coverage is 100% and the context object documents every key, enum, and range, so the schema does the heavy lifting. The description adds intent ('these facts are what let a reading become an explanation') but no syntax, format, or constraint detail beyond the schema, which is the expected baseline here.

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?

States a specific verb and resource ('Records the physical facts of a room') and enumerates the fact families covered: size, windows/glazing, ventilation, heating/cooling, equipment, occupancy. That enumeration effectively separates it from metadata-oriented siblings like update_room or create_room, though no sibling is named explicitly, which keeps it short of a 5.

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?

Usage is implied rather than stated: the description motivates filling fields ('improves every later analysis of the room') but never says when to call this versus update_room, get_room_context, or add_room_event. An agent can infer it is the write path for static room facts, but there are no explicit when/when-not conditions.

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