Skip to main content
Glama

Set rooms clean or dirty

set_room_status
DestructiveIdempotent

Changes: sets the named rooms' housekeeping status to clean or dirty; never out of order, never inspected. No preview: the change is made when called. Sets up to 40 rooms clean or dirty, as PMS › Housekeeping does; the room's status log names the person's assistant. A room out of order is refused (return it to service in the PMS). Not out of order and not inspected: those stay with the hotel's staff. One of the two people the owner named. Needs the owner's sign-in.

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": {
      "rooms": "<rooms>",
      "status": "<status>"
    },
    "name": "set_room_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoWhy, kept in the room's status log
roomsYesRoom numbers, e.g. ["101", "102"]
statusYesclean or dirty

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/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, destructive, idempotent mutation, and the description adds real value beyond that: no preview/preview semantics, a 40-room ceiling, an audit trail naming the acting person and storing a reason in the room's status log, and an authorization requirement tied to the owner's named people. However, the phrasing "One of the two people the owner named" and "the person's assistant" is cryptic enough that the auth and audit model is only partly intelligible.

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 description is short and front-loads the verb and the immediate-vs-preview distinction. It is written in telegraphic fragments, though, and repeats the out-of-order/inspected exclusion twice while the dangling sentence "One of the two people the owner named." costs clarity without earning space.

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 three-parameter mutation with full schema coverage and no output schema, the description covers the important operational facts: immediate effect, room limit, refusal behavior, logging, and sign-in prerequisites. It never says what the call returns (per-room results or failures), which is the main residual gap for a mutation that can partially fail across up to 40 rooms.

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%, with the enum, the note's max length and purpose, and the room array's limits all documented inline. The description reinforces the 40-room cap and explains that a note is persisted to the status log, but adds no formatting or semantics beyond the schema, 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 states a specific verb and resource ("sets the named rooms' housekeeping status to clean or dirty") and immediately bounds the scope with "never out of order, never inspected," which separates it from related housekeeping tools such as assign_housekeeping. An agent can identify the operation and its exact domain 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 Guidelines4/5

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

It gives clear operating context: use it to set clean/dirty housekeeping status, the change is immediate with no preview, and it refuses rooms currently out of order (which must be returned to service in the PMS first). What is missing is an explicit pointer to any alternative tool for the excluded cases (out-of-order or inspected), leaving the agent to infer where those belong.

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