AGENT SKILL
hotel-search
Search hotels via Travelpayouts/Hotellook and compare prices across booking sites
- License 许可
- MIT
- 所属仓库
- theYahia/WWmcp
- 最近更新
- 2026-09-26
- Stars
- ★ 38
- Forks
- 5
01 前言 Front Matter
- name
- hotel-search
- description
- Search hotels via Travelpayouts/Hotellook and compare prices across booking sites
- argument-hint
- <city> <check_in YYYY-MM-DD> <check_out YYYY-MM-DD> [adults]
03 SKILL.md 正文
/hotel-search — Hotels and price comparison
Algorithm
- Call
search_hotelswith location (city or resort name, e.g. Moscow or Сочи), check_in, check_out, adults (1–9, default 2), children (0–4), currency (default rub) and limit (1–50, default 10). - Rank the results the way the user asked — cheapest, best rated, or closest to centre. If they did not say, sort by price and note the rating alongside so the trade-off is visible.
- For the shortlist, call
get_hotel_priceswith hotel_id (from the search results), check_in, check_out, adults and currency. This returns live rates from different OTAs — Booking, Ostrovok and others — for the same room. - Show the spread between OTAs. That spread is the whole point: the same hotel often differs by 15–30% between agencies.
- Compute price per night (total divided by nights) so options with different stay lengths are comparable.
Response format
## Hotels — Сочи, 2026-10-12 → 2026-10-15 (2 adults, 3 nights)
| # | Hotel | Rating | Total | Per night |
|---|-------|--------|-------|-----------|
| 1 | Marins Park | 8.4 | 21,600 ₽ | 7,200 ₽ |
| 2 | Bogatyr | 9.1 | 34,500 ₽ | 11,500 ₽ |
### Price by agency — Marins Park (hotel_id 4471)
| Agency | Total |
|--------|-------|
| Ostrovok | 21,600 ₽ |
| Booking | 25,100 ₽ |
Saving by choosing the cheaper agency: 3,500 ₽.
Notes
- hotel_id is a number from
search_hotels. Do not pass a hotel name toget_hotel_prices. - Prices are cached indicative rates, not a guaranteed booking. Say so — the user will see a different number if they book hours later.
- children is capped at 4 and adults at 9 per query.
- This server searches and prices; it does not book. There is no reservation tool here.
Examples
/hotel-search Сочи 2026-10-12 2026-10-15
/hotel-search Istanbul 2026-11-01 2026-11-05 2
04 同仓库更多 Skills
refund-payment
Возврат по платежу — полный или частичный. Проверяет статус перед возвратом
★ 38
daily-report
Отчёт по платежам за сегодня — суммы, статусы, итого. Использует list_payments
★ 38
create-and-track
Создать платёж в ЮKassa и показать ссылку для оплаты. Использует create_payment и get_payment
★ 38
check-account
Проверка статуса магазина ЮKassa — тестовый/боевой, фискализация, ID
★ 38
semantic-core
Сбор семантического ядра под русский рынок — частотность, расширение, сезонность
★ 38
geo-priority
Где спрос по фразе выше среднего — регионы РФ по объёму и affinity для геотаргетинга
★ 38