booking
Book Wanaka Haus, an Architectural Passive home in Wānaka NZ. Availability, quotes, Stripe checkout.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"booking": {
"url": "https://wanakahaus.nz/api/mcp"
}
}
}远程端点
https://wanakahaus.nz/api/mcpstreamable-http它能做什么
工具清单
工具(5)
🟢search_availability(from, to)
Open and booked nights for Wanaka Haus (sleeps 8, Wānaka NZ) in a date window, up to 18 months ahead. Ranges are check-in inclusive, check-out exclusive.
输入模式
{
"type": "object",
"properties": {
"from": {
"description": "Window start, YYYY-MM-DD. Defaults to today.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to": {
"description": "Window end, YYYY-MM-DD. Defaults to 18 months out.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_quote(check_in, check_out, guests)
Itemised NZD total for a stay at Wanaka Haus. Validates the stay rules (minimum nights, peak-season minimum, guest cap) and checks the dates are open, before you commit to a booking.
输入模式
{
"type": "object",
"properties": {
"check_in": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "YYYY-MM-DD"
},
"check_out": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "YYYY-MM-DD, exclusive — the morning the guests leave"
},
"guests": {
"type": "integer",
"minimum": 1,
"maximum": 8
}
},
"required": [
"check_in",
"check_out",
"guests"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_booking(check_in, check_out, guests, guest_name, guest_email, ...)
Book Wanaka Haus: atomically holds the dates for 30 minutes and returns a Stripe Checkout URL. The booking confirms only when payment completes on that URL — give it to your user to pay (or pay with an agent wallet's one-time card). No account or API key needed.
输入模式
{
"type": "object",
"properties": {
"check_in": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "YYYY-MM-DD"
},
"check_out": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "YYYY-MM-DD"
},
"guests": {
"type": "integer",
"minimum": 1,
"maximum": 8
},
"guest_name": {
"type": "string",
"minLength": 2,
"maxLength": 200,
"description": "The guest's full name"
},
"guest_email": {
"type": "string",
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "The guest's real email — confirmation and door code go here, and it is required to cancel"
},
"notes": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"check_in",
"check_out",
"guests",
"guest_name",
"guest_email"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_booking(id)
Status of a Wanaka Haus booking: held, confirmed, cancelled or lapsed.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The booking id, e.g. bk_1a2b3c4d5e6f"
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴cancel_booking(id, guest_email)
Cancel a Wanaka Haus booking under the published policy (full refund to 14 days before arrival, 50% to 7 days, none inside 7). Requires the guest email the booking was made with.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"guest_email": {
"type": "string",
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Must match the email the booking was made with"
}
},
"required": [
"id",
"guest_email"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}推荐提示词
search_availabilitysearch_availabilityget_quoteget_quotesearch_availabilitycreate_booking社区
证据