Compare stays
compare_staysPuts 2 to 4 hotels side by side for the same dates. Returns per hotel the cheapest total and per night, guest score, stars, distance, free cancellation, cheapest room and board, room size, stated policies, amenities and what guests mention, plus best flags (lowest_total, best_score, closest, free_cancellation). Rows no hotel states are left out; Not stated means that hotel did not say. Reads only; each column has its own book_link. Use when the traveller asks to compare hotels or which is cheaper, closer or quieter, and answer from the rows naming the hotel. Use get_stay_details for one hotel, search_stays to find hotel_ids.
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": {
"hotel_ids": "<hotel_ids>",
"checkin": "<checkin>",
"checkout": "<checkout>",
"adults": "<adults>"
},
"name": "compare_stays"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | What distance_km is measured from, e.g. the centre or a neighbourhood name. | |
| adults | Yes | Number of adults, 1 to 8; use the same value as the search_stays call. | |
| checkin | Yes | Check-in date, YYYY-MM-DD. | |
| checkout | Yes | Check-out date, YYYY-MM-DD, after checkin. | |
| children | No | Ages of children travelling, if any, one entry per child. | |
| currency | No | ISO 4217 currency code for prices, e.g. EUR. Default USD. | |
| hotel_ids | Yes | 2 to 4 hotel_id values from search_stays. | |
| distance_km | No | Each hotel's distance_km from the search, in the same order as hotel_ids; enables the closest flag. |