WuBook MCP by usefulapi is an MCP server published by io.usefulapi, hosted at wubook.usefulapi.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 19 tools, including wubook_list_rooms, wubook_list_room_types, wubook_list_rates, wubook_list_products, wubook_list_meal_boards.
Read WuBook ZaK rooms, availability and reservations; manage inventory and guest check-in.
4,406 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
List the physical rooms of the property (id, room type id, name, tags). POST /kp/property/fetch_rooms.
No parameters.
{
"name": "wubook_list_rooms",
"title": "List rooms",
"description": "List the physical rooms of the property (id, room type id, name, tags). POST /kp/property/fetch_rooms.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List rooms",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
List the room types (id, name, short name, default price, default occupancy). POST /kp/property/fetch_room_types.
No parameters.
{
"name": "wubook_list_room_types",
"title": "List room types",
"description": "List the room types (id, name, short name, default price, default occupancy). POST /kp/property/fetch_room_types.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List room types",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List the rates of the property (id, name, board, currency, standard flag). Use a rate id for prices and restrictions. POST /kp/property/fetch_rates.
No parameters.
{
"name": "wubook_list_rates",
"title": "List rates",
"description": "List the rates of the property (id, name, board, currency, standard flag). Use a rate id for prices and restrictions. POST /kp/property/fetch_rates.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List rates",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List the products (a room type sold on a board basis: id, room type id, name, default price, occupancy). Product ids are the keys of prices and availability. POST /kp/property/fetch_products.
No parameters.
{
"name": "wubook_list_products",
"title": "List products",
"description": "List the products (a room type sold on a board basis: id, room type id, name, default price, occupancy). Product ids are the keys of prices and availability. POST /kp/property/fetch_products.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List products",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List the meal rules and meal prices per board type (fb, hb, bb, ai) for adults, teens, children and babies. POST /kp/property/fetch_meals_board.
No parameters.
{
"name": "wubook_list_meal_boards",
"title": "List meal boards",
"description": "List the meal rules and meal prices per board type (fb, hb, bb, ai) for adults, teens, children and babies. POST /kp/property/fetch_meals_board.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List meal boards",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List the extras the property sells (id, name, price, VAT percentage, cost, tags). POST /kp/property/fetch_extras.
No parameters.
{
"name": "wubook_list_extras",
"title": "List extras",
"description": "List the extras the property sells (id, name, price, VAT percentage, cost, tags). POST /kp/property/fetch_extras.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List extras",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The meaning of the short keys in prices and restrictions (p price, a availability, m MinStay, M MaxStay, c closure, ...). POST /kp/inventory/fetch_symbols.
No parameters.
{
"name": "wubook_get_inventory_symbols",
"title": "Get inventory symbols",
"description": "The meaning of the short keys in prices and restrictions (p price, a availability, m MinStay, M MaxStay, c closure, ...). POST /kp/inventory/fetch_symbols.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Get inventory symbols",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Availability for a stay: for each room type id, the number of rooms available and the ids of the available physical rooms. The availability count can be lower than the number of listed physical rooms when a reservation has no physical room assigned yet; use the availability count when assessing bookable capacity. POST /kp/inventory/fetch_rooms_availability.
| Parameter | Type | Description |
|---|---|---|
| arrival * | string | Arrival date, yyyy-mm-dd. |
| departure * | string | Departure date, yyyy-mm-dd. |
{
"name": "wubook_get_room_availability",
"title": "Get room availability",
"description": "Availability for a stay: for each room type id, the number of rooms available and the ids of the available physical rooms. The availability count can be lower than the number of listed physical rooms when a reservation has no physical room assigned yet; use the availability count when assessing bookable capacity. POST /kp/inventory/fetch_rooms_availability.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"arrival",
"departure"
],
"properties": {
"arrival": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Arrival date, yyyy-mm-dd."
},
"departure": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Departure date, yyyy-mm-dd."
}
}
},
"annotations": {
"title": "Get room availability",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Daily prices, availability and restrictions of one rate, starting at a date: for each product id a list with one object per day (p price, a availability, m/M min/max stay, c closed, ...; see wubook_get_inventory_symbols). POST /kp/inventory/fetch_rate_values.
| Parameter | Type | Description |
|---|---|---|
| days * | integer | Number of days from `from`, 1-366. |
| from * | string | First day, yyyy-mm-dd. |
| rate_id * | integer | Rate id (wubook_list_rates). |
{
"name": "wubook_get_rate_values",
"title": "Get rate values",
"description": "Daily prices, availability and restrictions of one rate, starting at a date: for each product id a list with one object per day (p price, a availability, m/M min/max stay, c closed, ...; see wubook_get_inventory_symbols). POST /kp/inventory/fetch_rate_values.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"from",
"rate_id",
"days"
],
"properties": {
"days": {
"type": "integer",
"maximum": 366,
"minimum": 1,
"description": "Number of days from `from`, 1-366."
},
"from": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "First day, yyyy-mm-dd."
},
"rate_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Rate id (wubook_list_rates).",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get rate values",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: overwrite daily prices, availability and stay restrictions of one rate. `products` maps a product id to a list of day objects; the first object is the day `from`, the next the following day, and so on. Only the fields you send per day change. Changes can be pushed to connected channels (OTAs) and affect live bookings, so confirm the values with the user first. POST /kp/inventory/write.
| Parameter | Type | Description |
|---|---|---|
| from * | string | First day the lists start at, yyyy-mm-dd. |
| rate_id * | integer | Rate id (wubook_list_rates). |
| products * | object | Product id → one object per day, e.g. {"12": [{"p": 90, "a": 3}, {"p": 95}]}. Keys: p price, a availability, m/M min/max stay, ma/Ma by arrival, ni no check-in, no no check-out, c closed, nt no OTA, mx/Mx advance, o overbooking, l max OTA. |
{
"name": "wubook_update_inventory",
"title": "Update prices, availability and restrictions",
"description": "WRITE: overwrite daily prices, availability and stay restrictions of one rate. `products` maps a product id to a list of day objects; the first object is the day `from`, the next the following day, and so on. Only the fields you send per day change. Changes can be pushed to connected channels (OTAs) and affect live bookings, so confirm the values with the user first. POST /kp/inventory/write.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"from",
"rate_id",
"products"
],
"properties": {
"from": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "First day the lists start at, yyyy-mm-dd."
},
"rate_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Rate id (wubook_list_rates).",
"exclusiveMinimum": 0
},
"products": {
"type": "object",
"description": "Product id → one object per day, e.g. {\"12\": [{\"p\": 90, \"a\": 3}, {\"p\": 95}]}. Keys: p price, a availability, m/M min/max stay, ma/Ma by arrival, ni no check-in, no no check-out, c closed, nt no OTA, mx/Mx advance, o overbooking, l max OTA.",
"propertyNames": {
"type": "string",
"pattern": "^[1-9]\\d{0,15}$"
},
"additionalProperties": {
"type": "array",
"items": {
"type": "object",
"properties": {
"M": {
"type": "integer",
"maximum": 365,
"minimum": 1,
"description": "Maximum stay (nights)."
},
"a": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "Availability (rooms)."
},
"c": {
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 1
}
],
"description": "1 = closed for sale on this day."
},
"l": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "Maximum OTA reservations."
},
"m": {
"type": "integer",
"maximum": 365,
"minimum": 1,
"description": "Minimum stay (nights)."
},
"o": {
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 1
}
],
"description": "1 = overbooking allowed."
},
"p": {
"type": "number",
"maximum": 10000000,
"minimum": 0,
"description": "Price."
},
"Ma": {
"type": "integer",
"maximum": 365,
"minimum": 1,
"description": "Maximum stay by arrival date."
},
"Mx": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "Maximum advance to book."
},
"ma": {
"type": "integer",
"maximum": 365,
"minimum": 1,
"description": "Minimum stay by arrival date."
},
"mx": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "Minimum advance to book (hours)."
},
"ni": {
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 1
}
],
"description": "1 = no check-in on this day."
},
"no": {
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 1
}
],
"description": "1 = no check-out on this day."
},
"nt": {
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 1
}
],
"description": "1 = no OTA reservations on this day."
}
},
"additionalProperties": false
},
"maxItems": 366,
"minItems": 1
}
}
}
},
"annotations": {
"title": "Update prices, availability and restrictions",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}One reservation by id or by reservation code (XY-0001): status, booker customer id, origin channel, board, dates, price split (rooms, extras, meals), payment, taxes and rooms with occupancy and customer ids. POST /kp/reservations/fetch_one_reservation.
| Parameter | Type | Description |
|---|---|---|
| reservation_id | integer | Reservation id. |
| reservation_code | string | Reservation (human) code such as XY-0001. |
{
"name": "wubook_get_reservation",
"title": "Get reservation",
"description": "One reservation by id or by reservation code (XY-0001): status, booker customer id, origin channel, board, dates, price split (rooms, extras, meals), payment, taxes and rooms with occupancy and customer ids. POST /kp/reservations/fetch_one_reservation.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"reservation_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Reservation id.",
"exclusiveMinimum": 0
},
"reservation_code": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
"maxLength": 40,
"minLength": 2,
"description": "Reservation (human) code such as XY-0001."
}
}
},
"annotations": {
"title": "Get reservation",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List reservations, optionally filtered by creation, arrival or departure date ranges (inclusive). Newest first is not guaranteed; page with offset. Returns the page plus next_offset (null when the last page was reached). POST /kp/reservations/fetch_reservations.
| Parameter | Type | Description |
|---|---|---|
| limit | any | Page size: 8, 16, 32 or 64 (default 32). |
| offset | integer | Reservations to skip (default 0). Pass the previous reply's next_offset. |
| arrival_to | string | Arriving on or before. |
| created_to | string | Created on or before. |
| arrival_from | string | Arriving on or after. Needs arrival_to. |
| created_from | string | Created on or after (yyyy-mm-dd). Needs created_to. |
| departure_to | string | Departing on or before. |
| departure_from | string | Departing on or after. Needs departure_to. |
{
"name": "wubook_list_reservations",
"title": "List reservations",
"description": "List reservations, optionally filtered by creation, arrival or departure date ranges (inclusive). Newest first is not guaranteed; page with offset. Returns the page plus next_offset (null when the last page was reached). POST /kp/reservations/fetch_reservations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"anyOf": [
{
"type": "number",
"const": 8
},
{
"type": "number",
"const": 16
},
{
"type": "number",
"const": 32
},
{
"type": "number",
"const": 64
}
],
"description": "Page size: 8, 16, 32 or 64 (default 32)."
},
"offset": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "Reservations to skip (default 0). Pass the previous reply's next_offset."
},
"arrival_to": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Arriving on or before."
},
"created_to": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Created on or before."
},
"arrival_from": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Arriving on or after. Needs arrival_to."
},
"created_from": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Created on or after (yyyy-mm-dd). Needs created_to."
},
"departure_to": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Departing on or before."
},
"departure_from": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Departing on or after. Needs departure_to."
}
}
},
"annotations": {
"title": "List reservations",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Reservations of the property for today (arrivals, departures and stays in house). POST /kp/reservations/fetch_today_reservations.
No parameters.
{
"name": "wubook_list_todays_reservations",
"title": "List today's reservations",
"description": "Reservations of the property for today (arrivals, departures and stays in house). POST /kp/reservations/fetch_today_reservations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List today's reservations",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: create a reservation in ZaK for one guest. Give rooms (room type and optionally the physical room id, with price and currency) and/or products (product id with price and currency). Set assign_rooms to let ZaK pick the physical rooms. This books inventory and is NOT idempotent: calling it twice creates two reservations, so check wubook_get_room_availability first and do not retry on an error without looking the reservation up. POST /kp/reservations/new.
| Parameter | Type | Description |
|---|---|---|
| guest * | object | The booker. |
| rooms | array | |
| arrival * | string | Arrival date, yyyy-mm-dd. |
| products | array | |
| departure * | string | Departure date, yyyy-mm-dd (after arrival). |
| assign_rooms | boolean | Let ZaK choose physical rooms for entries without a room id. |
{
"name": "wubook_create_reservation",
"title": "Create reservation",
"description": "WRITE: create a reservation in ZaK for one guest. Give rooms (room type and optionally the physical room id, with price and currency) and/or products (product id with price and currency). Set assign_rooms to let ZaK pick the physical rooms. This books inventory and is NOT idempotent: calling it twice creates two reservations, so check wubook_get_room_availability first and do not retry on an error without looking the reservation up. POST /kp/reservations/new.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"arrival",
"departure",
"guest"
],
"properties": {
"guest": {
"type": "object",
"required": [
"name",
"surname"
],
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 200
},
"phone": {
"type": "string",
"maxLength": 40,
"minLength": 3
},
"surname": {
"type": "string",
"maxLength": 100,
"minLength": 1
}
},
"description": "The booker.",
"additionalProperties": false
},
"rooms": {
"type": "array",
"items": {
"type": "object",
"required": [
"room_type",
"price",
"currency"
],
"properties": {
"room": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Physical room id (wubook_list_rooms); leave out with assign_rooms.",
"exclusiveMinimum": 0
},
"price": {
"type": "number",
"maximum": 10000000,
"minimum": 0
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"room_type": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Room type id (wubook_list_room_types).",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"maxItems": 20
},
"arrival": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Arrival date, yyyy-mm-dd."
},
"products": {
"type": "array",
"items": {
"type": "object",
"required": [
"product",
"price",
"currency"
],
"properties": {
"price": {
"type": "number",
"maximum": 10000000,
"minimum": 0
},
"product": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Product id (wubook_list_products).",
"exclusiveMinimum": 0
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
}
},
"additionalProperties": false
},
"maxItems": 20
},
"departure": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Departure date, yyyy-mm-dd (after arrival)."
},
"assign_rooms": {
"type": "boolean",
"description": "Let ZaK choose physical rooms for entries without a room id."
}
}
},
"annotations": {
"title": "Create reservation",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}WRITE: check in the guests of a reservation in ZaK. Applies to every guest of the reservation unless room_customer_ids is given. POST /kp/reservations/do_checkin.
| Parameter | Type | Description |
|---|---|---|
| reservation_id | integer | Reservation id. |
| reservation_code | string | Reservation (human) code such as XY-0001. |
| room_customer_ids | array | Only these reservation-room guest ids (default: all guests). |
{
"name": "wubook_check_in",
"title": "Check in",
"description": "WRITE: check in the guests of a reservation in ZaK. Applies to every guest of the reservation unless room_customer_ids is given. POST /kp/reservations/do_checkin.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"reservation_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Reservation id.",
"exclusiveMinimum": 0
},
"reservation_code": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
"maxLength": 40,
"minLength": 2,
"description": "Reservation (human) code such as XY-0001."
},
"room_customer_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Only these reservation-room guest ids (default: all guests)."
}
}
},
"annotations": {
"title": "Check in",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: check out the guests of a reservation in ZaK. Applies to every guest of the reservation unless room_customer_ids is given. POST /kp/reservations/do_checkout.
| Parameter | Type | Description |
|---|---|---|
| reservation_id | integer | Reservation id. |
| reservation_code | string | Reservation (human) code such as XY-0001. |
| room_customer_ids | array | Only these reservation-room guest ids (default: all guests). |
{
"name": "wubook_check_out",
"title": "Check out",
"description": "WRITE: check out the guests of a reservation in ZaK. Applies to every guest of the reservation unless room_customer_ids is given. POST /kp/reservations/do_checkout.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"reservation_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Reservation id.",
"exclusiveMinimum": 0
},
"reservation_code": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
"maxLength": 40,
"minLength": 2,
"description": "Reservation (human) code such as XY-0001."
},
"room_customer_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Only these reservation-room guest ids (default: all guests)."
}
}
},
"annotations": {
"title": "Check out",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: revert the check-in of a reservation in ZaK. POST /kp/reservations/undo_checkin.
| Parameter | Type | Description |
|---|---|---|
| reservation_id | integer | Reservation id. |
| reservation_code | string | Reservation (human) code such as XY-0001. |
{
"name": "wubook_undo_check_in",
"title": "Undo check-in",
"description": "WRITE: revert the check-in of a reservation in ZaK. POST /kp/reservations/undo_checkin.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"reservation_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Reservation id.",
"exclusiveMinimum": 0
},
"reservation_code": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
"maxLength": 40,
"minLength": 2,
"description": "Reservation (human) code such as XY-0001."
}
}
},
"annotations": {
"title": "Undo check-in",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: revert the check-out of a reservation in ZaK. POST /kp/reservations/undo_checkout.
| Parameter | Type | Description |
|---|---|---|
| reservation_id | integer | Reservation id. |
| reservation_code | string | Reservation (human) code such as XY-0001. |
{
"name": "wubook_undo_check_out",
"title": "Undo check-out",
"description": "WRITE: revert the check-out of a reservation in ZaK. POST /kp/reservations/undo_checkout.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"reservation_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Reservation id.",
"exclusiveMinimum": 0
},
"reservation_code": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$",
"maxLength": 40,
"minLength": 2,
"description": "Reservation (human) code such as XY-0001."
}
}
},
"annotations": {
"title": "Undo check-out",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}One guest record by customer id (from a reservation's booker or room customers): name, country, address, contact, birth data, billing info. Personal data. Identity documents (type, number, expiry) are left out unless include_documents is true. POST /kp/customers/fetch_one.
| Parameter | Type | Description |
|---|---|---|
| customer_id * | integer | Customer id. |
| include_documents | boolean | Also return the guest's identity documents (default false). |
{
"name": "wubook_get_customer",
"title": "Get customer (guest)",
"description": "One guest record by customer id (from a reservation's booker or room customers): name, country, address, contact, birth data, billing info. Personal data. Identity documents (type, number, expiry) are left out unless include_documents is true. POST /kp/customers/fetch_one.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"customer_id"
],
"properties": {
"customer_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Customer id.",
"exclusiveMinimum": 0
},
"include_documents": {
"type": "boolean",
"description": "Also return the guest's identity documents (default false)."
}
}
},
"annotations": {
"title": "Get customer",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Tools for WuBook, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which rooms are available from 12 to 15 November?"; "Show today's arrivals and departures."; "What is the reservation XY-0123 and how much has been paid?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes WuBook data. Free plan: 50 tool calls per month. Run wubook_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run wubook_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run wubook_upgrade without a plan: it returns both plans, each with a payment link for the user to open. wubook_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
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.