Skip to main content
Glama

Remove hotel guest

remove_hotel_guest
DestructiveIdempotent

Take a guest off a recorded hotel stay. Returns the whole stay. It cancels nothing with the hotel. Confirmation-gated. Requires project-manager access.

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": {
      "project_id": "<project_id>",
      "stay_id": "<stay_id>",
      "guest_id": "<guest_id>"
    },
    "name": "remove_hotel_guest"
  }
}

Input Schema

NameRequiredDescriptionDefault
stay_idYesstay id from list_project_travel
guest_idYesthe guest row's id (guests[].id), not user_id
project_idYesproject id from list_projects, or a gig's project_id from get_event
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_tokenNoleave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNowhen the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { id, project_id, project_name, hotel_id, hotel_name, check_in_date, check_out_date, confirmation_number, room_count, notes, sort_order, event_ids, guests [{ id, project_hotel_id, user_id, user_name, user_email, room_number, confirmation_number, notes, and 2 more fields }] } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/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, so the safety profile is covered; the description still adds meaningful context beyond that: the operation is internal-only (no hotel-side cancellation), it is confirmation-gated, it requires elevated permissions, and it returns the whole stay. It does not say what happens to dependent records (nights, costs) after the guest row is removed, which is the main remaining behavioral gap.

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

Conciseness5/5

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

Five short sentences, each carrying a distinct fact (action, return, external-effect boundary, confirmation gate, permission requirement), with the core action front-loaded. Nothing is repeated from the schema or annotations verbatim.

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, permission-gated mutation with an output schema, the description covers the essentials an agent needs: what is removed, what is not affected externally, the confirmation requirement, and access level. Only the downstream effect on related stay data is left unstated.

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 every parameter — including the confirmation_token two-step flow and the guests[].id vs user_id distinction — is already documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline of 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?

"Take a guest off a recorded hotel stay" gives a specific verb (remove) and a precisely scoped resource (guest on a hotel stay), which separates it from the guest-list and flight-passenger removal siblings by domain. It stops short of naming the closest sibling (save_hotel_guest) as the alternative for modification, so the differentiation is implicit rather than explicit.

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?

The description supplies real preconditions — project-manager access and a confirmation gate — and clarifies scope with "It cancels nothing with the hotel." However, it never states when to use this versus save_hotel_guest or remove_guest_list_entry, so the agent must infer routing from the resource nouns alone.

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.