pricewin-price-comparison
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRequires theMCP server. This skill issues no network calls of its own.pricewin
需要依赖MCP服务器。该Skill自身不会发起任何网络请求。pricewin
Price Comparison
价格对比
MCP server: . Compares live rates across Booking.com, Agoda, Traveloka (crawled) plus OpenTravel (direct API).
pricewinComparison 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 you | Tool |
|---|---|
| A city — "compare hotel prices in Da Nang" | |
| A named hotel — "is Mercure Danang cheaper on Agoda or Booking?" | |
A hotel already known to be OpenTravel direct ( | |
MCP服务器:。对比来自Booking.com、Agoda、Traveloka(爬虫获取)以及OpenTravel(直接API调用)的实时房价。
pricewin价格对比需要基于返回的数据源进行——不存在服务器端的对比调用。请根据用户提供的信息选择对应的入口工具:
| 用户提供的信息 | 工具 |
|---|---|
| 一个城市 —— "对比岘港的酒店价格" | |
| 一个指定酒店 —— "岘港美居酒店在Agoda还是Booking上更便宜?" | |
已知为OpenTravel直连的酒店( | |
City-wide comparison
全城范围对比
search_hotels_livesessionId- — required:
search_hotels_live,city,checkIn(YYYY-MM-DD). Optional:checkOut(default 2),adults,rooms,area,hotelName,priceMin,priceMaxlanguage - Wait 5s →
poll_search_results(sessionId, nights) - While is
statusorpending: wait 5s and poll again — up to 18 times (90s)partial - Present as soon as with hotels; keep polling silently and refine
status == "partial"
Then compare per hotel across its sources. See
for the full dedupe + presentation contract — do not restate it differently here.
pricewin-hotel-searchsearch_hotels_livesessionId- — 必填参数:
search_hotels_live、city、checkIn(格式为YYYY-MM-DD)。可选参数:checkOut(默认值为2)、adults、rooms、area、hotelName、priceMin、priceMaxlanguage - 等待5秒 → 调用
poll_search_results(sessionId, nights) - 当为
status或pending时:等待5秒后再次轮询——最多轮询18次(共90秒)partial - 一旦并返回酒店列表,立即展示结果;同时继续静默轮询以优化结果
status == "partial"
随后针对每家酒店对比其在不同数据源的价格。完整的去重与展示规范请参考——请勿在此处重新表述。
pricewin-hotel-searchSingle named hotel
指定单一酒店
get_ota_hotel_detail- Required: ,
checkIn. PasscheckOut+hotelName+city(verbatim user text) whenever knownqueryText - Do NOT call for a named hotel — that returns a whole-city list
search_hotels_live - Live crawl, ~20–60s. Say nothing about "loading" until it actually returns
- Speed-up: if a prior search already gave you , pass it as
prices.booking.urlto skip name resolutionpropertyUrl - If it returns not-found under load, retry once
Returns rooms, prices, facilities, photos, reviews for that property.
get_ota_hotel_detail- 必填参数:、
checkIn。若已知相关信息,请传入checkOut+hotelName+city(用户原始查询文本)queryText - 请勿针对指定酒店调用— 该工具会返回全城酒店列表
search_hotels_live - 实时爬虫获取数据,耗时约20–60秒。在结果返回前不要提及“加载中”
- 加速技巧:如果之前的搜索已提供,可将其作为
prices.booking.url传入,跳过名称解析步骤propertyUrl - 若因负载过高返回未找到结果,请重试一次
返回该酒店的房型、价格、设施、图片及评价信息。
OpenTravel direct properties
OpenTravel直连酒店
get_hotel_detailsource: "OPENTRAVEL_DIRECT"- Pass (UUID from
propertyId) when availableopentravelResults[].propertyId - +
hotelNameis a fallback only for a property already confirmed as OpenTravel directcity - Required: ,
checkIn. Optional:checkOut,adults,childrenlanguage - Returns room types with and
roomTypeId— these are what make a property bookableratePlanId
⚠️ Router rule: have a → . Name only → .
propertyIdget_hotel_detailget_ota_hotel_detailget_hotel_detailsource: "OPENTRAVEL_DIRECT"- 若有(来自
propertyId的UUID),请传入该参数opentravelResults[].propertyId - +
hotelName仅作为已确认是OpenTravel直连酒店的备用参数city - 必填参数:、
checkIn。可选参数:checkOut、adults、childrenlanguage - 返回包含和
roomTypeId的房型信息——这两个参数是酒店可预订的关键标识ratePlanId
⚠️ 路由规则:拥有 → 调用。仅知道名称 → 调用。
propertyIdget_hotel_detailget_ota_hotel_detailCancellation terms
取消条款
For OpenTravel rate plans only:
→ non-refundable flag, free-cancellation window, refund %, and the computed deadline.
get_cancellation_policy(propertyId, ratePlanId, checkInDate)ratePlanIdget_hotel_detailroomTypes[].ratePlanIdcheckInDate仅针对OpenTravel的价格方案:调用 → 返回不可退款标识、免费取消窗口期、退款比例以及计算得出的取消截止日期。
get_cancellation_policy(propertyId, ratePlanId, checkInDate)ratePlanIdget_hotel_detailroomTypes[].ratePlanIdcheckInDatePresenting 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: → "Save Z%"
(next - cheapest) / next * 100 - 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.
- 完全按价格排序。任何数据源都不享有优先级,包括OpenTravel
- 先展示价格最低的平台,再依次列出其他平台:
Agoda $X · Booking $Y · OpenTravel $Z - 与次低价平台相比的节省比例:→ “节省Z%”
(next - cheapest) / next * 100 - 当价格差距较小时,优先选择支持免费取消的选项,并说明原因
- 所有价格默认以美元计价,除非工具另有说明。不进行货币转换
工具输入与响应字段说明:reference.md。