Skip to main content
Glama

Add or edit a hotel guest

save_hotel_guest
Destructive

Assign a member of your organization to a recorded hotel stay, or edit their room assignment. Without guest_id this adds user_id (from list_org_members) with room number, their own confirmation number and notes. With guest_id (guests[].id, not user_id) it edits that row: pass just the fields to change; null clears. Returns the whole stay. Requires project-manager access. Runs on the first call; there is no confirmation step.

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>"
    },
    "name": "save_hotel_guest"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNonotes for this guest; null clears
stay_idYesstay id from list_project_travel
user_idNowhen adding: the guest, a member of your organization
guest_idNoedit this guest row (guests[].id, not user_id); omit to add one
project_idYesproject id from list_projects, or a gig's project_id from get_event
room_numberNoroom number; null clears
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_numberNothis guest's own confirmation number; null clears

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNotool payload (API/composite/confirmation object); object, array, or primitive JSON
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is known without the text. The description still adds real value beyond that: 'pass just the fields to change; null clears' describes field-level destruction, 'Runs on the first call; there is no confirmation step' confirms immediacy, and 'Requires project-manager access' names the auth requirement. Scored 3 rather than higher because the return value is the main remaining behavioral question and that is covered by the output schema, not the description.

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?

Four dense sentences ordered purpose -> mode split -> effect/return -> access/execution, with zero filler. The critical add-vs-edit distinction is front-loaded in the first sentence.

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?

With an output schema present the return contract need not be spelled out, and full schema coverage plus annotations carry most of the rest. An agent has everything needed to call it correctly; only cross-tool routing (use remove_hotel_guest to delete) is missing.

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 coverage is 100%, so the schema already documents every parameter including the null-clears semantics and the guest_id-not-user_id warning. The description mostly restates that, adding only the patch-style rule 'pass just the fields to change' and the provenance hint for user_id, so 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?

States a specific verb and resource and cleanly splits the two modes ('Without guest_id this adds... With guest_id... it edits that row'), which is the main ambiguity an agent would face. It does not, however, contrast itself with nearby tools such as remove_hotel_guest or save_project_hotel, so sibling differentiation is only partial.

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?

Gives explicit conditional guidance keyed on guest_id, plus the prerequisite ('Requires project-manager access'), which is enough to select the correct mode. It stops short of when-not guidance, e.g. pointing at remove_hotel_guest for deletion or save_project_hotel for the stay itself.

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.