Spann Stays
Read-only sample stays, booking constraints, and staged reservation actions for review.
我该使用它吗
质量与安全性
B
发现(4)
- HIGH
- MEDIUM在 prepare_reservation_action 中
- LOW在 explain_booking_constraints 中
- INFO在 prepare_reservation_action 中
基于对工具定义和协议合规性的自动分析。
上下文开销
~703token 数(工具定义)
~2.2 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.55%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"stays": {
"url": "https://mcp.spannhq.com/mcp"
}
}
}远程端点
https://mcp.spannhq.com/mcpstreamable-httphttps://mcp.persimmonhq.com/hospitality/mcpstreamable-http它能做什么
工具清单
工具(3)
🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search_availability(destination, property_id, stay, guest_count, language, ...)
Search deterministic sample stay options from the Spann Stays fixture; no live inventory or property availability is queried.
输入模式
{
"type": "object",
"properties": {
"destination": {
"type": "object",
"additionalProperties": false,
"required": [
"country",
"prefecture"
],
"properties": {
"country": {
"type": "string",
"const": "JP"
},
"prefecture": {
"type": "string"
},
"city": {
"type": "string"
},
"area": {
"type": "string"
}
}
},
"property_id": {
"type": "string"
},
"stay": {
"type": "object",
"additionalProperties": false,
"required": [
"check_in",
"check_out"
],
"properties": {
"check_in": {
"type": "string"
},
"check_out": {
"type": "string"
}
}
},
"guest_count": {
"type": "object",
"additionalProperties": false,
"required": [
"adults",
"children",
"rooms"
],
"properties": {
"adults": {
"type": "integer",
"minimum": 1
},
"children": {
"type": "integer",
"minimum": 0
},
"rooms": {
"type": "integer",
"minimum": 1
}
}
},
"language": {
"type": "string",
"enum": [
"en",
"ja"
]
},
"required_constraints": {
"type": "array",
"items": {
"type": "string"
}
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"stay",
"guest_count",
"language"
],
"additionalProperties": false,
"oneOf": [
{
"required": [
"destination"
]
},
{
"required": [
"property_id"
]
}
]
}🟢explain_booking_constraints(property_id, room_rate_id, language, traveler_constraints)
Explain fixture-backed booking constraints for a sample property and rate; no property authority or live policy decision is provided.
输入模式
{
"type": "object",
"properties": {
"property_id": {
"type": "string"
},
"room_rate_id": {
"type": "string"
},
"language": {
"type": "string",
"enum": [
"en",
"ja"
]
},
"traveler_constraints": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"constraint_type",
"value"
],
"properties": {
"constraint_type": {
"type": "string"
},
"value": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"notes": {
"type": [
"string",
"null"
]
}
}
}
}
},
"required": [
"property_id",
"room_rate_id",
"language"
],
"additionalProperties": false
}🟢prepare_reservation_action(option_id, room_rate_id, traveler_packet, special_requests, confirmation_language, ...)
Prepare a fixture-only reservation action for review; never holds a room, books, pays, sends, or contacts a property. Use sample traveler placeholders only.
输入模式
{
"type": "object",
"properties": {
"option_id": {
"type": "string"
},
"room_rate_id": {
"type": "string"
},
"traveler_packet": {
"type": "object",
"additionalProperties": false,
"required": [
"lead_traveler_name",
"party",
"contact",
"language",
"consent_source"
],
"properties": {
"lead_traveler_name": {
"type": "string"
},
"party": {
"type": "object"
},
"contact": {
"type": "object"
},
"language": {
"type": "string",
"enum": [
"en",
"ja"
]
},
"consent_source": {
"type": "string"
}
}
},
"special_requests": {
"type": "array",
"items": {
"type": "object"
}
},
"confirmation_language": {
"type": "string",
"enum": [
"en",
"ja"
]
},
"desired_action_mode": {
"type": "string",
"enum": [
"stage_only"
]
}
},
"required": [
"option_id",
"room_rate_id",
"traveler_packet",
"desired_action_mode"
],
"additionalProperties": false
}社区
证据
最近观测
已验证未记录版本3 个工具
已验证未记录版本3 个工具
已验证未记录版本3 个工具
已验证未记录版本3 个工具
已验证未记录版本3 个工具