Skip to main content
Glama

Give rooms to a housekeeper

assign_housekeeping
DestructiveIdempotent

Changes: gives the named rooms to one housekeeper on that day's roster for a date, or takes rooms off when unassign is true (only rooms not yet cleaned). No preview: the change is made when called. Gives rooms to a housekeeper for a day, as PMS › Housekeeping › Assign rooms does: the name must be on that day's housekeeping roster. unassign true takes the rooms off whoever has them, only while still assigned (a cleaned or inspected room keeps its stamp). date defaults to today at the hotel. 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>"
    },
    "name": "assign_housekeeping"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoWork date YYYY-MM-DD (today at the hotel when not sent)
roomsYesRoom numbers
unassignNotrue to take the rooms off instead
housekeeperNoA name on that day's housekeeping roster

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true and readOnly=false; the description adds real value on top: no preview, the change happens on call, unassign is refused once a room is cleaned/inspected, and the owner's sign-in is required. It stops short of 5 because error/partial-failure behavior when a room is ineligible is not described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the change and its reverse mode, which is good, but the opening sentence is restated almost verbatim a few lines later ('Gives rooms to a housekeeper for a day…'). The fragment 'One of the two people the owner named' is unexplained and reads as noise.

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 destructive, no-preview mutation with no output schema, the definition covers auth, immediate mutation, the roster prerequisite, the cleaned-room guardrail, and the date default. What is missing is the failure surface — what the caller receives when a room is ineligible or the housekeeper is absent from the roster.

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 baseline is 3, but the description adds meaning: date defaults to today at the hotel, housekeeper must be a name on that day's roster, and unassign only succeeds while rooms are still assigned. The cryptic line 'One of the two people the owner named' adds a constraint but is ambiguous about which parameter it governs.

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: gives named rooms to one housekeeper on a day's roster, with an explicit reverse mode (unassign true takes rooms off). The PMS › Housekeeping › Assign rooms reference anchors it to a known workflow. It does not differentiate itself from the sibling assign_room, so it stops 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 Guidelines4/5

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

Clear conditions for both modes: use unassign=true to remove rooms, only while still assigned (a cleaned or inspected room keeps its stamp). Prereq that the housekeeper must be on that day's roster is stated. No comparison to siblings such as assign_room, so no explicit alternative routing.

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