Skip to main content
Glama

Got a Plan Trip Planner

Hotel link on Booking.com

hotel_link
Read-only

Makes a link to a Booking.com search for hotels at a place and dates, where the traveller can compare and book. Give trip_id to get one link per stop of a saved trip, with each stop's check-in and check-out dates; add stop for one stop only. Or give place, checkin and checkout.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hotel_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
stopNoPosition of the stop, 0 for the first
placeNoTown or area and country, e.g. "Hoi An, Vietnam"
priceNoPrice level for a search by place; a trip uses its saved hotel preferences
roomsNo
wantsNoWhat matters for a search by place; a trip uses its saved hotel preferences
adultsNo
checkinNo
trip_idNo
checkoutNo
childrenNoThe ages of the children, one each; a trip uses its own

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the useful behavioral fact that trip_id yields one link per stop with each stop's own dates, which is non-obvious. It says nothing about whether the link is affiliate-tagged, expiring, or opaque, and there is no output schema to fall back on.

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?

Two sentences, front-loaded with the output ('makes a link'), then the mode switch. The semicolon clause about trip_id/stop is compressed but readable. Little waste, though 'where the traveller can compare and book' is slightly promotional rather than operational.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter, two-mode, no-output-schema tool, the description explains the mode split but not the occupancy or preference parameters that only apply in one mode. An agent could not infer from the description alone that adults/rooms/children are ignored when trip_id is supplied. Adequate but with a real gap.

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 50%, and the description compensates for trip_id, stop, place, checkin and checkout. It leaves adults, rooms, and the interaction of price/wants/children untouched, even though those matter for the place-based search mode. The 'stop' semantics ('0 for the first', 0-19) are only in the schema, not reinforced.

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 concrete verb and resource: 'Makes a link to a Booking.com search for hotels', plus the purpose (compare and book). An agent can tell this produces a shareable search link rather than performing a booking or setting preferences. It stops short of explicitly distinguishing itself from set_hotel_prefs, which is the nearest-sounding sibling.

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 two explicit invocation modes: 'Give trip_id to get one link per stop... add stop for one stop only. Or give place, checkin and checkout.' That is clear when-to-use routing for the two paths. It does not say when not to use it (e.g., when the traveller wants preferences persisted, which belongs to set_hotel_prefs).

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.