Skip to main content
Glama

Search hotels in Dubai, Abu Dhabi, Goa, Sydney, Melbourne, Auckland, Singapore, Madrid, Barcelona, Istanbul, Bangkok or London (Fostay)

search_stays
Read-only

Search hotels in Dubai, Abu Dhabi, Goa, Sydney, Melbourne, Auckland, Singapore, Madrid, Barcelona, Istanbul, Bangkok or London. For Sydney, Melbourne, Auckland, Singapore, Madrid, Barcelona, Istanbul, Bangkok and London, returns the city's best guest-rated 4–5★ hotels (any hotel when searched by name), with live all-in prices when checkin and checkout are given (in AED by default, or another currency Fostay can charge), a fostay_url that opens each hotel on those dates, the city's areas, and links to Fostay's pages for it (where to stay by area, hotels with harbour views or a pool, venues). For Dubai and Abu Dhabi, returns Fostay's hand-curated edit first (8 flagship stays with editorial verdicts), then catalog matches (~2,000 bookable hotels). For Goa, returns the best-reviewed hotels and resorts (hostels and homestays only when searched by name), optionally narrowed to one area. For Dubai and Abu Dhabi, pass checkin and checkout to get live all-in prices for the shortlist in the same call (from_total_all_in, from_per_night, refundable, rooms_available), a fostay_url that opens each hotel on those exact dates, and any major event (F1, GITEX, National Day, NYE...) those dates fall in. Without dates, use get_live_rates for prices. For the Abu Dhabi Grand Prix call event_stays instead: it ranks hotels by distance to the circuit. Results include a fostay_url where a human can view photos, live rates and book.

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": {
      "city": "<city>"
    },
    "name": "search_stays"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoGoa only: narrow to one area — candolim-calangute-baga (Candolim, Calangute & Baga); anjuna-vagator (Anjuna, Vagator & Assagao); morjim-mandrem-arambol (Morjim, Mandrem, Arambol & Siolim); panaji-old-goa (Panaji & Old Goa); south-goa-beaches (Colva, Benaulim, Varca & Cavelossim); palolem-agonda (Palolem & Agonda)
