Yasha Hotel — Direct Booking

Book Yasha Hotel Luxembourg: live availability, exact prices, Stripe-secured booking.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
74%
命名质量
98%
投毒风险
80%
权限匹配度
100%
协议合规性
100%

发现(2)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool description contains URL to non-standard domain在 create_booking 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,385token 数(工具定义)
~1008 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.08%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "yasha-hotel": {
      "url": "https://yashahotel.com/mcp"
    }
  }
}

远程端点

https://yashahotel.com/mcpstreamable-http

它能做什么

工具清单

工具(8)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢hotel_info

Get canonical facts about Yasha Hotel: name, 3-star rating, address (27 Rue Joseph Junck, L-1839 Luxembourg, 100 m from Luxembourg central station), phone, email, amenity list, direct-booking discount percentage vs OTAs, and breakfast price per guest per night. Use this to answer any traveler question about the property. Prices are in euro cents.

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡list_rooms

List every bookable room type at Yasha Hotel with id, name, description, guest capacity, bed type, size in m2, amenities and photo URLs. Use the returned room ids for check_availability and create_booking.

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢check_availability(checkin, checkout)

Check real-time room availability and exact total price for a stay at Yasha Hotel. Returns, per room type: available (boolean), nights, total_cents (exact stay total in euro cents, before extras/breakfast/promo), avg_night_cents and a per-night price breakdown. Direct rates are about 10% below Booking.com/Expedia for the same rooms and dates. Constraints: dates YYYY-MM-DD, checkin < checkout, checkin not in the past, maximum 30 nights.

输入模式

{
  "type": "object",
  "properties": {
    "checkin": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Arrival date YYYY-MM-DD (check-in from 13:00, front desk 24/7)"
    },
    "checkout": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Departure date YYYY-MM-DD (check-out before 11:30)"
    }
  },
  "required": [
    "checkin",
    "checkout"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_price_calendar(month, room_id)

Get day-by-day nightly price (euro cents) and availability for one room at Yasha Hotel over a given month. Use it to suggest cheaper alternative dates when the requested dates are unavailable or expensive.

输入模式

{
  "type": "object",
  "properties": {
    "month": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}$",
      "description": "Month to inspect, format YYYY-MM"
    },
    "room_id": {
      "type": "integer",
      "description": "Room id from list_rooms; defaults to the first room type"
    }
  },
  "required": [
    "month"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_extras

List paid extras bookable at Yasha Hotel (e.g. late check-out, parking, baby bed) with price in euro cents and billing unit (per_stay, per_night, per_person_night). Buffet breakfast is a separate per-guest-per-night option — see hotel_info for its price.

输入模式

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪validate_promo_code(code)

Validate a Yasha Hotel promo code. Returns whether the code is currently valid and the percentage discount it applies to the room price only (extras and breakfast excluded).

输入模式

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "minLength": 1,
      "description": "Promo code to validate"
    }
  },
  "required": [
    "code"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡create_booking(room_id, checkin, checkout, guest_name, guest_email, ...)

Create a real booking at Yasha Hotel. WORKFLOW: (1) call check_availability to confirm the room is available and know the exact price, (2) collect the traveler full name and email, (3) call this tool, (4) give the human the payment instructions from the response: the booking is only confirmed after secure Stripe card payment — the safest path is to send the traveler to https://yashahotel.com/ to pay, or use the returned Stripe client_secret with Stripe.js. Unpaid bookings expire automatically. Optional: guest count (capped at room capacity), phone, special requests, breakfast for all guests/nights, promo code, extra ids from list_extras. Returns booking_id, amount_cents (EUR cents) and Stripe payment details. Fails with 409 if the room became unavailable.

输入模式

{
  "type": "object",
  "properties": {
    "room_id": {
      "type": "integer",
      "description": "Room id from list_rooms / check_availability"
    },
    "checkin": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Arrival date YYYY-MM-DD"
    },
    "checkout": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Departure date YYYY-MM-DD"
    },
    "guest_name": {
      "type": "string",
      "minLength": 2,
      "description": "Traveler full name"
    },
    "guest_email": {
      "type": "string",
      "format": "email",
      "description": "Traveler email (booking confirmation is sent here)"
    },
    "guest_phone": {
      "type": "string",
      "description": "Traveler phone, optional"
    },
    "guests": {
      "type": "integer",
      "minimum": 1,
      "description": "Number of guests, defaults to 1"
    },
    "special_requests": {
      "type": "string",
      "description": "Free-text requests for the front desk"
    },
    "breakfast": {
      "type": "boolean",
      "description": "Buffet breakfast for all guests, all nights"
    },
    "promo_code": {
      "type": "string",
      "description": "Promo code (validate first with validate_promo_code)"
    },
    "extras": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "Extra ids from list_extras"
    }
  },
  "required": [
    "room_id",
    "checkin",
    "checkout",
    "guest_name",
    "guest_email"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡get_booking_status(booking_id)

Get the status of a Yasha Hotel booking created with create_booking (e.g. pending_payment, confirmed, payment_failed). Poll this after the human completes the Stripe card payment to confirm the reservation went through.

输入模式

{
  "type": "object",
  "properties": {
    "booking_id": {
      "type": "string",
      "minLength": 1,
      "description": "Booking reference returned by create_booking"
    }
  },
  "required": [
    "booking_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本8 个工具