hotels
Hotel search, live prices and rate holds in 9 cities incl. Dubai, Sydney, Madrid; pay on fostay.com
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"hotels": {
"url": "https://fostay.com/api/mcp"
}
}
}Remote-Endpunkte
https://fostay.com/api/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (7)
🟢search_stays(city, area, query, min_rating, limit, ...)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"city": {
"type": "string",
"enum": [
"Dubai",
"Abu Dhabi",
"Goa",
"Madrid",
"Barcelona",
"Sydney",
"Melbourne",
"Singapore",
"Auckland",
"Istanbul",
"Bangkok",
"London"
],
"description": "City or destination to search"
},
"area": {
"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)",
"type": "string",
"enum": [
"candolim-calangute-baga",
"anjuna-vagator",
"morjim-mandrem-arambol",
"panaji-old-goa",
"south-goa-beaches",
"palolem-agonda"
]
},
"query": {
"description": "Optional hotel-name filter, e.g. 'Atlantis' or 'Rove'",
"type": "string",
"maxLength": 80
},
"min_rating": {
"description": "Minimum guest rating on a 10 scale, e.g. 8",
"type": "number",
"minimum": 0,
"maximum": 10
},
"limit": {
"description": "Max catalog results (default 10)",
"type": "integer",
"minimum": 1,
"maximum": 25
},
"checkin": {
"description": "Not for Goa: check-in date YYYY-MM-DD. With checkout, the results carry live prices for the stay.",
"type": "string"
},
"checkout": {
"description": "Not for Goa: check-out date YYYY-MM-DD (pass with checkin).",
"type": "string"
},
"adults": {
"description": "Adults for the live prices (default 2)",
"type": "integer",
"minimum": 1,
"maximum": 8
},
"currency": {
"description": "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.",
"type": "string",
"enum": [
"AED",
"INR",
"USD",
"EUR",
"GBP",
"AUD",
"SGD",
"NZD",
"THB",
"TRY"
]
}
},
"required": [
"city"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_live_rates(hotel_id, checkin, checkout, adults, children, ...)
Live bookable room offers for one hotel and stay dates: total all-in price (in AED by default, or the currency you pass), board (breakfast etc.), refundability and exact free-cancellation deadlines. For Goa, total_all_in counts GST, and any part the hotel collects at check-in is itemised separately (collected_by_hotel_at_checkin). The booking_url takes a human straight to this hotel on fostay.com to complete the booking.
Eingabe-Schema
{
"type": "object",
"properties": {
"hotel_id": {
"type": "string",
"minLength": 3,
"maxLength": 40,
"description": "Hotel id from search_stays (e.g. lp6556acf7)"
},
"checkin": {
"type": "string",
"description": "Check-in date, YYYY-MM-DD"
},
"checkout": {
"type": "string",
"description": "Check-out date, YYYY-MM-DD"
},
"adults": {
"description": "Adult guests (default 2)",
"type": "integer",
"minimum": 1,
"maximum": 8
},
"children": {
"description": "Children's ages at check-in, e.g. [7, 9]. IMPORTANT for families: child-inclusive rates price kids' breakfast and extras upfront — always pass ages when children travel.",
"maxItems": 4,
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 17
}
},
"currency": {
"description": "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.",
"type": "string",
"enum": [
"AED",
"INR",
"USD",
"EUR",
"GBP",
"AUD",
"SGD",
"NZD",
"THB",
"TRY"
]
}
},
"required": [
"hotel_id",
"checkin",
"checkout"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢demand_calendar(city)
Fostay's editorial demand calendar (UAE only — Dubai and Abu Dhabi; Goa has no event calendar yet): the upcoming date windows where Dubai and Abu Dhabi hotels predictably spike or sell out (GITEX, F1, NYE, Eid, school breaks...), each with a suggested book-by deadline. Use it to warn users about expensive dates or find event stays.
Eingabe-Schema
{
"type": "object",
"properties": {
"city": {
"description": "Filter by city (default: both)",
"type": "string",
"enum": [
"Dubai",
"Abu Dhabi"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢event_stays(event, adults, currency)
Where to stay for a major UAE event, in one call: hotels grouped by distance to the venue (at the venue, nearby, rest of the city), each with live all-in prices for the event's own dates, whether rooms were found, refundability and a link that opens the hotel on those dates. Use it for questions like 'best hotels for the Abu Dhabi Grand Prix / F1', 'where to stay near Yas Marina Circuit' or 'is the F1 weekend sold out'. Currently supports: abu-dhabi-f1-2026, abu-dhabi-f1-2027 (the Abu Dhabi Grand Prix at Yas Marina Circuit: 3-7 December 2026 and 9-13 December 2027). Also returns Fostay's editorial advice for the event and when to book. To book a hotel, pass its hotel_id and an offer from get_live_rates to prepare_booking.
Eingabe-Schema
{
"type": "object",
"properties": {
"event": {
"description": "Event to rank hotels for (default: the next one still ahead)",
"type": "string",
"enum": [
"abu-dhabi-f1-2026",
"abu-dhabi-f1-2027"
]
},
"adults": {
"description": "Adults for the live prices (default 2)",
"type": "integer",
"minimum": 1,
"maximum": 8
},
"currency": {
"description": "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.",
"type": "string",
"enum": [
"AED",
"INR",
"USD",
"EUR",
"GBP",
"AUD",
"SGD",
"NZD",
"THB",
"TRY"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢when_to_go(hotel_id, city, currency)
Prices upcoming weekends (Fri–Sun, 2 nights) to find the cheapest times to stay. Pass hotel_id for one hotel across ~8 weekends, or just a city to compare Fostay's curated stays (Dubai, Abu Dhabi) or top-rated Goa hotels across the next ~6 weekends. Cheapest options first.
Eingabe-Schema
{
"type": "object",
"properties": {
"hotel_id": {
"description": "Optional hotel id from search_stays",
"type": "string",
"minLength": 3,
"maxLength": 40
},
"city": {
"description": "Used when hotel_id is omitted",
"type": "string",
"enum": [
"Dubai",
"Abu Dhabi",
"Goa"
]
},
"currency": {
"description": "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.",
"type": "string",
"enum": [
"AED",
"INR",
"USD",
"EUR",
"GBP",
"AUD",
"SGD",
"NZD",
"THB",
"TRY"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡prepare_booking(offer_id, guest_first_name, guest_last_name, guest_email, guest_phone, ...)
Books everything except the payment: holds the chosen offer (real prebook — the price is locked while the hold lasts), registers the guest details, and returns a payment_url. The human opens that link, sees the exact stay summary, and pays in one step — the agent never handles card details. Confirm the guest's name and email with the user before calling. If the held price differs from what you quoted, this returns the final price and any change warnings — tell the user before sending them to pay.
Eingabe-Schema
{
"type": "object",
"properties": {
"offer_id": {
"type": "string",
"minLength": 10,
"maxLength": 4000,
"description": "offer_id from get_live_rates"
},
"guest_first_name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"guest_last_name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"guest_email": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Guest's email — booking confirmation goes here"
},
"guest_phone": {
"type": "string",
"maxLength": 32
},
"agent_name": {
"description": "Your client name for attribution, e.g. 'claude' or 'chatgpt'",
"type": "string",
"maxLength": 40
}
},
"required": [
"offer_id",
"guest_first_name",
"guest_last_name",
"guest_email"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢booking_status(booking_id, guest_email)
Verify a completed booking: confirmation status, hotel confirmation code, stay and price. Requires the Fostay booking id AND the guest email it was booked under (both are in the guest's confirmation). Use after the human pays via a prepare_booking link.
Eingabe-Schema
{
"type": "object",
"properties": {
"booking_id": {
"type": "string",
"minLength": 4,
"maxLength": 40,
"description": "Fostay booking id, e.g. uzYG5ZTt9"
},
"guest_email": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Guest email on the booking"
}
},
"required": [
"booking_id",
"guest_email"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis