pricewin-price-comparison

โดย price-win

เปรียบเทียบอัตราค่าห้องพักโรงแรมแบบเรียลไทม์จาก Booking.com, Agoda, Traveloka และ OpenTravel สำหรับวันที่ระบุ — ว่า OTA ใดถูกที่สุดสำหรับโรงแรมเดียวกัน ราคาต่อห้อง และเงื่อนไขการยกเลิกฟรี ใช้เมื่อเปรียบเทียบราคาโรงแรม ตรวจสอบอัตราค่าห้องสำหรับโรงแรมที่ระบุชื่อ สอบถามว่าเว็บไซต์ใดถูกกว่า หรือค้นหาอัตราที่ดีที่สุดสำหรับวันเช็คอิน/เช็คเอาท์ที่กำหนด

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.

Skills เพิ่มเติมจาก price-win

pricewin-deal-finder
price-win
การเปรียบเทียบราคาโรงแรมและข้อเสนอพิเศษจาก Booking, Agoda, Google Hotels และ OpenTravel สำหรับวันที่เดินทางและจำนวนผู้เข้าพักที่กำหนด ใช้สำหรับค้นหาราคาโรงแรม ข้อเสนอพิเศษ หรือเปรียบเทียบอัตราจาก OTA
pricewin-hotel-deal-finder
price-win
ค้นหาข้อเสนอโรงแรมที่ถูกที่สุดโดยเปรียบเทียบราคาสดจาก Booking.com, Agoda, Google Hotels และ OpenTravel สำหรับเมืองใดก็ได้ทั่วโลกและวันเดินทางใดก็ได้ — คำสั่งเดียวจะคืนผลลัพธ์ที่จัดอันดับตัวเลือกคุ้มค่าที่สุด ถูกที่สุด และคุณภาพดี พร้อมลิงก์จองโดยตรง คิดเป็นสกุลเงิน USD ทั้งหมด ใช้เมื่อมีคนถามหาราคาโรงแรม ข้อเสนอโรงแรม ห้องพักหรืออัตราที่ถูกที่สุด อัตราโรงแรมที่ดีที่สุด การเปรียบเทียบราคาโรงแรม หรือว่า OTA ไหนถูกกว่า — เช่น 'Booking หรือ Agoda ถูกกว่าสำหรับโตเกียว' 'หาโรงแรมให้ฉันใน...
pricewin-hotel-search
price-win
ค้นหาโรงแรมแบบเรียลไทม์ทั่ว Agoda + Booking.com + Traveloka + OpenTravel พร้อมราคาล่าสุดสำหรับวันที่ระบุ ใช้เมื่อผู้ใช้ต้องการราคาโรงแรมสำหรับวันเดินทาง เปรียบเทียบ OTA หรือค้นหาห้องพัก
researchweb-scrapingapi
pricewin-flight-search
price-win
ค้นหาค่าโดยสารเที่ยวบินสดสำหรับเส้นทางและวันที่ผ่าน Agoda, Trip.com และ Traveloka — เที่ยวเดียวหรือไป-กลับ ทุกชั้นโดยสาร พร้อมสายการบิน เวลา จุดแวะพัก ระยะเวลา และลิงก์จองโดยตรง ใช้เมื่อผู้ใช้ต้องการราคาเที่ยวบิน ตั๋วเครื่องบิน เที่ยวบินราคาถูกหรือค่าโดยสารระหว่างสองเมือง เปรียบเทียบสายการบินสำหรับวันเดินทาง หรือวางแผนส่วนการบินของการเดินทาง
researchweb-scraping
pricewin-booking-assistant
price-win
แนะนำห้องพักโรงแรมและดำเนินการจองจริงแบบครบวงจร — จองห้องพักกับโรงแรมโดยตรงผ่าน OpenTravel พร้อมลิงก์ชำระเงิน (QR ธนาคาร บัตร หรือ PayPal) ตรวจสอบสถานะการชำระเงิน ส่งลิงก์ที่หมดอายุใหม่ หรือยกเลิกการจอง รองรับการเปลี่ยนไปใช้ลิงก์ Booking.com/Agoda/Traveloka โดยตรงสำหรับโรงแรมที่จองผ่าน OTA เท่านั้น ใช้เมื่อต้องการจองหรือสำรองห้องพักโรงแรม ขอคำแนะนำห้องพัก ชำระค่าที่พัก ตรวจสอบรหัสยืนยัน หรือยกเลิกการจอง