Skip to main content
Glama

Get hotel search links for a city

get_hotel_links
Read-onlyIdempotent

Build a Booking.com search link for a city or property, with optional check-in and check-out dates, guest count and room count, the same search on Expedia, Vrbo (apartments and holiday homes) and Agoda, plus an IHG brand search link (Holiday Inn, InterContinental, Crowne Plaza) and up to four VoyageHacks guides on the best areas and best-value stays there. The Booking.com link is regionalized to the traveler's country. Useful when a user asks where to stay, or about hotels, hostels or apartments in a place. It returns search links only: no live room rates, no availability check, no reviews and no reservation. Affiliate links: VoyageHacks may earn a commission at no additional cost to the traveler, which should be disclosed when the links are presented.

Input Schema

NameRequiredDescriptionDefault
cityNoCity, region or property name to search, e.g. Rome, Phuket, Hotel Kossak.
langNoLanguage of the VoyageHacks guides returned. One of: en, de, fr, es, it, pl, cs, ja, nl, pt, zh. Defaults to "en".
roomsNoNumber of rooms. Defaults to 1.
adultsNoNumber of adults. Defaults to 2.
checkinNoCheck-in date, YYYY-MM-DD. Used only when checkout is also given.
countryNoISO 3166-1 alpha-2 country the traveler is booking from, e.g. US, DE, GB. Selects the regional Booking.com programme. Defaults to the caller's geolocation, then to the language default.
checkoutNoCheck-out date, YYYY-MM-DD.
childrenNoNumber of children. Defaults to 0.

Output Schema

NameRequiredDescriptionDefault
ihgNo
cityNo
roomsNo
adultsNo
guidesYesMatching VoyageHacks guides that can be cited as sources.
regionNo
checkinNo
checkoutNo
childrenNo
moreStaysNo
disclosureYes
hotelSearchYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / moreStays
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "label": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "label",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "de",
      -  "fr",
      -  "es",
      -  "it",
      -  "pl",
      -  "cs",
      -  "ja",
      -  "nl",
      -  "pt",
      -  "zh"
      -]New value: +[
      +  "en",
      +  "de",
      +  "fr",
      +  "es",
      +  "it",
      +  "pl",
      +  "ja",
      +  "nl",
      +  "pt",
      +  "zh"
      +]
  3. Changed13 schema fields changed
    • changedInput schema / properties / adults / description
      Previous value: -"Adults (default 2)"New value: +"Number of adults. Defaults to 2."
    • changedInput schema / properties / checkin / description
      Previous value: -"Optional check-in date, YYYY-MM-DD"New value: +"Check-in date, YYYY-MM-DD. Used only when checkout is also given."
    • addedInput schema / properties / checkin / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • changedInput schema / properties / checkout / description
      Previous value: -"Optional check-out date, YYYY-MM-DD"New value: +"Check-out date, YYYY-MM-DD."
    • addedInput schema / properties / checkout / pattern
      Added value: +"^\\d{4}-\\d{2}-\\d{2}$"
    • addedInput schema / properties / children
      Added value: +{
      +  "description": "Number of children. Defaults to 0.",
      +  "maximum": 10,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedInput schema / properties / city / description
      Previous value: -"City, region or property name to search, e.g. Rome, Phuket"New value: +"City, region or property name to search, e.g. Rome, Phuket, Hotel Kossak."
    • addedInput schema / properties / city / maxLength
      Added value: +120
    • changedInput schema / properties / country / description
      Previous value: -"Optional ISO 3166-1 alpha-2 country of the traveler; defaults to the caller's geolocation"New value: +"ISO 3166-1 alpha-2 country the traveler is booking from, e.g. US, DE, GB. Selects the regional Booking.com programme. Defaults to the caller's geolocation, then to the language default."
    • addedInput schema / properties / country / pattern
      Added value: +"^[A-Za-z]{2}$"
    • changedInput schema / properties / lang / description
      Previous value: -"Content language for the guides that come back (default \"en\")"New value: +"Language of the VoyageHacks guides returned. One of: en, de, fr, es, it, pl, cs, ja, nl, pt, zh. Defaults to \"en\"."
    • changedInput schema / properties / rooms / description
      Previous value: -"Rooms (default 1)"New value: +"Number of rooms. Defaults to 1."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "adults": {
      +      "type": "integer"
      +    },
      +    "checkin": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "checkout": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "children": {
      +      "type": "integer"
      +    },
      +    "city": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "disclosure": {
      +      "type": "string"
      +    },
      +    "guides": {
      +      "description": "Matching VoyageHacks guides that can be cited as sources.",
      +      "items": {
      +        "properties": {
      +          "section": {
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "title",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "hotelSearch": {
      +      "type": "string"
      +    },
      +    "ihg": {
      +      "type": "string"
      +    },
      +    "region": {
      +      "type": "string"
      +    },
      +    "rooms": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "disclosure",
      +    "hotelSearch",
      +    "guides"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, and the description adds substantial beyond-schema context: regionalization of the Booking.com link, the explicit scope limit (no rates, availability, reviews, reservation), and the affiliate-commission disclosure obligation. That affiliate disclosure requirement is a genuinely useful behavioral trait an agent must act 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?

Content is dense and front-loaded with the core action, and every sentence carries information. The first sentence is a long run-on listing channels, which slightly hurts scannability, but nothing is redundant with structured fields.

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 8-parameter, side-effect-free link generator with an output schema, the description covers scope, limits, regionalization, affiliate obligations and usage triggers. An agent has everything needed to call it correctly without opening the schema.

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%, so every parameter (city, lang, rooms, adults, children, checkin, checkout, country) is already documented with defaults, bounds and patterns. The description restates check-in/check-out, guest and room counts and country regionalization but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Build a Booking.com search link for a city or property') and enumerates the exact outputs (Booking, Expedia, Vrbo, Agoda, IHG, VoyageHacks guides), which cleanly distinguishes it from siblings like get_booking_links or get_flight_links.

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 clear trigger context: 'Useful when a user asks where to stay, or about hotels, hostels or apartments in a place,' and implicitly bounds it by stating it is not for rates, availability, reviews or reservations. It does not name a sibling alternative (e.g. get_booking_links) to route between, so it stops short of a 5.

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.