pricewin-price-comparison

bởi price-win

So sánh giá phòng khách sạn trực tiếp trên Booking.com, Agoda, Traveloka và OpenTravel cho các ngày cụ thể — OTA nào rẻ nhất cho cùng một khách sạn, giá mỗi phòng và điều kiện hủy miễn phí. Sử dụng khi so sánh giá khách sạn, kiểm tra giá phòng cho một khách sạn cụ thể, hỏi trang nào rẻ hơn hoặc tìm mức giá tốt nhất cho ngày nhận phòng/trả phòng đã cho.

npx skills add https://github.com/price-win/pricewin-skills-hub --skill pricewin-price-comparison

Requires the pricewin MCP server. This skill issues no network calls of its own.

Price Comparison

MCP server: pricewin. Compares live rates across Booking.com, Agoda, Traveloka (crawled) plus OpenTravel (direct API).

Comparison is something you do over the returned sources — there is no server-side compare call. Pick the entry point by what the user gave you:

User gave youTool
A city — "compare hotel prices in Da Nang"search_hotels_livepoll_search_results
A named hotel — "is Mercure Danang cheaper on Agoda or Booking?"get_ota_hotel_detail
A hotel already known to be OpenTravel direct (source: "OPENTRAVEL_DIRECT", has propertyId)get_hotel_detail

City-wide comparison

search_hotels_live returns IMMEDIATELY with a sessionId — it does not return hotels.

  1. search_hotels_live — required: city, checkIn, checkOut (YYYY-MM-DD). Optional: adults (default 2), rooms, area, hotelName, priceMin, priceMax, language
  2. Wait 5s → poll_search_results(sessionId, nights)
  3. While status is pending or partial: wait 5s and poll again — up to 18 times (90s)
  4. Present as soon as status == "partial" with hotels; keep polling silently and refine

Then compare per hotel across its sources. See pricewin-hotel-search for the full dedupe + presentation contract — do not restate it differently here.

Single named hotel

get_ota_hotel_detail — for one specific Booking.com/Agoda hotel the user named.

  • Required: checkIn, checkOut. Pass hotelName + city + queryText (verbatim user text) whenever known
  • Do NOT call search_hotels_live for a named hotel — that returns a whole-city list
  • Live crawl, ~20–60s. Say nothing about "loading" until it actually returns
  • Speed-up: if a prior search already gave you prices.booking.url, pass it as propertyUrl to skip name resolution
  • If it returns not-found under load, retry once

Returns rooms, prices, facilities, photos, reviews for that property.

OpenTravel direct properties

get_hotel_detail — only for results with source: "OPENTRAVEL_DIRECT".

  • Pass propertyId (UUID from opentravelResults[].propertyId) when available
  • hotelName + city is a fallback only for a property already confirmed as OpenTravel direct
  • Required: checkIn, checkOut. Optional: adults, children, language
  • Returns room types with roomTypeId and ratePlanId — these are what make a property bookable

⚠️ Router rule: have a propertyIdget_hotel_detail. Name only → get_ota_hotel_detail.

Cancellation terms

For OpenTravel rate plans only: get_cancellation_policy(propertyId, ratePlanId, checkInDate) → non-refundable flag, free-cancellation window, refund %, and the computed deadline.

ratePlanId comes from get_hotel_detailroomTypes[].ratePlanId. Pass checkInDate or you get no deadline. OTA hotels have no structured policy — quote whatever the crawl returned.

Presenting a comparison

  • Rank purely by price. No source gets priority, OpenTravel included
  • Show the cheapest source first, then the others underneath: Agoda $X · Booking $Y · OpenTravel $Z
  • Savings vs the next-cheapest source: (next - cheapest) / next * 100 → "Save Z%"
  • When the gap is small, prefer the free-cancellation option and say why
  • All prices USD unless the tool says otherwise. No conversion

Tool inputs and response fields: reference.md.

Security & data handling

Documentation only — no code, no dependencies, no network calls of its own. The only data sent is the comparison query (city or hotel name, dates, guests, plus queryText — the user's message verbatim), to PriceWin's hosted MCP server https://mcp.price.win/mcp (no credentials, no account). No PII, and this skill cannot book or pay for anything. Full disclosure — operator, backend provenance, exact fields per tool — in SECURITY.md.

Thêm skills từ price-win

pricewin-deal-finder
price-win
So sánh giá khách sạn & ưu đãi trên Booking, Agoda, Google Hotels và OpenTravel cho ngày đi và số lượng khách nhất định. Sử dụng để tìm giá khách sạn, ưu đãi hoặc so sánh giá OTA.
pricewin-hotel-deal-finder
price-win
Tìm ưu đãi khách sạn rẻ nhất bằng cách so sánh giá trực tiếp trên Booking.com, Agoda, Google Hotels và OpenTravel cho bất kỳ thành phố nào trên thế giới và bất kỳ ngày đi nào — một lệnh trả về các lựa chọn được xếp hạng theo giá trị tốt nhất, rẻ nhất và chất lượng kèm liên kết đặt phòng trực tiếp, tất cả được quy đổi sang USD. Sử dụng bất cứ khi nào ai đó hỏi về giá khách sạn, ưu đãi khách sạn, phòng hoặc mức giá rẻ nhất, mức giá khách sạn tốt nhất, so sánh giá khách sạn, hoặc OTA nào rẻ hơn — ví dụ: 'Booking hay Agoda rẻ hơn cho Tokyo', 'tìm cho tôi một khách sạn ở...
pricewin-hotel-search
price-win
Tìm kiếm khách sạn trực tiếp trên Agoda + Booking.com + Traveloka + OpenTravel với giá theo thời gian thực cho các ngày cụ thể. Sử dụng khi người dùng muốn biết giá khách sạn cho ngày du lịch, so sánh các OTA, hoặc tìm phòng.
researchweb-scrapingapi
pricewin-flight-search
price-win
Tìm kiếm giá vé máy bay trực tiếp cho một chặng bay và ngày cụ thể trên Agoda, Trip.com và Traveloka — một chiều hoặc khứ hồi, mọi hạng cabin, kèm hãng bay, giờ bay, số điểm dừng, thời lượng và liên kết đặt vé trực tiếp. Sử dụng khi người dùng muốn biết giá vé máy bay, vé máy bay hoặc vé hàng không, vé rẻ giữa hai thành phố, so sánh hãng bay cho ngày đi, hoặc lên kế hoạch cho chặng bay của chuyến đi.
researchweb-scraping
pricewin-booking-assistant
price-win
Đề xuất phòng khách sạn và hoàn tất đặt phòng thực tế từ đầu đến cuối — đặt chỗ trực tiếp tại cơ sở OpenTravel với liên kết thanh toán (QR ngân hàng, thẻ hoặc PayPal), kiểm tra trạng thái thanh toán, gửi lại liên kết hết hạn hoặc hủy đặt phòng. Dự phòng bằng liên kết trực tiếp Booking.com/Agoda/Traveloka cho khách sạn chỉ có trên OTA. Sử dụng khi đặt hoặc giữ phòng khách sạn, nhận đề xuất phòng, thanh toán cho kỳ lưu trú, kiểm tra mã xác nhận hoặc hủy đặt chỗ.