booking
Book Wanaka Haus, an Architectural Passive home in Wānaka NZ. Availability, quotes, Stripe checkout.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`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커뮤니티
증거