Skip to main content
Glama

PitCanary

Create a room

create_room

Creates a room in a building. A room is where a PitCanary is placed and where every reading is attributed, so it needs a name and a type before a sensor can be paired to it. 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": {
      "name": "<name>",
      "room_type": "<room_type>"
    },
    "name": "create_room"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesWhat the room is called, as a person would say it.
room_typeYesThe kind of room, a room-type key such as office, meeting_room, home_office, living_room, sleep_room, bathroom or wine_cellar (all keys: pitcanary://reference/room-types). It sets the default ranges and the peers this room is compared against.
location_idNoThe building it is in, as returned by list_locations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world creation call, so the bar is lowered. The description usefully adds the account requirement and the sensor-pairing dependency, but it omits the practically important consequence of idempotentHint=false — that repeating the call likely creates a duplicate room rather than returning the existing one.

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?

Two tight sentences with the action front-loaded and no filler; the trailing account requirement is short and relevant. Slightly more could be trimmed since the middle clause largely restates the required parameters already visible in the schema.

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

Completeness3/5

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

There is no output schema, yet the description never says what a successful call yields — notably the new room identifier that downstream calls like add_room_event or claim_device would need. Prerequisites are covered well, but for a create tool with no return-value documentation this leaves a real gap.

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%, so the schema already explains name, room_type (including the reference keys and its effect on default ranges and peer comparison), and location_id. The description only restates that name and type are needed, adding no format, default, or validation detail beyond the schema — 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?

The first sentence gives a specific verb and resource ("Creates a room in a building") and adds domain context explaining what a room represents in the PitCanary model. It does not, however, explicitly contrast itself with siblings like create_location, update_room, or archive_room, so the agent must infer the distinction from the verb alone.

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 establishes that a room must exist with a name and type before a sensor can be paired, which gives a sense of ordering. It never names an alternative tool (e.g., update_room for existing rooms) or an exclusion condition, and the only hard precondition stated is the PitCanary account requirement.

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