Daolv Hotel Booking
Provide reliable hotel planning and booking support with structured MCP calls and decision-ready outputs.
Workflow
- 1. Capture booking intent before calling tools
- - Extract: destination, check-in date, nights, adults/children, room count, budget, purpose (business/family/leisure), required amenities, preferred/avoided brands.
- If key constraints are missing, ask only the minimum follow-up questions.
- 2. Prime tags once per task
- - Call
ai-go-hotel.getHotelSearchTags once. - Cache returned tags for the rest of the conversation.
- Use those tags to build
hotelTags.requiredTags, preferredTags, excludedTags, and optional budget constraints.
- 3. Search hotels with normalized parameters
- - Call
ai-go-hotel.searchHotels with:
-
place
-
placeType
-
originQuery
- optional
checkInDate,
stayNights,
adultCount,
size,
starRatings,
hotelTags,
countryCode,
distanceInMeter,
withHotelAmenities,
language
- - Prefer
size=8-12 for first pass; narrow to top 3-5 in final output. - Respect live schema behavior:
-
checkInDate invalid/past/empty may fallback to tomorrow
-
price is an object (use
price.lowestPrice +
price.currency)
- some fields can be null or missing
- -
placeType can be normalized from user language:
- 城市/city → 城市
- 机场/airport → 机场
- 景点/attraction → 景点
- 火车站/railway station → 火车站
- 地铁站/metro → 地铁站
- 酒店/hotel → 酒店
- 4. Enrich finalists with room-level details
- - For each shortlisted option, call
ai-go-hotel.getHotelDetail (prefer hotelId when available). - Pass dates with
checkInDate / checkOutDate format YYYY-MM-DD. - Handle fallback and edge behavior:
- invalid/empty dates may auto-correct
- failures may return plain text (not structured JSON)
-
roomRatePlans can be very large; render only top rows by relevance/price
- - Extract actionable room/price data, cancellation policy, breakfast inclusion, and important constraints.
- 5. Return decision-ready output
- Recommended option (best fit)
- Two alternatives
- Why each matches constraints
- Trade-offs (price vs distance vs amenities)
- Booking handoff steps (what user should confirm next)
Output Template
Use concise bullet format:
- - 行程信息: 目的地 / 日期 / 人数 / 预算 / 关键偏好
- 推荐酒店(首选)
- 酒店名
- 预估价格(每晚 & 总价)
- 位置与交通
- 房型亮点
- 取消与早餐政策
- 推荐理由
- - 备选 1 / 备选 2(同结构)
- 决策建议: 适合人群与风险提示
- 下一步确认: 仅列 2-4 个必要确认项
Quality Bar
- - Prefer concrete numbers over vague wording.
- Do not invent unavailable policies/prices.
- If data is missing or stale, say so explicitly and suggest a refresh query.
- Keep choices constrained: no long dump lists.
- Avoid credential exposure or config leakage.
MCP Preset Config
- - Embedded MCP preset is included at:
-
references/mcp-client-config.json
- - It targets
https://mcp.aigohotel.com/mcp using streamable_http and prefilled Authorization header.
Platform Distribution
When user asks to publish/distribute this skill, follow the checklist in:
- - INLINECODE33
- INLINECODE34
道旅酒店预订
提供可靠的酒店规划与预订支持,包含结构化的MCP调用和可直接决策的输出结果。
工作流程
- 1. 在调用工具前获取预订意图
- - 提取:目的地、入住日期、住宿天数、成人与儿童人数、房间数量、预算、出行目的(商务/家庭/休闲)、所需设施、偏好/避免的品牌。
- 如关键约束条件缺失,仅提出最少量的追问。
- 2. 每次任务仅调用一次标签
- - 调用ai-go-hotel.getHotelSearchTags一次。
- 缓存返回的标签供后续对话使用。
- 使用这些标签构建hotelTags.requiredTags、preferredTags、excludedTags以及可选的预算约束。
- 3. 使用标准化参数搜索酒店
- - 调用ai-go-hotel.searchHotels,参数包括:
- place
- placeType
- originQuery
- 可选参数:checkInDate、stayNights、adultCount、size、starRatings、hotelTags、countryCode、distanceInMeter、withHotelAmenities、language
- - 首次搜索优先使用size=8-12;最终输出缩小至前3-5个选项。
- 注意实时模式行为:
- checkInDate无效/已过期/为空时可能默认使用次日
- price为对象类型(使用price.lowestPrice + price.currency)
- 部分字段可能为null或缺失
- 城市/city → 城市
- 机场/airport → 机场
- 景点/attraction → 景点
- 火车站/railway station → 火车站
- 地铁站/metro → 地铁站
- 酒店/hotel → 酒店
- 4. 丰富最终候选酒店的房型详情
- - 对每个入围选项,调用ai-go-hotel.getHotelDetail(优先使用hotelId)。
- 日期格式为checkInDate/checkOutDate,格式YYYY-MM-DD。
- 处理回退和边界情况:
- 无效/空日期可能自动修正
- 失败时可能返回纯文本(非结构化JSON)
- roomRatePlans可能非常庞大;仅按相关性/价格展示前几行
- - 提取可操作的房型/价格数据、取消政策、早餐包含情况以及重要约束条件。
- 5. 返回可直接决策的输出
- 推荐选项(最佳匹配)
- 两个备选方案
- 各选项符合约束条件的理由
- 权衡因素(价格 vs 距离 vs 设施)
- 预订交接步骤(用户下一步应确认的内容)
输出模板
使用简洁的要点格式:
- - 行程信息: 目的地 / 日期 / 人数 / 预算 / 关键偏好
- 推荐酒店(首选)
- 酒店名
- 预估价格(每晚 & 总价)
- 位置与交通
- 房型亮点
- 取消与早餐政策
- 推荐理由
- - 备选 1 / 备选 2(同结构)
- 决策建议: 适合人群与风险提示
- 下一步确认: 仅列 2-4 个必要确认项
质量标准
- - 优先使用具体数字,避免模糊表述。
- 不虚构不可用的政策/价格。
- 如数据缺失或过时,需明确说明并建议刷新查询。
- 保持选项精简:不提供冗长的列表。
- 避免凭证泄露或配置信息外泄。
MCP预设配置
- references/mcp-client-config.json
- - 目标地址为https://mcp.aigohotel.com/mcp,使用streamable_http和预填的Authorization头。
平台分发
当用户要求发布/分发此技能时,请遵循以下清单:
- - references/distribution.md
- references/promo-copy.md