OKstays

v4.4.1
com.okstays/okstays Checked 1 day ago Published 17 days ago

Hotels ranked by real comfort, not commission: efficient AC, comfy beds, soundproof rooms and more

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_hotels Search hotels

Use this when the user wants hotels in a destination (e.g. 'quiet hotels in Bangkok under $150'), or asks about a hotel by name (hotel_name). Returns up to 10 hotels per page, ranked by the OKstays Comfort Score (0-10 from what guests report: Comfort & Essentials 60%, the five must-haves (cleanliness, beds, shower, bugs and safety) 30% and sleep and room 30%; Perks & Facilities 15%; Service & Hospitality 15%; Location & Access 10%; repeated complaints about cleanliness, beds, showers or bugs keep a hotel out; feeling unsafe in the area shows as a complaint; a high score from few reviews leans…

ParameterTypeDescription
location *stringCity name or slug, e.g. 'Barcelona' or 'new-york'. Use list_cities for coverage. An area of a grouped destination works too ('Canggu' or 'Ubud' in Bali, 'Positano' on the Amalfi Coast, 'Maafushi' in t…
adultsintegerGuests per room (1-8), if given.
checkinstringUser's check-in date, YYYY-MM-DD (e.g. 2027-03-12), if given: links then open on this stay.
checkoutstringCheck-out date, YYYY-MM-DD (e.g. 2027-03-15).
districtstringNeighbourhood to restrict to, e.g. 'Gothic Quarter'. get_city_overview lists the districts and its where_to_stay areas; another area name is matched against hotel addresses.
hotel_namestringFind a hotel by name in this city (part of the name works, e.g. 'Pestana'), including hotels outside our rankings; the other filters are then ignored.
limitintegerHotels per page (default 10).
max_pricenumberMaximum indicative price per night in USD.
min_scorenumberMinimum Comfort Score (0-10).
near_latnumberLatitude of a landmark or address the user names (not the user's own location); with near_lng restricts results to hotels within radius_km and reports distance_km.
near_lngnumberLongitude of the point of interest.
pageintegerPage of results (default 1; up to 5) for 'show me more'.
personastringTravel style to rank for: digital-nomad, deep-sleep, avoid-crowds, romantic, family, business, solo-safe, luxury, budget-comfort, long-stays.
property_typestringproperty_type: hotels (default), apartments, guest-houses, hostels or any. hotels includes resorts, riads and ryokans; apartments includes aparthotels, holiday homes, villas and chalets; guest-houses…
radius_kmnumberSearch radius around near_lat/near_lng in km (default 3).
sort_bystringbest = Comfort Score (default); value = Comfort Score per $100; nearest needs near_lat/near_lng.
tagsarrayFilter ids the hotel must score 8+ on, e.g. ['soundproofing', 'reliable_wifi']; their names work too ('quiet'). See get_filters.

get_hotel Hotel details

Use this when the user asks about one hotel: why it scores as it does, or whether it's quiet, clean or good for sleep or work. Returns the Comfort Score breakdown, what the scores rest on, the five must-haves, its strengths and complaints with the reason behind each score, price, the city tax where we know it and its okstays.com link. Pass focus with what the user asked about; detail='full' adds every scored signal (about four times longer). Read-only, no sign-in.

ParameterTypeDescription
hotel_id *stringHotel id (numeric string) from search_hotels.
adultsintegerGuests per room (1-8), if given.
checkinstringUser's check-in date, YYYY-MM-DD (e.g. 2027-03-12), if given: links then open on this stay.
checkoutstringCheck-out date, YYYY-MM-DD (e.g. 2027-03-15).
detailstringsummary (default) or full: every scored signal with its explanation, about four times longer.
focusarraySignals the user asked about, as filter ids or names (e.g. ['quiet', 'bed', 'wifi']); always included with their reasons.

list_cities Covered destinations

Use this when the user asks which destinations OKstays covers, or before planning a trip through a country. Returns every destination with a ranking on okstays.com, with its country, slug and number of places on its lists (hotels, apartments, hostels and guest houses); pass country to list one country only. Read-only, no sign-in.

ParameterTypeDescription
countrystringCountry name to filter by, e.g. 'Spain'.

get_filters Filters and travel styles

Use this to look up the comfort signals and travel styles that search_hotels accepts, when the user's wish doesn't map clearly to one. Returns every filter (id, name, description, category, whether it's a must-have) and every travel style. Plain names also work in search_hotels tags ('quiet', 'wifi'). Read-only, no sign-in.

compare_hotels Compare hotels

Use this when the user is choosing between 2-4 specific hotels. Returns each hotel's Comfort Score breakdown, price, strengths and complaints, the signals where they differ most, and a verdict: best comfort, cheapest, best value. Hotel ids come from search_hotels (hotel_name finds a hotel the user names). Read-only, no sign-in.

ParameterTypeDescription
hotel_ids *array2-4 hotel ids from search_hotels.
adultsintegerGuests per room (1-8), if given.
checkinstringUser's check-in date, YYYY-MM-DD (e.g. 2027-03-12), if given: links then open on this stay.
checkoutstringCheck-out date, YYYY-MM-DD (e.g. 2027-03-15).

find_similar_hotels Find similar hotels

Use this when the user likes a hotel but wants alternatives, e.g. 'like this one but cheaper' (cheaper_only). Returns hotels in the same destination with the closest comfort profile, none with repeated complaints about cleanliness, beds, showers, bugs or safety, with the price difference. Read-only, no sign-in.

ParameterTypeDescription
hotel_id *stringHotel id to find alternatives for.
adultsintegerGuests per room (1-8), if given.
cheaper_onlybooleanOnly hotels priced below this one.
checkinstringUser's check-in date, YYYY-MM-DD (e.g. 2027-03-12), if given: links then open on this stay.
checkoutstringCheck-out date, YYYY-MM-DD (e.g. 2027-03-15).
limitintegerHow many to return (default 5).
max_pricenumberMaximum price per night in USD.

get_city_overview Destination overview

Use this when the user is still choosing a destination or an area to stay in. Returns how many hotels we score, the average Comfort Score, median price, where its hotels beat and trail the average hotel, the best neighbourhoods with their top hotel, which travel styles it suits, the city tax at a 4-star hotel, when to go (pleasant, cool-night and quiet months, typical weather by month) and, where we have a guide, where to stay: the area for a first visit, quiet nights, nightlife, families and value, with each area's price, comfort, street noise and bars. A request for hotels (e.g. 'quiet hotel…

ParameterTypeDescription
location *stringCity name or slug (an area such as Canggu gives its destination's overview).
adultsintegerGuests per room (1-8), if given.
checkinstringUser's check-in date, YYYY-MM-DD (e.g. 2027-03-12), if given: links then open on this stay.
checkoutstringCheck-out date, YYYY-MM-DD (e.g. 2027-03-15).

plan_trip Plan a multi-stop trip

Use this when the user plans a trip with several stops. Returns hotels for each stay in travel order (e.g. Lisbon 4 nights, Porto 3, Madrid 5): the best match for each stop by the OKstays Comfort Score (or the travel style's score), alternatives, the stay dates and an indicative total. Each hotel link opens its OKstays page with the stop's dates, so its Book Now button books those nights. Agree the stops and nights with the user first; list_cities shows which destinations of a country we cover. Read-only, no sign-in.

ParameterTypeDescription
stops *arrayThe trip's stops in order.
adultsintegerGuests per room (default 2).
alternativesintegerOther options per stop (default 2).
max_pricenumberMaximum indicative price per night in USD.
min_scorenumberMinimum Comfort Score (0-10).
personastringTravel style for every stop: digital-nomad, deep-sleep, avoid-crowds, romantic, family, business, solo-safe, luxury, budget-comfort, long-stays.
property_typestringproperty_type: hotels (default), apartments, guest-houses, hostels or any. hotels includes resorts, riads and ryokans; apartments includes aparthotels, holiday homes, villas and chalets; guest-houses…
start_datestringCheck-in date of the first stop, YYYY-MM-DD; each stop starts when the one before ends. Without it, no dates are set.
tagsarrayFilters every hotel must score 8+ on, as in search_hotels.