pricewin-hotel-search
Installation
SKILL.md
Requires the
pricewinMCP server. This skill issues no network calls of its own.
Hotel Search (Live)
MCP server: pricewin. Tool search_hotels_live triggers async crawl across 3 OTAs.
CRITICAL: Polling pattern
search_hotels_live returns IMMEDIATELY with sessionId. You MUST poll until results arrive:
- Call
search_hotels_livewith city, checkIn (YYYY-MM-DD), checkOut (YYYY-MM-DD), adults, language="vi" - Wait 5s, then
poll_search_results(sessionId, nights) - If status == "pending" or "partial": wait 5s and poll AGAIN — up to 18 times (90s total)
- Present results as soon as status == "partial" with hotels
- Continue polling silently — refine if more arrive
Never tell the user "loading/please wait" after 1-2 polls — that's premature.