Skip to main content
Glama

PitCanary

Delete a room

delete_room
Destructive

Removes a room, its settings and its link to the sensor that stood in it. The measurements themselves survive, because they are stored per device rather than per room, but the room's name, its described context and the record of which data came from it are gone. Archiving keeps all of that and is the better choice unless the room is being removed for good. PitCanary keeps this for the account owner or an admin signed in to the dashboard: an API key is refused it whatever its access, so through this server the answer says where to do it rather than doing it. It takes two calls: the first changes nothing and returns what will happen with a confirm token, and the second, with the same arguments and that token, does 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": {
      "room_id": "<room_id>"
    },
    "name": "delete_room"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoLeave this out on the first call. That call changes nothing and returns a sentence saying what will happen plus a confirm token. Pass the token here, unchanged and with the same other arguments, only after the person has said yes to that sentence.
room_idYesThe room id, as returned by list_rooms.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond destructiveHint=true, the description discloses exactly what is destroyed versus preserved, that the operation is account-owner/admin-only and refused for API keys, and that it is a two-phase confirm flow where the first call is a no-op returning a token. That is substantive behavioral context the annotations cannot express.

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 most important facts (what is destroyed, the archive alternative, the auth block, the two-call protocol) are front-loaded and every sentence carries information. The phrasing is dense in places ('PitCanary keeps this for the account owner...'), but nothing is 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?

For a destructive, non-idempotent mutation with no output schema, the description covers consequences, the safer alternative, authorization, and the confirmation workflow — everything an agent needs to call it correctly and to know when not to.

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 100%, so the baseline is 3, but the description adds real meaning to `confirm`: it explains the two-call protocol, that the first call changes nothing, and that the token must be passed with identical arguments after human approval. That is more than the schema's field-level text conveys on its own.

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 (removes a room) and immediately scopes it: settings and the sensor link go, measurements survive. It also implicitly contrasts with archive_room, which it names, so an agent can tell the two apart without opening schemas.

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 says archiving 'keeps all of that and is the better choice unless the room is being removed for good', naming the alternative and the condition that selects it. It also states the authorization constraint (account owner or admin on the dashboard; API keys refused), so an agent knows when this call will not work.

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