{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "locktrip.com",
    "site": "locktrip.com",
    "addresses": [
      {
        "address": "104.26.15.97",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "104.26.14.97",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "172.67.75.153",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:20::681a:e61",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:20::681a:f61",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:20::ac43:4b99",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.26.15.97",
          "104.26.14.97",
          "172.67.75.153",
          "2606:4700:20::681a:e61",
          "2606:4700:20::681a:f61",
          "2606:4700:20::ac43:4b99"
        ],
        "first_seen": "2026-11-22T15:20:03.481Z",
        "last_seen": "2026-11-22T15:20:03.481Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "locktrip-hotel-booking",
      "version": "1.0.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.locktrip",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "12211",
    "server_name": "com.locktrip/hotels",
    "url": "https://locktrip.com/mcp/rpc",
    "host": "locktrip.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T15:20:03.481Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "cd1f2d5bb8b688d714613b26a53a33b7f050f86f37eafa63838c80a56fa0dffb",
    "first_listed_at": "2026-11-21T09:29:00.961Z",
    "created_at": "2026-11-21T06:10:04.965Z",
    "resolved_addresses": [
      "104.26.15.97",
      "104.26.14.97",
      "172.67.75.153",
      "2606:4700:20::681a:e61",
      "2606:4700:20::681a:f61",
      "2606:4700:20::ac43:4b99"
    ]
  },
  "server": {
    "name": "com.locktrip/hotels",
    "title": "LockTrip Hotels",
    "description": "Search hotels worldwide, compare rooms, prices and cancellation terms, then get a link to book.",
    "version": "1.0.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://locktrip.com/agents",
    "published_at": "2026-11-03T16:53:33.274Z",
    "updated_at": "2026-11-03T16:53:33.274Z",
    "first_seen": "2026-11-21T06:10:04.330Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:13:09.779Z"
  },
  "operator": {
    "key": "locktrip.com",
    "name": "locktrip.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 465,
    "first_check_in_window": "2026-11-21T09:29:00.961Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "cd1f2d5bb8b688d714613b26a53a33b7f050f86f37eafa63838c80a56fa0dffb",
    "tools": 17,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T09:29:01.423Z",
    "tool_names": [
      "search_location",
      "hotel_search",
      "get_search_results",
      "get_hotel_rooms",
      "check_cancellation_policy",
      "prepare_booking",
      "confirm_booking",
      "list_bookings",
      "get_booking_details",
      "cancel_booking",
      "get_hotel_details",
      "get_payment_url",
      "create_checkout",
      "guest_login",
      "get_credit_line_statement",
      "list_settlements",
      "get_statement_document"
    ],
    "declared": {
      "tools": [
        {
          "name": "search_location",
          "title": "Search Locations",
          "description": "Searches LockTrip destinations (cities, regions, landmarks, or specific hotels) by free-text `query`. Returns `locations[]`, each with `id`, `name`, `country`, `type` (CITY/REGION/HOTEL/AIRPORT/POI), and `fullName`. Pass a chosen location's `id` to `hotel_search` as its `regionId` to search hotels in that area. No authentication required. This is the first step of the booking flow.",
          "inputSchema": {
            "type": "object",
            "required": [
              "query"
            ],
            "properties": {
              "query": {
                "type": "string",
                "description": "Search query (city name, region, or hotel name)"
              },
              "language": {
                "type": "string",
                "description": "Language code (default: en)"
              }
            }
          },
          "annotations": {
            "title": "Search Locations",
            "readOnlyHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "hotel_search",
          "title": "Search Hotels",
          "description": "Starts an asynchronous hotel-availability search and returns a `searchKey` (plus `sessionId`, `status`, `totalHotels`). Required: `startDate` and `endDate` (both YYYY-MM-DD), `rooms[]` (each `{adults, childrenAges?[]}`, 1-4 adults per room), `nationality` (2-letter ISO country code), and EITHER `regionId` (from `search_location`) OR `latitude`+`longitude`; `currency` (3-letter) is strongly recommended. Before calling, collect the missing trip details from the user (exact check-in date, number of nights to derive `endDate`, number of rooms/adults, and nationality) instead of guessing. No authentication required. Pass the returned `searchKey` to `get_search_results` (poll it), and reuse the SAME `searchKey` for `get_hotel_rooms` and `prepare_booking`.",
          "inputSchema": {
            "type": "object",
            "required": [
              "startDate",
              "endDate",
              "rooms",
              "nationality"
            ],
            "properties": {
              "rooms": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "adults"
                  ],
                  "properties": {
                    "adults": {
                      "type": "number",
                      "description": "Number of adults (1-4)"
                    },
                    "childrenAges": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      },
                      "description": "Ages of children"
                    }
                  }
                },
                "description": "Room configurations"
              },
              "endDate": {
                "type": "string",
                "description": "Check-out date (YYYY-MM-DD)"
              },
              "currency": {
                "type": "string",
                "description": "Currency code (USD, EUR, etc.)"
              },
              "latitude": {
                "type": "number",
                "description": "Latitude for coordinate-based search (-90 to 90). Use with longitude instead of regionId."
              },
              "regionId": {
                "type": "string",
                "description": "Location ID from search_location. Required unless latitude/longitude are provided."
              },
              "longitude": {
                "type": "number",
                "description": "Longitude for coordinate-based search (-180 to 180). Use with latitude instead of regionId."
              },
              "startDate": {
                "type": "string",
                "description": "Check-in date (YYYY-MM-DD)"
              },
              "nationality": {
                "type": "string",
                "description": "2-letter country code for guest nationality"
              },
              "radiusInMeters": {
                "type": "number",
                "description": "Search radius in meters (default: 30000, min: 1000, max: 100000). Only with lat/lng."
              }
            }
          },
          "annotations": {
            "title": "Search Hotels",
            "readOnlyHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_search_results",
          "title": "Get Hotel Search Results",
          "description": "Returns the hotel results for a running search identified by `searchKey` (from `hotel_search`). Results stream in asynchronously, so POLL this tool until the returned `searchStatus` equals `COMPLETED` (it is `IN_PROGRESS` while results are still loading). Supports `page` (0-indexed on BOTH the request and the response echo — page 0 is the first page and comes back as page 0), `size` (use a large value like 5000 to get all), `filters` (minPrice/maxPrice/starRatings/amenities/mealTypes/hotelName/minDiscountScore), `sortBy` (PRICE_ASC/PRICE_DESC/RATING_DESC/DISTANCE/VALUE_DESC), and `currency`. Returns `hotels[]` (each with `hotelId`, `name`, `starRating`, `minPrice`, `originalPrice`, `currency`, `discountScore`, `reviewScore`, `hasFreeCancellation`, `isRefundable`, etc.), plus `totalCount` and `hasMore`. `discountScore` is LockTrip's value score for the offer: an estimated % below the hotel's usual public price (the figure locktrip.com shows as \"X% off\"). Higher means better value; 20 or more is a strong deal; 0 or missing means no score. A low price is not the same as good value, so to find the best-value hotels use `sortBy` VALUE_DESC (highest discountScore first) or `filters.minDiscountScore` (e.g. 20), and weigh it with `starRating` and `reviewScore`. No authentication required. Pass a chosen `hotelId` together with the SAME `searchKey` to `get_hotel_rooms`.",
          "inputSchema": {
            "type": "object",
            "required": [
              "searchKey"
            ],
            "properties": {
              "page": {
                "type": "number",
                "description": "Page number (0-indexed)"
              },
              "size": {
                "type": "number",
                "description": "Results per page (use 5000 to get all)"
              },
              "sortBy": {
                "enum": [
                  "PRICE_ASC",
                  "PRICE_DESC",
                  "RATING_DESC",
                  "DISTANCE",
                  "VALUE_DESC"
                ],
                "type": "string",
                "description": "VALUE_DESC = best value first (highest discountScore)"
              },
              "filters": {
                "type": "object",
                "properties": {
                  "maxPrice": {
                    "type": "number"
                  },
                  "minPrice": {
                    "type": "number"
                  },
                  "amenities": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "hotelName": {
                    "type": "string"
                  },
                  "mealTypes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "starRatings": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "minDiscountScore": {
                    "type": "number",
                    "description": "Only hotels whose discountScore is at least this value (0-100; e.g. 20 for strong deals)"
                  }
                }
              },
              "currency": {
                "type": "string",
                "description": "Currency code from hotel_search (prices are in this currency)"
              },
              "searchKey": {
                "type": "string",
                "description": "Search key from hotel_search"
              }
            }
          },
          "annotations": {
            "title": "Get Hotel Search Results",
            "readOnlyHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_hotel_rooms",
          "title": "Get Hotel Rooms",
          "description": "Lists the bookable room packages for one hotel. Required: `hotelId` (from `get_search_results`), the SAME `searchKey` from `hotel_search`, plus `startDate`, `endDate`, `rooms[]`, `nationality`, and `regionId` (re-supply the same values used in `hotel_search`); `currency` is recommended. Returns `packages[]`, each with a `quoteId` (the priced, bookable offer — format `packageId_hotelId`), a `packageId` (the same string as the `quoteId`; truncate it at the underscore before sending it to `check_cancellation_policy`), `roomName`, `mealType`, `price`, `pricePerNight`, `totalNights`, `amenities`, and `isRefundable`. No authentication required. Pass a chosen `quoteId` to `prepare_booking` (and to `confirm_booking` for B2B). To inspect cancellation terms first, pass `quoteId.split('_')[0]` (the bare package UUID, WITHOUT the `_hotelId` suffix) to `check_cancellation_policy` — handing it the full `quoteId` fails with a misleading SESSION_EXPIRED even on a live session.",
          "inputSchema": {
            "type": "object",
            "required": [
              "hotelId",
              "searchKey",
              "startDate",
              "endDate",
              "rooms",
              "nationality",
              "regionId"
            ],
            "properties": {
              "rooms": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "adults"
                  ],
                  "properties": {
                    "adults": {
                      "type": "number"
                    },
                    "childrenAges": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      }
                    }
                  }
                }
              },
              "endDate": {
                "type": "string",
                "description": "Check-out date (YYYY-MM-DD)"
              },
              "hotelId": {
                "type": "string",
                "description": "Hotel ID from search results"
              },
              "currency": {
                "type": "string",
                "description": "Currency code"
              },
              "regionId": {
                "type": "string",
                "description": "Region ID"
              },
              "searchKey": {
                "type": "string",
                "description": "Search key"
              },
              "startDate": {
                "type": "string",
                "description": "Check-in date (YYYY-MM-DD)"
              },
              "nationality": {
                "type": "string",
                "description": "2-letter country code"
              }
            }
          },
          "annotations": {
            "title": "Get Hotel Rooms",
            "readOnlyHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "check_cancellation_policy",
          "title": "Check Cancellation Policy",
          "description": "Returns detailed cancellation terms for one or more room packages before booking. Required: `searchKey`, `hotelId`, and `packageIds[]` — pass the package UUID WITHOUT the `_hotelId` suffix, i.e. `quoteId.split('_')[0]`. Passing the full `quoteId` here fails with a misleading SESSION_EXPIRED even on a live session, because the policy lookup matches the bare UUID. Returns `policies[]`, each with `packageId`, `isRefundable`, `freeCancellationUntil`, and `fees[]` (`fromDate`, `amount`, `currency`). `currency` is the supplier's own denomination for that penalty and is OMITTED, never guessed, when the supplier does not state one — so read the amount as unpriced if it is absent rather than assuming your search currency. No authentication required. Informational only — use it to confirm the refund/penalty terms with the user, then continue with `prepare_booking`.",
          "inputSchema": {
            "type": "object",
            "required": [
              "searchKey",
              "hotelId",
              "packageIds"
            ],
            "properties": {
              "hotelId": {
                "type": "string",
                "description": "Hotel ID"
              },
              "searchKey": {
                "type": "string",
                "description": "Search key"
              },
              "packageIds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Package IDs to check"
              }
            }
          },
          "annotations": {
            "title": "Check Cancellation Policy",
            "readOnlyHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "prepare_booking",
          "title": "Prepare Hotel Booking",
          "description": "Prepares a booking for a chosen room offer and returns the final price plus a `preparedBookingId` (also returned as the alias `bookingInternalId`). A prepared booking has NO fixed expiry — what expires is the search session behind its `quoteId`, which surfaces as \"This booking is unavailable\"; re-run `hotel_search` and re-quote if you see that. Required: `quoteId` (from `get_hotel_rooms`), `searchKey` (the SAME one from `hotel_search` — omitting it is a 400), `rooms[]` (each `{roomIndex (0-based), guests:[{firstName, lastName, title?}], children?}` — one guest entry per adult), and a `contactPerson` (`firstName`, `lastName`, `email`, `phone`); the `searchKey` is required (it warms the cancellation-policy cache the backend needs to book). Collect every guest's first/last name and a contact email + phone from the user before calling. REQUIRES A SESSION: for a guest booking, first call `guest_login` with the user's email and pass the returned token as the `sessionToken` argument. After this, send `preparedBookingId` to `create_checkout` (consumer, recommended) or `get_payment_url` (consumer, Stripe alternative); B2B partners use `confirm_booking`.",
          "inputSchema": {
            "type": "object",
            "required": [
              "quoteId",
              "searchKey",
              "rooms",
              "contactPerson"
            ],
            "properties": {
              "rooms": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "roomIndex",
                    "guests"
                  ],
                  "properties": {
                    "guests": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "firstName",
                          "lastName"
                        ],
                        "properties": {
                          "email": {
                            "type": "string"
                          },
                          "phone": {
                            "type": "string"
                          },
                          "title": {
                            "enum": [
                              "Mr",
                              "Mrs",
                              "Ms"
                            ],
                            "type": "string",
                            "description": "Guest title (default: Mr)"
                          },
                          "lastName": {
                            "type": "string"
                          },
                          "firstName": {
                            "type": "string"
                          },
                          "isLeadGuest": {
                            "type": "boolean"
                          }
                        }
                      },
                      "description": "Adult guests in this room"
                    },
                    "children": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "firstName",
                          "lastName",
                          "age"
                        ],
                        "properties": {
                          "age": {
                            "type": "number",
                            "description": "Child age (0-17)"
                          },
                          "lastName": {
                            "type": "string"
                          },
                          "firstName": {
                            "type": "string"
                          }
                        }
                      },
                      "description": "Children in this room (must match childrenAges from search)"
                    },
                    "roomIndex": {
                      "type": "number",
                      "description": "Room index (0-based)"
                    }
                  }
                }
              },
              "quoteId": {
                "type": "string",
                "description": "Quote ID from get_hotel_rooms"
              },
              "searchKey": {
                "type": "string",
                "description": "Search key from hotel_search (needed to validate cancellation policy)"
              },
              "sessionToken": {
                "type": "string",
                "description": "Optional guest-checkout token returned by `guest_login`."
              },
              "contactPerson": {
                "type": "object",
                "required": [
                  "firstName",
                  "lastName",
                  "email",
                  "phone"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "phone": {
                    "type": "string"
                  },
                  "title": {
                    "enum": [
                      "Mr",
                      "Mrs",
                      "Ms"
                    ],
                    "type": "string",
                    "description": "Title (default: Mr)"
                  },
                  "lastName": {
                    "type": "string"
                  },
                  "firstName": {
                    "type": "string"
                  },
                  "countryCode": {
                    "type": "string"
                  }
                }
              },
              "specialRequests": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Prepare Hotel Booking",
            "readOnlyHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "confirm_booking",
          "title": "Confirm Hotel Booking",
          "description": "Confirms and finalizes a booking using a B2B credit line — PARTNER ACCOUNTS ONLY. Guests cannot use this; ordinary consumers must instead pay via `create_checkout` (recommended) or `get_payment_url`. Required: `bookingInternalId` and `quoteId` (both from `prepare_booking`); `paymentMethod` defaults to `CREDIT_LINE`. REQUIRES A B2B PARTNER SESSION with a credit line; a `guest_login` session has no credit line and is rejected. Returns `accepted` and `message`, plus a `voucherUrl` on success. On `accepted:false`, READ `serviceUnavailable`: if it is absent the credit-line service gave a real verdict (insufficient balance, inactive line) and the answer will NOT change on retry — tell the user and stop; if it is `true` the credit-line service was unreachable, which is a system fault and not a decision about their credit. Even then do NOT blindly retry: the reservation may already have been applied — re-read the booking with `get_booking_details` first. Note also that `accepted:true` means the credit line was charged and the booking accepted, but the supplier reservation is completed asynchronously afterwards.",
          "inputSchema": {
            "type": "object",
            "required": [
              "bookingInternalId",
              "quoteId"
            ],
            "properties": {
              "quoteId": {
                "type": "string",
                "description": "Quote ID used in prepare_booking"
              },
              "sessionToken": {
                "type": "string",
                "description": "Optional guest-checkout token returned by `guest_login`."
              },
              "paymentMethod": {
                "type": "string",
                "description": "Payment method (default: CREDIT_LINE for B2B)"
              },
              "bookingInternalId": {
                "type": "string",
                "description": "Booking ID from prepare_booking"
              }
            }
          },
          "annotations": {
            "title": "Confirm Hotel Booking",
            "readOnlyHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "list_bookings",
          "title": "List My Bookings",
          "description": "Lists the authenticated user's existing bookings, filtered by `type`: `UPCOMING` (default), `COMPLETED`, `CANCELLED`, or `PENDING`. Needs a registered LockTrip account session; guest sessions from `guest_login` cannot list bookings. Without a signed-in session, pass the user's `email` instead: LockTrip emails them a sign-in link to their bookings on locktrip.com, and the result has `magicLinkSent: true` (nothing is shown or changed in this chat). Returns `bookings[]` (each with `bookingId`, `bookingReferenceId`, `hotelName`, `checkIn`, `checkOut`, `status`, `roomCount`, `createdAt`, and `totalPrice` + `currency` when the booking records a price) plus `totalCount` (all matching bookings). Optional paging: `page` (0-based) and `size` (max 100); omit both for the full list. Pass a `bookingId` to `get_booking_details` or `cancel_booking`.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "page": {
                "type": "integer",
                "minimum": 0,
                "description": "Page number, 0-based. Omit page and size for the full list."
              },
              "size": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Bookings per page (max 100)."
              },
              "type": {
                "enum": [
                  "UPCOMING",
                  "COMPLETED",
                  "CANCELLED",
                  "PENDING"
                ],
                "type": "string",
                "description": "Booking list filter"
              },
              "email": {
                "type": "string",
                "description": "The user's LockTrip account email. Needed only when there is no signed-in session: LockTrip then emails that address a sign-in link to the user's bookings on locktrip.com (the bookings are not shown in this chat)."
              },
              "sessionToken": {
                "type": "string",
                "description": "Optional guest-checkout token returned by `guest_login`."
              }
            }
          },
          "annotations": {
            "title": "List My Bookings",
            "readOnlyHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_booking_details",
          "title": "Get Booking Details",
          "description": "Returns the full details of one existing booking: hotel, dates, rooms, guests, contact person, total price, payment status (`PAID`, `PENDING`, or `CREDIT_LINE` for a confirmed booking charged to a partner credit line, settled per statement via `GET /api/b2b/credit-line/statement`), and the cancellation policy (including any cancellation fees and the free-cancellation deadline). Required: `bookingId` (from `list_bookings`). Needs a registered LockTrip account session; guest sessions cannot view booking details. Without a signed-in session, pass the user's `email` instead: LockTrip emails them a sign-in link to their bookings on locktrip.com, and the result has `magicLinkSent: true` (nothing is shown or changed in this chat). Informational only. Use this to read the fee/refund terms BEFORE cancelling, since `cancel_booking` itself does not return a fee preview.",
          "inputSchema": {
            "type": "object",
            "required": [
              "bookingId"
            ],
            "properties": {
              "email": {
                "type": "string",
                "description": "The user's LockTrip account email. Needed only when there is no signed-in session: LockTrip then emails that address a sign-in link to the user's bookings on locktrip.com (the bookings are not shown in this chat)."
              },
              "bookingId": {
                "type": "string",
                "description": "Booking ID to retrieve"
              },
              "sessionToken": {
                "type": "string",
                "description": "Optional guest-checkout token returned by `guest_login`."
              }
            }
          },
          "annotations": {
            "title": "Get Booking Details",
            "readOnlyHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "cancel_booking",
          "title": "Cancel Booking",
          "description": "Cancels an existing booking. Required: `bookingId` (from `list_bookings`) and the boolean `confirmed`; optional `reason`. This is a two-step safety flow: calling with `confirmed:false` does NOT cancel and returns only a 'not confirmed' acknowledgement (it does NOT return fees or refund amounts — read those first from `get_booking_details`); call again with `confirmed:true` to actually submit the cancellation. On success the response includes `cancellationFee` + `cancellationFeeCurrency` when the supplier reported a charged fee (absent means none was reported, not zero); refunds are processed separately. When the cancellation is not accepted, `failureReason` is one of `NOT_FOUND`, `AFTER_CHECK_IN`, `NOT_CANCELLABLE_STATUS`, `SUPPLIER_NOT_CONFIRMED` (submitted, under review: do not rebook or retry) or `ERROR` (not processed: the booking was not cancelled; try again later or contact support). Needs a registered LockTrip account session; guest sessions cannot cancel bookings. Without a signed-in session, pass the user's `email` instead: LockTrip emails them a sign-in link to their bookings on locktrip.com, and the result has `magicLinkSent: true` (nothing is shown or changed in this chat). Returns `success` and a `message`. This is a destructive, terminal action — confirm with the user before calling with `confirmed:true`.",
          "inputSchema": {
            "type": "object",
            "required": [
              "bookingId",
              "confirmed"
            ],
            "properties": {
              "email": {
                "type": "string",
                "description": "The user's LockTrip account email. Needed only when there is no signed-in session: LockTrip then emails that address a sign-in link to the user's bookings on locktrip.com (the bookings are not shown in this chat)."
              },
              "reason": {
                "type": "string",
                "description": "Optional cancellation reason"
              },
              "bookingId": {
                "type": "string",
                "description": "Booking ID to cancel"
              },
              "confirmed": {
                "type": "boolean",
                "description": "Set true to confirm cancellation"
              },
              "sessionToken": {
                "type": "string",
                "description": "Optional guest-checkout token returned by `guest_login`."
              }
            }
          },
          "annotations": {
            "title": "Cancel Booking",
            "readOnlyHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "get_hotel_details",
          "title": "Get Hotel Details",
          "description": "Fetches full descriptive details for one hotel: name, address, coordinates (lat/lng), star rating, description, phone, amenities, photos, and reviews. Required: the NUMERIC `hotelId` (the same hotel identifier returned in search results, passed as a number); optional `language`, `includeImages` (set true to fetch extra photos), and `imageLimit` (default 20, max 100). Returns a `hotel` object and optional `additionalImages`. No authentication required. Informational only — use it to enrich what you show the user before they pick a room.",
          "inputSchema": {
            "type": "object",
            "required": [
              "hotelId"
            ],
            "properties": {
              "hotelId": {
                "type": "number",
                "description": "Hotel ID (numeric, from search results externalId)"
              },
              "language": {
                "type": "string",
                "description": "Language code for description (default: en)"
              },
              "imageLimit": {
                "type": "number",
                "description": "Max additional images to fetch (default: 20, max: 100)"
              },
              "includeImages": {
                "type": "boolean",
                "description": "Fetch additional hotel images (default: false)"
              }
            }
          },
          "annotations": {
            "title": "Get Hotel Details",
            "readOnlyHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_payment_url",
          "title": "Get Payment URL",
          "description": "Creates a hosted Stripe (credit-card) checkout link for a prepared booking — an alternative consumer payment rail to `create_checkout` (Revolut). Required: `bookingId` (the `preparedBookingId` from `prepare_booking`), `currency` (3-letter), and `backUrl`; optional `successUrl`. REQUIRES A REGISTERED-ACCOUNT SESSION; a `guest_login` session is REJECTED here (the Stripe rail is not open to guests; use `create_checkout` for a guest instead). Returns a payment `url` and a `sessionId`. Share the `url` with the guest — the booking is confirmed automatically by webhook once payment succeeds. Prefer `create_checkout` unless a Stripe card link is specifically needed.",
          "inputSchema": {
            "type": "object",
            "required": [
              "bookingId",
              "currency",
              "backUrl"
            ],
            "properties": {
              "backUrl": {
                "type": "string",
                "description": "URL to redirect on cancel/back"
              },
              "currency": {
                "type": "string",
                "description": "Payment currency code (e.g., USD, EUR)"
              },
              "bookingId": {
                "type": "string",
                "description": "Booking ID from prepare_booking (preparedBookingId)"
              },
              "successUrl": {
                "type": "string",
                "description": "Custom URL to redirect on success"
              },
              "sessionToken": {
                "type": "string",
                "description": "Optional guest-checkout token returned by `guest_login`."
              }
            }
          },
          "annotations": {
            "title": "Get Payment URL",
            "readOnlyHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "create_checkout",
          "title": "Create Checkout",
          "description": "Creates a hosted Revolut payment link for a prepared booking — the RECOMMENDED way for ordinary consumers (no credit line) to pay. Required: `bookingId` (the `preparedBookingId` from `prepare_booking`) and `currency` (3-letter); optional `backUrl` and `successUrl`. REQUIRES A SESSION: pass the token returned by `guest_login` as the `sessionToken` argument. Returns a `checkoutUrl` (valid ~20 minutes), a `checkoutToken`, and a `message`. Share the `checkoutUrl` with the guest to complete payment — the booking is confirmed automatically by webhook once payment succeeds (do not call `confirm_booking`, which is B2B-only).",
          "inputSchema": {
            "type": "object",
            "required": [
              "bookingId",
              "currency"
            ],
            "properties": {
              "backUrl": {
                "type": "string",
                "description": "Cancel/back redirect URL (optional, defaults to locktrip.com)"
              },
              "currency": {
                "type": "string",
                "description": "3-letter currency code (e.g. USD, EUR, GBP)"
              },
              "bookingId": {
                "type": "string",
                "description": "Booking ID from prepare_booking (preparedBookingId)"
              },
              "successUrl": {
                "type": "string",
                "description": "Success redirect URL (optional)"
              },
              "sessionToken": {
                "type": "string",
                "description": "Optional guest-checkout token returned by `guest_login`."
              }
            }
          },
          "annotations": {
            "title": "Create Checkout",
            "readOnlyHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "guest_login",
          "title": "Continue as Guest",
          "description": "Starts a guest checkout from the user's `email` only (no password) and returns a session `token` plus `userId`, `email`, and `isNewUser`; a new email also receives a verification email. Use it when the user wants to book, with the email the user gave for the booking. Pass the returned `token` as the `sessionToken` argument to `prepare_booking` and `create_checkout`. If the email already belongs to a LockTrip account, no guest session is created: LockTrip emails a sign-in link to that address instead, and the result has `magicLinkSent: true` and no `token`. Tell the user to check their email and finish on locktrip.com; do not call `guest_login` again for that email. A guest session can search, prepare a booking, and pay via `create_checkout`, but CANNOT list, view or cancel bookings, use `get_payment_url`, or use `confirm_booking`. No authentication required to call this tool.",
          "inputSchema": {
            "type": "object",
            "required": [
              "email"
            ],
            "properties": {
              "email": {
                "type": "string",
                "description": "User email address for guest registration/login"
              }
            }
          },
          "annotations": {
            "title": "Continue as Guest",
            "readOnlyHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_credit_line_statement",
          "title": "Get Credit-Line Statement",
          "description": "Returns the signed-in partner's own credit-line statement: `balance` (the real-time balance due and pending, ALWAYS for the whole credit line, not filtered by the dates), `account` details (name, currency, creditLimit, periodType), and the booking rows whose due date falls between `from` and `to` (default: the current month; at most 93 days). Each row carries `bookingReferenceId`, `hotelName`, `guestName`, dates, `amount`, `currency`, `bucket` (`current` = due, `pending` = not due yet), `dueDate`, `paid`, `outstanding`, `paymentStatus`, `settledBy`, and `lineType` (`booking`, or `cancellation_fee` for a late-cancellation charge). Read-only. Needs a signed-in partner credit-line account session; guest sessions have no credit line. Takes no account identifier: the credit line is always the caller's own.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "to": {
                "type": "string",
                "description": "Last due date to include, YYYY-MM-DD (at most 93 days after `from`)."
              },
              "from": {
                "type": "string",
                "description": "First due date to include, YYYY-MM-DD. Pass with `to`; omit both for the current month."
              },
              "sessionToken": {
                "type": "string",
                "description": "Optional guest-checkout token returned by `guest_login`."
              }
            }
          },
          "annotations": {
            "title": "Get Credit-Line Statement",
            "readOnlyHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_settlements",
          "title": "List Bank Transfers",
          "description": "Lists the signed-in partner's own bank-transfer settlements of the credit line: `settlements[]` (each with `reference`, `status`, `amount`, `currency`, `createdAt`, `expiresAt`, and `receivedAmount`/`receivedAt` once the transfer has arrived), `payable[]` (transfers still awaiting funds), the `bank` details to pay into, and a `notice` that must be shown to the user as given (overpayments are held as credit, not refunded). This is the list of transfers, not per-booking payment state: that is on each row of `get_credit_line_statement`. Read-only. Needs a signed-in partner credit-line account session; guest sessions have no credit line.",
          "inputSchema": {
            "type": "object",
            "required": [],
            "properties": {
              "sessionToken": {
                "type": "string",
                "description": "Optional guest-checkout token returned by `guest_login`."
              }
            }
          },
          "annotations": {
            "title": "List Bank Transfers",
            "readOnlyHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_statement_document",
          "title": "Get Statement Document",
          "description": "Returns the signed-in partner's own monthly statement of account for `period` (YYYY-MM) exactly as it was sent to them: `format` `pdf` (default) returns the PDF as an embedded file, `csv` returns the CSV as text in `csv`. Statements exist only for months already issued; any other month returns RESOURCE_NOT_FOUND. Read-only. Needs a signed-in partner credit-line account session; guest sessions have no credit line.",
          "inputSchema": {
            "type": "object",
            "required": [
              "period"
            ],
            "properties": {
              "format": {
                "enum": [
                  "pdf",
                  "csv"
                ],
                "type": "string",
                "description": "pdf (default) or csv"
              },
              "period": {
                "type": "string",
                "description": "Statement month, YYYY-MM"
              },
              "sessionToken": {
                "type": "string",
                "description": "Optional guest-checkout token returned by `guest_login`."
              }
            }
          },
          "annotations": {
            "title": "Get Statement Document",
            "readOnlyHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "LockTrip hotel-booking server. Search hotels worldwide and book them.\n\nBOOKING FLOW (searching needs no account):\n1) search_location { query } — turn a place name into a location `id` (use it as `regionId`).\n2) hotel_search { regionId, startDate, endDate, rooms[{adults,...}], nationality, currency } — returns a `searchKey`. First collect the exact check-in date, number of nights (to derive `endDate`), rooms/adults, and nationality from the user; do not guess them.\n3) get_search_results { searchKey } — POLL until `searchStatus` is `COMPLETED`, then pick a `hotelId`.\n4) get_hotel_rooms { hotelId, searchKey, ... } — pick a `quoteId`. (Optional: check_cancellation_policy with that package's `packageId`, and get_hotel_details for more info.)\n5) prepare_booking { quoteId, searchKey, rooms[{roomIndex,guests[{firstName,lastName}]}], contactPerson{firstName,lastName,email,phone} } — returns a `preparedBookingId`. Collect each guest's name and a contact email + phone from the user first.\n6) create_checkout { bookingId: preparedBookingId, currency } — returns a `checkoutUrl` for the user to pay. The booking confirms automatically once payment succeeds.\n\nSESSIONS: prepare_booking and create_checkout need a guest session: call guest_login with the user's email and pass the returned token as the `sessionToken` argument. Never ask the user to type a password or a token in the chat. If guest_login returns `magicLinkSent: true`, that email already has a LockTrip account and a sign-in link was emailed to it: tell the user to check their email and finish on locktrip.com, and do not call guest_login again for that email.\n\nMY BOOKINGS: to see or cancel existing bookings, call list_bookings (or get_booking_details / cancel_booking) with the user's account `email`. Without a signed-in session, LockTrip emails that address a sign-in link to their bookings on locktrip.com and the result has `magicLinkSent: true`: tell the user to check their email. Nothing is shown or cancelled in the chat in that case. confirm_booking is for B2B partner sessions only. If a tool returns mcpCode AUTH_INSUFFICIENT_ROLE (rpc -32009), the session's role is wrong; calling guest_login again returns the same role and sends another email, so do not retry it. Forward the IDs returned by one tool into the next: regionId -> searchKey -> hotelId -> quoteId -> preparedBookingId."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}