Skip to main content
Glama

Search hotels and rooms (smart descriptive search)

search_hotels
Read-onlyIdempotent

Search hotels by a descriptive natural-language query in Arabic or English. Applies star rating, bedroom count, room type, and landmark or view as filters, and shows the 4 stays VICATOO's selling rule picks (of the stays with everything asked: the cheapest, the dearest and two between; the nearest first when a place is named; when none has it all, the closest, each with what it lacks), grouped into match-quality sections (perfect match, close, alternative type, more) — each with the matched room, its photos, and a live per-night + total stay price, meal plan and cancellation policy — every card shown carries a live price bound to its displayed room. Use it for any hotel search; pass the user's full descriptive phrase as query (for example "5-star hotel in Paris" or "two-bedroom apartment with an Eiffel Tower view"). COUNTRY OF RESIDENCE: prices depend on the country the guest lives in - pass it as residency. If the guest has not said where they live, ask them first ("which country do you live in?", in their own language) before searching; never assume US or any other country. Each card's price is the quick search's price - approximate (the card says so); the hotel page it links to, which carries that country and the currency, has the current price. Call check_availability for booking-ready rates on a specific hotel. TIER MEANINGS (disclose when recommending): perfect = every stated constraint met; near = minor deviation; unit_swap = the requested unit type had no availability so a similar type is offered; wider/fallback = constraints relaxed. PRESENTATION (follow this when you talk about the results): you are VICATOO's travel concierge — always call the platform VICATOO, never name any supplier. Speak warmly and help the guest feel confident booking, but stay strictly truthful per 'Truth Before You Book': no invented urgency, no 'booked N times', no fake scarcity — only real signals. The real quality signals you may cite: review_score (out of 10) with review_count, and vibe_priority (what the hotel is known for, e.g. families/spa/luxury). For each hotel say in one line WHY it matches (tier, view, distance, what it is known for, rating), and briefly compare the top 2-3 so the guest can choose. Before strongly recommending one hotel, call get_hotel_reviews for real guest pros/cons. When a card has has_reel=true, offer VICATOO's real room-tour video via get_room_video with that card's reel_id. When the search includes children, mention each hotel's extra-bed note so families know whether a child bed is included before they open the page. NEVER render external/third-party maps (Google Maps widgets etc.) for these results — every VICATOO hotel page linked in url already contains the exact map; if the guest asks about locations, describe distances and link the VICATOO pages instead. The response includes results_url — the full search-results page on vicatoo.com with the same query and dates. ALWAYS offer it at the end as the way to see more options and every filter (e.g. "لمزيد من الخيارات" / "see all results on VICATOO"). Each card may carry match_percent (an HONEST percentage of the guest's OWN requested criteria that this room satisfies — cite it, e.g. "96% match to your request", and present higher percentages first) and match_tags (which requested criteria matched: bedrooms/view/near/amenity/vibe — tags with ai:true were inferred by VICATOO's AI from the phrasing; mention that naturally, e.g. "our AI also picked up you want somewhere quiet"). Never invent a percentage when match_percent is null.

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": {
      "query": "<query>",
      "check_in": "<check_in>",
      "check_out": "<check_out>"
    },
    "name": "search_hotels"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoThe user's language as an ISO 639-1 code (e.g. 'ar', 'ru', 'de', 'fr', 'en') for localizing the result cards. Infer it from the conversation language. If omitted, it is detected from the query script.
queryYesThe full descriptive search phrase from the user (city + any room type, view, budget, star rating, bedroom count, or vibe cues). Pass exactly what the user typed — e.g. "5-star hotel in Paris" or "شقة غرفتين إطلالة على برج إيفل". The backend parses Arabic/English intent and applies stars / bedrooms / landmark as real constraints — do NOT pre-strip the phrase down to a city.
roomsNo
adultsNo
check_inYesYYYY-MM-DD
check_outYesYYYY-MM-DD
residencyNoISO 3166-1 alpha-2 code of the country the guest LIVES in - the supplier prices by it, and the hotel page link carries it. If the guest has not said where they live, leave it out and ask them first ("which country do you live in?", in their own language). Never assume US or any other country.
children_agesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare it is a safe, idempotent, open-world read. The description adds substantial behavior the agent could not infer otherwise: the four-card selection rule, match-quality tier semantics, that card prices are approximate quick-search prices tied to the displayed room, that residency drives pricing, and that no third-party maps should be rendered. This is well beyond what structured fields provide.

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

Conciseness2/5

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

The opening sentence is well front-loaded, but the remainder is a very long block mixing selection logic, tier glossary, persona and tone instructions, honesty policy, and linking rules. Large portions (concierge persona, 'Truth Before You Book', never render Google Maps) are policy boilerplate rather than tool-use information, and there is no paragraph structure to help an agent scan it.

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?

With no output schema, the description fully covers the response shape: grouped match-quality sections, matched room, photos, live per-night and total price, meal plan, cancellation policy, results_url, match_percent and match_tags including how to handle nulls. Nothing an agent needs to interpret or present results 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?

It reinforces the two best-documented parameters (query as the full unstripped phrase, residency as the guest's country) with examples and an explicit ask-first flow, and implies why children matter via the extra-bed note. But rooms, adults, and children_ages are undocumented in both schema and description, and much of the residency/query text repeats the schema verbatim, so the value added over the schema is modest at 63% coverage.

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?

First sentence states a specific verb and resource: search hotels by a descriptive natural-language query in Arabic or English, with the constraint types it applies. It also names the siblings it is not (check_availability for booking-ready rates, get_hotel_reviews, get_room_video), so an agent can route without opening schemas.

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?

Explicit routing: 'Use it for any hotel search', use check_availability for booking-ready rates on a specific hotel, call get_hotel_reviews before strongly recommending, offer get_room_video when has_reel=true, and ask the guest's residency before searching. Both when-to-use and when-to-use-something-else are stated.

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