Skip to main content
Glama

Add or edit a hotel stay

save_project_hotel
Destructive

Record a hotel stay (a room block) on a project, or edit a recorded one. Without stay_id this records a new stay: hotel_id is required and comes from search_hotels (when the property is not there, add it with create_hotel first); pass event_id or event_ids with the gig so list_project_travel with that event_id lists it. With stay_id (from list_project_travel) it edits that stay: hotel_id moves it to another property, and dates, confirmation_number, room_count, notes or event_ids change; pass just the fields to change, and null clears a field. Assign rooms afterwards with save_hotel_guest. This records a booking made elsewhere; it books nothing. 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>"
    },
    "name": "save_project_hotel"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNonotes for the team; null clears
stay_idNoedit this stay (id from list_project_travel); omit to record a new one
event_idNoone gig this booking covers; merged into event_ids when both are set
hotel_idNohotel id from search_hotels or create_hotel (required when recording; moves the stay when editing)
event_idsNogigs on this project the booking covers (list_projects gig ids or get_event); include the gig here so list_project_travel with event_id lists it for that gig; replaces the list; every id must be one of the project's own gigs
project_idYesproject id from list_projects, or a gig's project_id from get_event
room_countNorooms booked; null clears
check_in_dateNocheck-in day; null clears
check_out_dateNocheck-out day, not before check-in; null clears
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_numberNothe booking confirmation for the block; null clears

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe 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

A4.6/5.0
Behavior4/5

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

Beyond the annotations it discloses operational traits an agent needs: project-manager access required, execution happens on the first call with no confirmation step, and it records rather than books. The null-clears-a-field behavior is behavioral but is largely restated from the schema. With destructiveHint=true already flagged, these additions genuinely raise confidence about what invoking it does.

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?

It is one dense paragraph, but it is front-loaded with the create-vs-edit split, then prerequisites, then follow-ups. Every sentence carries operational value; only the repeated 'null clears' phrasing is mildly redundant with the schema.

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 an 11-parameter mutation tool with annotations and an output schema, the description covers mode selection, required prerequisites, sibling ordering, authorization, idempotency expectations, and the absence of a confirmation step. Callers should not need to consult anything else before invoking it.

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 meaning the schema states only in fragments: that hotel_id relocates the stay in edit mode, that event_id is merged into event_ids when both are set, and that only changed fields should be passed. The null-clears semantics are duplicated from the schema rather than extended.

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 ('Record a hotel stay (a room block) on a project, or edit a recorded one') and splits the two modes by the presence of stay_id. It also distinguishes itself from siblings by saying it 'records a booking made elsewhere; it books nothing', which rules out search/book behavior.

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?

It gives explicit when-to-use routing: omit stay_id to create (hotel_id required, sourced from search_hotels, or create_hotel first if the property is missing), include stay_id from list_project_travel to edit. It also sequences the follow-up step ('Assign rooms afterwards with save_hotel_guest') and explains the event_id/event_ids inclusion rule for list_project_travel visibility.

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.