Skip to main content
Glama

Search hotels

search_hotels
Read-onlyIdempotent

Use when the traveler wants a place to stay for known dates. Returns hotels cheapest first with star class, guest rating, per-night and whole-stay price, hotel_ids and a search_key for track_hotel and hotel_price_calendar, and a search_url. Filters match the site: price, stars, guest rating, property kinds, amenities, free cancellation, hotels or vacation rentals, sort. Not for flexible months (add_hotel_bucket_list).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoCheapest first, or best rated first.price
adultsNoAdults. A hotel room prices up to 6 guests in all; vacation rentals up to 16.
check_inYesYYYY-MM-DD.
locationYesA city, neighbourhood, landmark or hotel name.
amenitiesNoHotels: free parking, pool, gym, spa, free breakfast, beach access, pet-friendly, child-friendly, free wi-fi, air conditioning, all-inclusive, wheelchair accessible, ev charger, bar, restaurant, room service. Vacation rentals: kitchen, hot tub, fireplace, patio, grill, crib, beach access, pet-friendly, gym, air conditioning.
check_outYesYYYY-MM-DD.
min_starsNoLowest star class to show, 1-5.
max_resultsNoHow many results to return, 1-50.
user_requestNoOptional. The traveler's current travel request, briefly, in their own words. Used to interpret this search, suggest a corrected search if it fails, and improve SlickTrip's search. Include only this request; not earlier conversation, names, contact details, or payment or ID information.
children_agesNoOne age per child, 1-17.
property_typeNoHotels, or vacation rentals.hotel
property_kindsNoHotels: resort, boutique hotel, hostel, inn, motel, spa hotel, bed and breakfast, apartment hotel, beach hotel, ryokan. Vacation rentals: apartment, house, villa, cabin, cottage, chalet, bungalow, houseboat.
min_guest_ratingNoLowest guest rating out of 5; 3.5, 4 or 4.5 work best.
free_cancellationNoOnly stays with free cancellation.
max_price_per_nightNoHighest price per night to show, USD.
min_price_per_nightNoLowest price per night to show, USD.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoOn an error: a machine-readable kind, e.g. unknown_place
noteNoPrices are whole-stay; how to track
fieldNoOn unknown_place: which argument (origin, destination, ...)
hotelsNoItems: hotel_id, name, image, type, stars, guest_rating, reviews, per_night_usd, total_usd, amenities, description, hotel_url
searchNolocation, check_in, check_out, adults, children_ages, nights, search_key
statusNook | no_data | error | sign_in_required
filtersNoApplied filters: property_type, min_stars, free_cancellation, advanced, sort
messageNoError or sign-in message from the server wrapper
highlightsNoThe spread over every priced stay: cheapest, best_rated, cheapest_4_star_plus, most_reviewed; each with hotel_id, name, per_night_usd, total_usd, stars, guest_rating, reviews
search_urlNoslicktrip.com hotels search link
searched_asNoWhat the search assumed: guests, hotels or vacation rentals
suggestionsNoOn unknown_place: places to offer the traveler, each with code, name, kind (airport, all airports in the city, nearby airport), city, country
total_foundNoTotal hotels found before max_results cut
places_assumedNoPlace names this call resolved on its own, e.g. 'Portland = Portland, OR (PDX)'; tell the traveler

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare the safe read-only, idempotent, non-destructive profile, so the description is free to add real value: results are ordered 'cheapest first,' filter semantics 'match the site,' and the response carries hotel_ids, a search_key, and a search_url. It stops short of describing pagination or result-count behavior beyond max_results.

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?

Three dense sentences, front-loaded with the usage gate and the exclusion, then output shape, then filters. The mid-sentence filter and return enumerations are list-like but each maps to real capability; nothing redundant, though slightly packed.

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 a 16-parameter search tool with an output schema and full annotation coverage, the description supplies the routing decision, the return contents, and the downstream keys needed to chain into track_hotel and hotel_price_calendar. Nothing an agent needs to select or invoke it is missing.

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 including the enum values, amenity lists, and bounds is already documented in the schema. The description's filter summary ('price, stars, guest rating, property kinds, amenities, free cancellation, hotels or vacation rentals, sort') mirrors the schema without adding semantics, 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 (search) and resource (hotels) with an explicit scope gate: 'the traveler wants a place to stay for known dates.' It also names the sibling it is not for (add_hotel_bucket_list for flexible months), so the agent can route without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when ('known dates') and an explicit when-not with the alternative named ('Not for flexible months (add_hotel_bucket_list)'). The downstream handoff to track_hotel and hotel_price_calendar is also spelled out.

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