ThinkReservations MCP by usefulapi
Read rooms, rates, inventory, reservations and price quotes in ThinkReservations.
我该使用它吗
质量与安全性
发现(9)
- LOW在 thinkreservations_list_room_types 中
- LOW在 thinkreservations_list_rate_types 中
- LOW在 thinkreservations_get_rate_type 中
- LOW在 thinkreservations_get_daily_rates 中
- LOW在 thinkreservations_list_promotions 中
- LOW在 thinkreservations_list_reservations 中
- LOW在 thinkreservations_get_inventory 中
- LOW在 thinkreservations_list_blackouts 中
- LOW在 thinkreservations_get_availability 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"thinkreservations": {
"url": "https://thinkreservations.usefulapi.io/mcp"
}
}
}远程端点
https://thinkreservations.usefulapi.io/mcpstreamable-http它能做什么
工具清单
工具(11)
🟢thinkreservations_get_hotel
Get the basic details of the property (hotel) the API key is bound to. Needs scope read:hotel.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢thinkreservations_list_rooms
List the rooms of the property: name, description, room type and whether the room is active. Needs scope read:room.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢thinkreservations_list_room_types
List the room types (name and id). Use the ids to filter inventory and daily rates. Needs scope read:room.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢thinkreservations_list_rate_types
List the rate types the property offers, with their policies. Needs scope read:rate.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢thinkreservations_get_rate_type(rate_type_id)
Get one rate type and its policies by id. Needs scope read:rate.
输入模式
{
"type": "object",
"properties": {
"rate_type_id": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Rate type id from thinkreservations_list_rate_types."
}
},
"required": [
"rate_type_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢thinkreservations_get_daily_rates(rate_type_id, start_date, end_date, room_type_id)
Get the day-by-day price, minimum-stay rules and closed-to-arrival restrictions of one rate type for a date range. Needs scope read:rate.
输入模式
{
"type": "object",
"properties": {
"rate_type_id": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Rate type id."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First date, yyyy-mm-dd."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last date, yyyy-mm-dd."
},
"room_type_id": {
"description": "Only this room type.",
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"rate_type_id",
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢thinkreservations_list_promotions
List the promotions configured for the property. Needs scope read:rate.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢thinkreservations_list_reservations(stay_on_start_date, stay_on_end_date, created_at_start_date_time, created_at_end_date_time, updated_at_start_date_time, ...)
List reservations (paged). Filter by stay dates, creation time or last-modified time (give at least one filter). Guest contact details appear only if the key has scope read:customer; otherwise customer is null. Needs scope read:reservation.
输入模式
{
"type": "object",
"properties": {
"stay_on_start_date": {
"description": "Reservations with a stay on or after this date.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"stay_on_end_date": {
"description": "Reservations with a stay on or before this date.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"created_at_start_date_time": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T[\\d:.]+(Z|[+-]\\d{2}:?\\d{2})$"
},
"created_at_end_date_time": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T[\\d:.]+(Z|[+-]\\d{2}:?\\d{2})$"
},
"updated_at_start_date_time": {
"description": "Last modified from this time. Use for incremental sync.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T[\\d:.]+(Z|[+-]\\d{2}:?\\d{2})$"
},
"updated_at_end_date_time": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T[\\d:.]+(Z|[+-]\\d{2}:?\\d{2})$"
},
"page": {
"description": "Page number, starts at 0.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"size": {
"description": "Reservations per page (default 10).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 200
},
"sort": {
"description": "Sort expression, as the API reference describes.",
"type": "string",
"maxLength": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢thinkreservations_get_inventory(start_date, end_date, room_type_id)
Get the daily inventory (units left) per room type for a date range. Needs scope read:availability.
输入模式
{
"type": "object",
"properties": {
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First date, yyyy-mm-dd."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last date, yyyy-mm-dd."
},
"room_type_id": {
"description": "Only this room type.",
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢thinkreservations_list_blackouts(start_date, end_date)
List the blackouts in a date range: room-specific blocked dates (room id and date pairs), not whole-property closures. Needs scope read:availability.
输入模式
{
"type": "object",
"properties": {
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First date, yyyy-mm-dd."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last date, yyyy-mm-dd."
}
},
"required": [
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢thinkreservations_get_availability(start_date, end_date, number_of_adults, number_of_children, child_ages, ...)
Search what the property can sell for a stay: per bookable unit, the rate types with price for the whole stay, fees, taxes, deposit and total. Read-only quote, books nothing. Needs scope read:availability.
输入模式
{
"type": "object",
"properties": {
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Check-in date, yyyy-mm-dd."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Check-out date, yyyy-mm-dd."
},
"number_of_adults": {
"description": "Adults (default 2).",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"number_of_children": {
"description": "Children (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 50
},
"child_ages": {
"description": "One age per child.",
"maxItems": 50,
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 30
}
},
"number_of_pets": {
"type": "integer",
"minimum": 0,
"maximum": 20
},
"coupon_code": {
"description": "A promotion code the hotel has published.",
"type": "string",
"maxLength": 100
}
},
"required": [
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据