Skip to main content
Glama

Got a Plan Trip Planner

Choose a hotel for a stop

choose_stay

Saves the hotel or other place to stay the traveller picked for one stop of a trip, identified by stay_key from the trip's stays, with its name, price and booking link, such as a place the traveller found through the stop's Booking.com search from hotel_link. Booking itself happens on Booking.com or the hotel's own site; set booked when the traveller says it is booked.

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": {
      "trip_id": "<trip_id>",
      "stay_key": "<stay_key>",
      "name": "<name>"
    },
    "name": "choose_stay"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkNo
nameYes
noteNoe.g. a booking reference, free cancellation until, what the stay includes
mealsNoThe meals the rate includes: room: Room only, breakfast: Breakfast included, half: Half board, full: Full board, all: All-inclusive
priceNoTotal for all nights and rooms
bookedNo
sourceNoWhere the offer was found, e.g. Booking.com
trip_idYes
currencyNo
stay_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, the description clarifies that booking itself happens externally on Booking.com or the hotel's own site, and that the booked flag should be set only when the traveller says it is booked. It does not describe replacement behavior if a stay is already chosen for the stop, or any confirmation/error behavior, but it adds meaningful behavioral context for a mutation tool.

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 definition is two front-loaded sentences that state the core save action before adding the external-booking caveat. It is dense but generally efficient, with only slight verbosity in the hotel_link example phrase.

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 10-parameter mutation tool with no output schema, the description covers the core workflow, per-stop scope, external booking, and booked flag well enough for correct use. Minor gaps remain around overwrite behavior and a few non-core parameters such as meals and source.

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 low at 40%, so the description must carry more weight. It adds useful meaning for stay_key, name, price, link, and booked, but leaves meals, currency, source, note, and trip_id largely to the schema or unstated.

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 action (saves the hotel/place to stay) and resource scope (one stop of a trip, identified by stay_key from the trip's stays). It distinguishes the tool from hotel_link by framing hotel_link as the source of the offer rather than the action.

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?

The description gives clear usage context: use it when the traveller has picked a place, such as one found through the stop's Booking.com search from hotel_link. It also explains when to set booked. It does not explicitly name exclusions or alternatives such as clear_stay or save_stay_options, so it stops short of full when/when-not guidance.

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.