Skip to main content
Glama

Search holiday packages

search_packages
Read-onlyIdempotent

Use this when the user wants a holiday package (flight + hotel together) to one destination country. Covers packages only, not flights or hotels alone. Searches holiday packages (flight + hotel) to one destination country. Returns packages with hotel name, stars, guest rating, board, departure date and airports, total and per-person price, and a link to book on the brand's website. Filters: dates, nights, travellers, departure airport, price, stars, board and region (regionCode from get_regions of the same country, countryCode from get_countries); sorting by popularity, price, rating or stars; cursor pagination. Only countryCode is required (defaults: departures in the 2 months from dateFrom, tomorrow at the earliest, 7 nights, 2 adults). Read-only.

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": {
      "countryCode": "<countryCode>"
    },
    "name": "search_packages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results to return (default 6, max 30)
adultsNoNumber of adults (default: 2)
cursorNoCursor for pagination (from previous response's nextCursor)
dateToNoLatest return date, YYYY-MM-DD (optional, defaults to 2 months after dateFrom, or after tomorrow when dateFrom is omitted or before tomorrow). A window shorter than the stay is read as the latest departure, with the return up to the minimum stay later.
nightsNoNumber of nights (default: 7)
sortByNoSort results by: 'popularity' (default, most booked first), 'price', 'rating', or 'stars'.
dateFromNoEarliest departure, YYYY-MM-DD (optional, defaults to tomorrow; packages depart from tomorrow, so today's date counts as tomorrow). With dateTo, the window the whole trip must fit in; a window shorter than the stay is read as departures through dateTo.
maxPriceNoMaximum price for the whole group (all travellers together, not per person) in the local currency (optional)
maxStarsNoMaximum hotel star rating 1-5 (optional)
mealTypeNoMeal plan filter (also called board / meal plan): 'breakfast' (BB), 'half-board' (HB), 'full-board' (FB), 'all-inclusive' (AI), or 'room-only' (RO)
minPriceNoMinimum price for the whole group (all travellers together, not per person) in the local currency (optional)
minStarsNoMinimum hotel star rating 1-5 (optional)
nightsMaxNoMaximum number of nights of a flexible range (optional, together with nightsMin). When set, 'nights' is ignored.
nightsMinNoMinimum number of nights of a flexible range (optional, together with nightsMax). When set, 'nights' is ignored.
sortOrderNoSort order: 'asc' (ascending) or 'desc' (descending). Default depends on sort type.
regionCodeNoOptional region or city code from get_regions for the same countryCode (e.g. 're-ACA'); a code of another country is rejected. Only codes returned by get_regions are valid: a code built from a city name (e.g. 're-NAP') is not one, and is ignored (the whole country is searched). Narrows the search.
countryCodeYesTwo-letter destination country code (e.g. 'ES' for Spain, 'GR' for Greece, 'TR' for Turkey, 'EG' for Egypt), as listed by get_countries. Must be a code returned by get_countries; other codes are rejected, so a guessed code fails.
childrenAgesNoAges of children (optional, empty array if no children)
departureAirportNoDeparture airport IATA code (e.g. 'WAW' or 'KTW' on eSky, 'MAN' or 'LGW' on Thomas Cook UK). Omitted = all available departure airports.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / countryCode / description
      Previous value: -"Two-letter destination country code (e.g. 'ES' for Spain, 'GR' for Greece, 'TR' for Turkey, 'EG' for Egypt), as listed by get_countries."New value: +"Two-letter destination country code (e.g. 'ES' for Spain, 'GR' for Greece, 'TR' for Turkey, 'EG' for Egypt), as listed by get_countries. Must be a code returned by get_countries; other codes are rejected, so a guessed code fails."
    • changedInput schema / properties / mealType / description
      Previous value: -"Meal plan filter: 'breakfast' (BB), 'half-board' (HB), 'full-board' (FB), 'all-inclusive' (AI), or 'room-only' (RO)"New value: +"Meal plan filter (also called board / meal plan): 'breakfast' (BB), 'half-board' (HB), 'full-board' (FB), 'all-inclusive' (AI), or 'room-only' (RO)"
    • changedInput schema / properties / regionCode / description
      Previous value: -"Optional region or city code from get_regions for the same countryCode (e.g. 're-ACA'); a code of another country is rejected. Narrows the search."New value: +"Optional region or city code from get_regions for the same countryCode (e.g. 're-ACA'); a code of another country is rejected. Only codes returned by get_regions are valid: a code built from a city name (e.g. 're-NAP') is not one, and is ignored (the whole country is searched). Narrows the search."
  2. Changed2 schema fields changed
    • changedInput schema / properties / maxPrice / description
      Previous value: -"Maximum price in the local currency (optional)"New value: +"Maximum price for the whole group (all travellers together, not per person) in the local currency (optional)"
    • changedInput schema / properties / minPrice / description
      Previous value: -"Minimum price in the local currency (optional)"New value: +"Minimum price for the whole group (all travellers together, not per person) in the local currency (optional)"
  3. Changed2 schema fields changed
    • changedInput schema / properties / dateFrom / description
      Previous value: -"Earliest departure, YYYY-MM-DD (optional, defaults to tomorrow; packages depart from tomorrow, so today's date counts as tomorrow). With dateTo, the window the whole trip must fit in."New value: +"Earliest departure, YYYY-MM-DD (optional, defaults to tomorrow; packages depart from tomorrow, so today's date counts as tomorrow). With dateTo, the window the whole trip must fit in; a window shorter than the stay is read as departures through dateTo."
    • changedInput schema / properties / dateTo / description
      Previous value: -"Latest return date, YYYY-MM-DD (optional, defaults to 2 months after dateFrom, or after tomorrow when dateFrom is omitted or before tomorrow). With dateTo, it must be at least the minimum nights after dateFrom; a shorter window is rejected."New value: +"Latest return date, YYYY-MM-DD (optional, defaults to 2 months after dateFrom, or after tomorrow when dateFrom is omitted or before tomorrow). A window shorter than the stay is read as the latest departure, with the return up to the minimum stay later."
  4. Changed1 schema field changed
    • changedInput schema / properties / dateTo / description
      Previous value: -"Latest return date, YYYY-MM-DD (optional, defaults to 2 months from now). At least the minimum nights after dateFrom; a shorter window is rejected."New value: +"Latest return date, YYYY-MM-DD (optional, defaults to 2 months after dateFrom, or after tomorrow when dateFrom is omitted or before tomorrow). With dateTo, it must be at least the minimum nights after dateFrom; a shorter window is rejected."
  5. Changed1 schema field changed
    • changedInput schema / properties / dateFrom / description
      Previous value: -"Earliest departure, YYYY-MM-DD (optional, defaults to tomorrow). With dateTo, the window the whole trip must fit in."New value: +"Earliest departure, YYYY-MM-DD (optional, defaults to tomorrow; packages depart from tomorrow, so today's date counts as tomorrow). With dateTo, the window the whole trip must fit in."
  6. Changed3 schema fields changed
    • addedInput schema / properties / mealType / enum
      Added value: +[
      +  "breakfast",
      +  "half-board",
      +  "full-board",
      +  "all-inclusive",
      +  "room-only"
      +]
    • addedInput schema / properties / sortBy / enum
      Added value: +[
      +  "popularity",
      +  "price",
      +  "rating",
      +  "stars"
      +]
    • addedInput schema / properties / sortOrder / enum
      Added value: +[
      +  "asc",
      +  "desc"
      +]
  7. 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 and destructiveHint=false, and the description adds behavioural context: default departure windows, default 7 nights / 2 adults, cursor pagination, and 'Read-only'. That is useful but mostly repeats the read-only annotation, and it does not discuss rate limits, errors on invalid codes beyond a passing rejection note, or result ordering guarantees.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The trigger sentence and the exclusion are correctly front-loaded, but the second sentence ('Searches holiday packages (flight + hotel) to one destination country') restates the first, and the long filter/return inventory duplicates what the schema already lists. The content is accurate but about a third is redundant.

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 19-parameter search tool with no output schema, the description covers the required input, defaults, pagination, sort options and what comes back (hotel, stars, rating, board, dates, airports, prices, booking link). Remaining gaps are minor, such as currency-handling nuances for the price filters and what an empty result looks like.

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 the schema already carries the parameter semantics and baseline is 3. The description repeats key points (only countryCode required, the default departures window, sort options, cursor pagination) and adds little beyond the schema, e.g. it does not clarify the interplay of nights, nightsMin/nightsMax and the date window in a way the schema does not already do.

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?

The description states a specific verb and resource (search holiday packages) and a clear scope constraint (packages only, not flights or hotels alone, one destination country). It also enumerates the returned fields and filters, so the agent knows exactly what the tool is. It stops short of naming how it differs from search_inspirations, hence 4 rather than 5.

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?

It gives a clear trigger condition ('Use this when the user wants a holiday package (flight + hotel together) to one destination country') and an explicit exclusion ('Covers packages only, not flights or hotels alone'). It also routes the agent to get_regions and get_countries for the codes. There is no explicit statement on when to prefer search_inspirations over this tool.

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.

Resources