cityYesCity or destination to search
limitNoMax catalog results (default 10)
queryNoOptional hotel-name filter, e.g. 'Atlantis' or 'Rove'
adultsNoAdults for the live prices (default 2)
checkinNoNot for Goa: check-in date YYYY-MM-DD. With checkout, the results carry live prices for the stay.
checkoutNoNot for Goa: check-out date YYYY-MM-DD (pass with checkin).
currencyNoCurrency to quote in (AED, INR, USD, EUR, GBP, AUD, SGD, NZD, THB, TRY). Defaults to AED (dirhams) for every city; pass another currency to quote in it. The price quoted is the price charged.
min_ratingNoMinimum guest rating on a 10 scale, e.g. 8

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / city / enum
      Previous value: -[
      -  "Dubai",
      -  "Abu Dhabi",
      -  "Goa",
      -  "Madrid",
      -  "Barcelona",
      -  "Sydney",
      -  "Melbourne",
      -  "Singapore",
      -  "Auckland"
      -]New value: +[
      +  "Dubai",
      +  "Abu Dhabi",
      +  "Goa",
      +  "Madrid",
      +  "Barcelona",
      +  "Sydney",
      +  "Melbourne",
      +  "Singapore",
      +  "Auckland",
      +  "Istanbul",
      +  "Bangkok",
      +  "London"
      +]
    • changedInput schema / properties / currency / description
      Previous value: -"Currency to quote in (AED, INR, EUR, AUD, SGD, NZD). Defaults to the hotel's home currency: INR for Goa, AED for Dubai and Abu Dhabi, AUD for Sydney and Melbourne, NZD for Auckland, SGD for Singapore, EUR for Madrid and Barcelona. The price quoted is the price charged."New value: +"Currency to quote in (AED, INR, USD, EUR, GBP, AUD, SGD, NZD, THB, TRY). Defaults to AED (dirhams) for every city; pass another currency to quote in it. The price quoted is the price charged."
    • changedInput schema / properties / currency / enum
      Previous value: -[
      -  "AED",
      -  "INR",
      -  "EUR",
      -  "AUD",
      -  "SGD",
      -  "NZD"
      -]New value: +[
      +  "AED",
      +  "INR",
      +  "USD",
      +  "EUR",
      +  "GBP",
      +  "AUD",
      +  "SGD",
      +  "NZD",
      +  "THB",
      +  "TRY"
      +]
  2. Changed4 schema fields changed
    • changedInput schema / properties / checkin / description
      Previous value: -"Dubai/Abu Dhabi only: check-in date YYYY-MM-DD. With checkout, the results carry live prices for the stay."New value: +"Not for Goa: check-in date YYYY-MM-DD. With checkout, the results carry live prices for the stay."
    • changedInput schema / properties / checkout / description
      Previous value: -"Dubai/Abu Dhabi only: check-out date YYYY-MM-DD (pass with checkin)."New value: +"Not for Goa: check-out date YYYY-MM-DD (pass with checkin)."
    • changedInput schema / properties / city / enum
      Previous value: -[
      -  "Dubai",
      -  "Abu Dhabi",
      -  "Goa"
      -]New value: +[
      +  "Dubai",
      +  "Abu Dhabi",
      +  "Goa",
      +  "Madrid",
      +  "Barcelona",
      +  "Sydney",
      +  "Melbourne",
      +  "Singapore",
      +  "Auckland"
      +]
    • changedInput schema / properties / currency / description
      Previous value: -"Currency to quote in (AED, INR, EUR, AUD, SGD, NZD). Defaults to the hotel's home currency: INR for Goa, AED for Dubai and Abu Dhabi. The price quoted is the price charged."New value: +"Currency to quote in (AED, INR, EUR, AUD, SGD, NZD). Defaults to the hotel's home currency: INR for Goa, AED for Dubai and Abu Dhabi, AUD for Sydney and Melbourne, NZD for Auckland, SGD for Singapore, EUR for Madrid and Barcelona. The price quoted is the price charged."
  3. Changed4 schema fields changed
    • addedInput schema / properties / adults
      Added value: +{
      +  "description": "Adults for the live prices (default 2)",
      +  "maximum": 8,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / checkin
      Added value: +{
      +  "description": "Dubai/Abu Dhabi only: check-in date YYYY-MM-DD. With checkout, the results carry live prices for the stay.",
      +  "type": "string"
      +}
    • addedInput schema / properties / checkout
      Added value: +{
      +  "description": "Dubai/Abu Dhabi only: check-out date YYYY-MM-DD (pass with checkin).",
      +  "type": "string"
      +}
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "Currency to quote in (AED, INR, EUR, AUD, SGD, NZD). Defaults to the hotel's home currency: INR for Goa, AED for Dubai and Abu Dhabi. The price quoted is the price charged.",
      +  "enum": [
      +    "AED",
      +    "INR",
      +    "EUR",
      +    "AUD",
      +    "SGD",
      +    "NZD"
      +  ],
      +  "type": "string"
      +}
  4. Changed3 schema fields changed
    • addedInput schema / properties / area
      Added value: +{
      +  "description": "Goa only: narrow to one area — candolim-calangute-baga (Candolim, Calangute & Baga); anjuna-vagator (Anjuna, Vagator & Assagao); morjim-mandrem-arambol (Morjim, Mandrem, Arambol & Siolim); panaji-old-goa (Panaji & Old Goa); south-goa-beaches (Colva, Benaulim, Varca & Cavelossim); palolem-agonda (Palolem & Agonda)",
      +  "enum": [
      +    "candolim-calangute-baga",
      +    "anjuna-vagator",
      +    "morjim-mandrem-arambol",
      +    "panaji-old-goa",
      +    "south-goa-beaches",
      +    "palolem-agonda"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / city / description
      Previous value: -"City to search"New value: +"City or destination to search"
    • changedInput schema / properties / city / enum
      Previous value: -[
      -  "Dubai",
      -  "Abu Dhabi"
      -]New value: +[
      +  "Dubai",
      +  "Abu Dhabi",
      +  "Goa"
      +]
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only/open-world safety, and the description adds substantial behavior beyond them: live all-in price fields (from_total_all_in, from_per_night, refundable, rooms_available), the AED default and the "price quoted is the price charged" guarantee, major-event detection on the requested dates, and the fostay_url per result. These are operational traits an agent could not get from the structured fields.

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?

The opening sentence duplicates the title verbatim and the Dubai/Abu Dhabi behavior is split across two separated passages, forcing the reader to re-associate them. Otherwise the per-city segments are dense and each carries distinct information, so the length is largely justified for a 12-city, 9-parameter tool.

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 read-only search with no output schema, the description covers inputs, per-city result composition, price semantics, currency default, event awareness, and the booking hand-off URL — everything needed to call it correctly and interpret the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description still adds real meaning — checkin/checkout trigger live pricing and are explicitly "Not for Goa," and query is revealed to unlock by-name matching for any hotel, including hostels and homestays that are otherwise excluded. Only currency/adults/limit/min_rating are left purely to the schema.

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 and resource (search hotels) plus the exact 12-city scope, and then differentiates per-city return behavior (curated edit for Dubai/Abu Dhabi vs. best-rated 4–5★ for the rest vs. best-reviewed resorts for Goa). An agent can tell this apart from get_live_rates and event_stays 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?

Explicit routing rules are given for the two sibling tools: "Without dates, use get_live_rates for prices" and "For the Abu Dhabi Grand Prix call event_stays instead." It also states the condition for passing checkin/checkout and the Goa restriction on dates, leaving nothing to inference.

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