Avirato MCP by usefulapi is an MCP server published by io.usefulapi, hosted at avirato.usefulapi.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 23 tools, including avirato_list_reservations, avirato_get_reservation, avirato_get_reservation_details, avirato_get_related_reservations, avirato_list_all_reservations.
Read reservations, availability, rates and prices; record cash payments in Avirato.
4,413 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Reservations of the establishment between two dates (reservation id, channel booking id, room, rate, guest name and document, check-in/out, price, paid and outstanding, status, notes) plus a summary of counts by status. Dates are whole days (yyyy-mm-dd) or exact date-times. GET /reservation/betweenDates.
| Parameter | Type | Description |
|---|---|---|
| end_date * | string | Last day (yyyy-mm-dd, through 23:59:59) or date-time of the range. |
| start_date * | string | First day (yyyy-mm-dd) or date-time (yyyy-mm-dd hh:mm:ss) of the range. |
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.
{
"name": "avirato_list_reservations",
"title": "List reservations between dates",
"description": "Reservations of the establishment between two dates (reservation id, channel booking id, room, rate, guest name and document, check-in/out, price, paid and outstanding, status, notes) plus a summary of counts by status. Dates are whole days (yyyy-mm-dd) or exact date-times. GET /reservation/betweenDates.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"start_date",
"end_date"
],
"properties": {
"end_date": {
"type": "string",
"description": "Last day (yyyy-mm-dd, through 23:59:59) or date-time of the range."
},
"start_date": {
"type": "string",
"description": "First day (yyyy-mm-dd) or date-time (yyyy-mm-dd hh:mm:ss) of the range."
}
}
},
"annotations": {
"title": "List reservations between dates",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One reservation by the hotel's own booking id, or by a channel's booking id together with the channel (operator) id. Returns the booking(s) with guest, room, rate, dates, price, paid and outstanding amounts and status. Card data is never returned. GET /reservation/{bookingId}.
| Parameter | Type | Description |
|---|---|---|
| booking_id * | string | The hotel's booking id, or a channel's (operator's) booking id. |
| operator_id | integer | The channel (operator) id when booking_id is a channel's booking id. See avirato_list_booking_channels. |
{
"name": "avirato_get_reservation",
"title": "Get a reservation",
"description": "One reservation by the hotel's own booking id, or by a channel's booking id together with the channel (operator) id. Returns the booking(s) with guest, room, rate, dates, price, paid and outstanding amounts and status. Card data is never returned. GET /reservation/{bookingId}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"booking_id"
],
"properties": {
"booking_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The hotel's booking id, or a channel's (operator's) booking id."
},
"operator_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The channel (operator) id when booking_id is a channel's booking id. See avirato_list_booking_channels.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get a reservation",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Extended information of one reservation by its booking id (the reservationInfo view). Card data is never returned. GET /reservation/reservationInfo.
| Parameter | Type | Description |
|---|---|---|
| booking_id * | integer | The hotel's booking (reservation) id. |
{
"name": "avirato_get_reservation_details",
"title": "Get reservation details",
"description": "Extended information of one reservation by its booking id (the reservationInfo view). Card data is never returned. GET /reservation/reservationInfo.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"booking_id"
],
"properties": {
"booking_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The hotel's booking (reservation) id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get reservation details",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}A reservation with the other reservations of the same group (master booking and its related rooms). Card data is never returned. GET /reservation/related/{reservationId}.
| Parameter | Type | Description |
|---|---|---|
| reservation_id * | integer | The reservation id. |
{
"name": "avirato_get_related_reservations",
"title": "Get related reservations",
"description": "A reservation with the other reservations of the same group (master booking and its related rooms). Card data is never returned. GET /reservation/related/{reservationId}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"reservation_id"
],
"properties": {
"reservation_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The reservation id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get related reservations",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Every reservation of the establishment in the PMS (can be a very large list for an old hotel; prefer avirato_list_reservations with a date range). Returns `limit` entries from `offset` (default the first 100), the total count and next_offset. Card data is never returned. GET /reservation/allReservations.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | How many reservations to return (default 100, max 500). |
| offset | integer | Skip this many reservations first (default 0); pass the previous reply's next_offset to read on. |
{
"name": "avirato_list_all_reservations",
"title": "List all reservations",
"description": "Every reservation of the establishment in the PMS (can be a very large list for an old hotel; prefer avirato_list_reservations with a date range). Returns `limit` entries from `offset` (default the first 100), the total count and next_offset. Card data is never returned. GET /reservation/allReservations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 500,
"description": "How many reservations to return (default 100, max 500).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 10000000,
"minimum": 0,
"description": "Skip this many reservations first (default 0); pass the previous reply's next_offset to read on."
}
}
},
"annotations": {
"title": "List all reservations",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The sales channels (operators: OTAs, own website, ...) that book into the establishment, with their operator ids (used by avirato_get_reservation). GET /reservation/operators.
No parameters.
{
"name": "avirato_list_booking_channels",
"title": "List booking channels",
"description": "The sales channels (operators: OTAs, own website, ...) that book into the establishment, with their operator ids (used by avirato_get_reservation). GET /reservation/operators.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List booking channels",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Availability of rooms for a stay: which room types and rooms are free between check-in and check-out, optionally limited to a room category, rooms, room types or zones. GET /availability.
| Parameter | Type | Description |
|---|---|---|
| zone_ids | array | Only these zone ids. |
| space_ids | array | Only these room (space) ids. |
| online_only | boolean | Only rooms offered for online sale. |
| check_in_date * | string | Check-in date, yyyy-mm-dd. |
| space_type_id | integer | Room category id (space type). |
| check_out_date * | string | Check-out date, yyyy-mm-dd. |
| space_subtype_ids | array | Only these room type (space subtype) ids. |
| with_valid_space_ids | boolean | Only rooms (spaces) that exist as valid rooms. |
{
"name": "avirato_check_availability",
"title": "Check availability",
"description": "Availability of rooms for a stay: which room types and rooms are free between check-in and check-out, optionally limited to a room category, rooms, room types or zones. GET /availability.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"check_in_date",
"check_out_date"
],
"properties": {
"zone_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Only these zone ids."
},
"space_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Only these room (space) ids."
},
"online_only": {
"type": "boolean",
"description": "Only rooms offered for online sale."
},
"check_in_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Check-in date, yyyy-mm-dd."
},
"space_type_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Room category id (space type).",
"exclusiveMinimum": 0
},
"check_out_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Check-out date, yyyy-mm-dd."
},
"space_subtype_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Only these room type (space subtype) ids."
},
"with_valid_space_ids": {
"type": "boolean",
"description": "Only rooms (spaces) that exist as valid rooms."
}
}
},
"annotations": {
"title": "Check availability",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The free rooms (spaces) of one room category between two dates. GET /availability/availableSpaces.
| Parameter | Type | Description |
|---|---|---|
| end_date * | string | Last day, yyyy-mm-dd. |
| start_date * | string | First night, yyyy-mm-dd. |
| space_type_id * | integer | Room category id (space type). See avirato_get_booking_engine_overview. |
{
"name": "avirato_list_available_spaces",
"title": "List available rooms",
"description": "The free rooms (spaces) of one room category between two dates. GET /availability/availableSpaces.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"start_date",
"end_date",
"space_type_id"
],
"properties": {
"end_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Last day, yyyy-mm-dd."
},
"start_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "First night, yyyy-mm-dd."
},
"space_type_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Room category id (space type). See avirato_get_booking_engine_overview.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "List available rooms",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The dates a room (space) is not free from a start date on, ignoring the given booking (useful to check whether a booking can be extended or moved). GET /availability/unavailable-dates.
| Parameter | Type | Description |
|---|---|---|
| space_id * | integer | The room (space) id. |
| booking_id * | integer | The booking id to ignore. |
| start_date * | string | Start date, yyyy-mm-dd. |
{
"name": "avirato_get_unavailable_dates",
"title": "Get unavailable dates of a room",
"description": "The dates a room (space) is not free from a start date on, ignoring the given booking (useful to check whether a booking can be extended or moved). GET /availability/unavailable-dates.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"booking_id",
"space_id",
"start_date"
],
"properties": {
"space_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The room (space) id.",
"exclusiveMinimum": 0
},
"booking_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The booking id to ignore.",
"exclusiveMinimum": 0
},
"start_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Start date, yyyy-mm-dd."
}
}
},
"annotations": {
"title": "Get unavailable dates of a room",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The booking-engine start data between two dates: room types with descriptions and availability, meal plans (diets), taxes, extras and billing configuration. The quickest way to learn the room type, space type and rate ids of the establishment. GET /rate/init.
| Parameter | Type | Description |
|---|---|---|
| end_date * | string | Last day, yyyy-mm-dd. |
| start_date * | string | First day, yyyy-mm-dd. |
{
"name": "avirato_get_booking_engine_overview",
"title": "Get rooms, diets, extras and availability overview",
"description": "The booking-engine start data between two dates: room types with descriptions and availability, meal plans (diets), taxes, extras and billing configuration. The quickest way to learn the room type, space type and rate ids of the establishment. GET /rate/init.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"start_date",
"end_date"
],
"properties": {
"end_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Last day, yyyy-mm-dd."
},
"start_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "First day, yyyy-mm-dd."
}
}
},
"annotations": {
"title": "Get booking engine overview",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The rates of the establishment (name, minimum/maximum stay, refundable, linked rate and percentage, release days, room category), optionally only some rate ids and one rate mode. GET /rate.
| Parameter | Type | Description |
|---|---|---|
| mode | string | Rate mode: 'dias' (nightly) or 'horas' (hourly). |
| rate_ids | array | Only these rate ids. |
{
"name": "avirato_list_rates",
"title": "List rates",
"description": "The rates of the establishment (name, minimum/maximum stay, refundable, linked rate and percentage, release days, room category), optionally only some rate ids and one rate mode. GET /rate.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"mode": {
"enum": [
"dias",
"horas"
],
"type": "string",
"description": "Rate mode: 'dias' (nightly) or 'horas' (hourly)."
},
"rate_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Only these rate ids."
}
}
},
"annotations": {
"title": "List rates",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}All rates of the establishment, optionally limited to some rate ids and room categories (space types). GET /rate/all.
| Parameter | Type | Description |
|---|---|---|
| rate_ids | array | Only these rate ids. |
| space_type_ids | array | Only these room category (space type) ids. |
{
"name": "avirato_list_rates_by_room_category",
"title": "List rates by room category",
"description": "All rates of the establishment, optionally limited to some rate ids and room categories (space types). GET /rate/all.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"rate_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Only these rate ids."
},
"space_type_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Only these room category (space type) ids."
}
}
},
"annotations": {
"title": "List rates by room category",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One rate by id: name, stay limits, refundable, linked and master rate, release days and mode. GET /rate/{rateId}.
| Parameter | Type | Description |
|---|---|---|
| rate_id * | integer | The rate id. |
{
"name": "avirato_get_rate",
"title": "Get a rate",
"description": "One rate by id: name, stay limits, refundable, linked and master rate, release days and mode. GET /rate/{rateId}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"rate_id"
],
"properties": {
"rate_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The rate id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get a rate",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The final price of a stay for one room type and rate, with discounts and increments applied, for a number of adults, children, meal plan and rooms. GET /rate/getPrice.
| Parameter | Type | Description |
|---|---|---|
| diet | integer | Meal plan (diet) id; 0 = none. List them with avirato_list_diets. |
| adults | integer | Adults (default 1). |
| rate_id * | integer | Rate id. |
| children | integer | Children (default 0). |
| end_date * | string | Check-out date, yyyy-mm-dd. |
| num_rooms | integer | Total rooms in the booking (used for discounts; default 1). |
| start_date * | string | First night, yyyy-mm-dd. |
| space_subtype_id * | integer | Room type (space subtype) id. |
{
"name": "avirato_get_price",
"title": "Get the price of a stay",
"description": "The final price of a stay for one room type and rate, with discounts and increments applied, for a number of adults, children, meal plan and rooms. GET /rate/getPrice.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"start_date",
"end_date",
"space_subtype_id",
"rate_id"
],
"properties": {
"diet": {
"type": "integer",
"maximum": 100,
"minimum": 0,
"description": "Meal plan (diet) id; 0 = none. List them with avirato_list_diets."
},
"adults": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Adults (default 1)."
},
"rate_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Rate id.",
"exclusiveMinimum": 0
},
"children": {
"type": "integer",
"maximum": 50,
"minimum": 0,
"description": "Children (default 0)."
},
"end_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Check-out date, yyyy-mm-dd."
},
"num_rooms": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Total rooms in the booking (used for discounts; default 1)."
},
"start_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "First night, yyyy-mm-dd."
},
"space_subtype_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Room type (space subtype) id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get the price of a stay",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Prices per room type and rate for each day of a period, with the establishment's taxes. GET /rate/getPricesMap.
| Parameter | Type | Description |
|---|---|---|
| end_date * | string | Last day, yyyy-mm-dd. |
| rate_ids * | array | Rate ids. |
| start_date * | string | First day, yyyy-mm-dd. |
| space_subtype_ids * | array | Room type (space subtype) ids. |
{
"name": "avirato_get_prices_map",
"title": "Get a price calendar",
"description": "Prices per room type and rate for each day of a period, with the establishment's taxes. GET /rate/getPricesMap.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"start_date",
"end_date",
"space_subtype_ids",
"rate_ids"
],
"properties": {
"end_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Last day, yyyy-mm-dd."
},
"rate_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Rate ids."
},
"start_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "First day, yyyy-mm-dd."
},
"space_subtype_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Room type (space subtype) ids."
}
}
},
"annotations": {
"title": "Get a price calendar",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The discounts and increments that apply to room types and rates for a period and a number of rooms. GET /rate/discounts.
| Parameter | Type | Description |
|---|---|---|
| end_date * | string | Last day, yyyy-mm-dd. |
| rate_ids * | array | Rate ids. |
| num_rooms | integer | Total rooms wanted (default 1). |
| start_date * | string | First day, yyyy-mm-dd. |
| space_subtype_ids * | array | Room type (space subtype) ids. |
{
"name": "avirato_get_discounts",
"title": "Get discounts",
"description": "The discounts and increments that apply to room types and rates for a period and a number of rooms. GET /rate/discounts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"start_date",
"end_date",
"space_subtype_ids",
"rate_ids"
],
"properties": {
"end_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Last day, yyyy-mm-dd."
},
"rate_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Rate ids."
},
"num_rooms": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Total rooms wanted (default 1)."
},
"start_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "First day, yyyy-mm-dd."
},
"space_subtype_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Room type (space subtype) ids."
}
}
},
"annotations": {
"title": "Get discounts",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The meal plans (diets) of the establishment with their ids, as used by the price tools. GET /rate/diets.
No parameters.
{
"name": "avirato_list_diets",
"title": "List meal plans",
"description": "The meal plans (diets) of the establishment with their ids, as used by the price tools. GET /rate/diets.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List meal plans",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The release (minimum advance booking) days of each rate. GET /rate/release.
No parameters.
{
"name": "avirato_list_rate_releases",
"title": "List rate release days",
"description": "The release (minimum advance booking) days of each rate. GET /rate/release.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List rate release days",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The minimum-stay restrictions per day for room types and rates over a period. GET /restrictions/minimum-stay.
| Parameter | Type | Description |
|---|---|---|
| rate_ids | array | Only these rate ids. |
| final_date * | string | Last day of the period, yyyy-mm-dd. |
| initial_date | string | First day of the period, yyyy-mm-dd. |
| space_subtype_ids | array | Only these room type (space subtype) ids. |
{
"name": "avirato_get_minimum_stay",
"title": "Get minimum stay restrictions",
"description": "The minimum-stay restrictions per day for room types and rates over a period. GET /restrictions/minimum-stay.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"final_date"
],
"properties": {
"rate_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Only these rate ids."
},
"final_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "Last day of the period, yyyy-mm-dd."
},
"initial_date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "First day of the period, yyyy-mm-dd."
},
"space_subtype_ids": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"maxItems": 100,
"minItems": 1,
"description": "Only these room type (space subtype) ids."
}
}
},
"annotations": {
"title": "Get minimum stay restrictions",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The daily prices of one rate on one date (per room type and occupancy). GET /dailyPrice.
| Parameter | Type | Description |
|---|---|---|
| date * | string | The date, yyyy-mm-dd. |
| rate_id * | integer | The rate id. |
{
"name": "avirato_get_daily_prices",
"title": "Get daily prices of a rate",
"description": "The daily prices of one rate on one date (per room type and occupancy). GET /dailyPrice.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"date",
"rate_id"
],
"properties": {
"date": {
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
"description": "The date, yyyy-mm-dd."
},
"rate_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The rate id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Get daily prices of a rate",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The promotional packages of the establishment with their extras. GET /payment/promotionalPackages.
No parameters.
{
"name": "avirato_list_promotional_packages",
"title": "List promotional packages",
"description": "The promotional packages of the establishment with their extras. GET /payment/promotionalPackages.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List promotional packages",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The extras (additional services) that can be charged on a booking. GET /payment/extras.
No parameters.
{
"name": "avirato_list_extras",
"title": "List extras",
"description": "The extras (additional services) that can be charged on a booking. GET /payment/extras.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List extras",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: records a cash payment on an existing booking in the hotel's PMS (it changes the booking's paid and outstanding amounts and cannot be undone through this server). Not idempotent: calling it twice records two payments. Confirm the booking id and the amount with the user first, then pass confirm: true. If the call fails with a network error or timeout the payment may still have been recorded: read the booking (avirato_get_reservation) and check its payments before trying again. Card payments are not supported. POST /payment/addBookingPayment.
| Parameter | Type | Description |
|---|---|---|
| amount * | number | Payment amount in the establishment's currency; must not be 0. |
| confirm * | boolean | Must be true: you confirm the user asked to record exactly this payment on this booking. |
| datetime | string | When the payment was received, yyyy-mm-dd hh:mm:ss (default: now, UTC). |
| booking_id * | integer | The booking (reservation) id. |
{
"name": "avirato_add_booking_cash_payment",
"title": "Record a cash payment on a booking",
"description": "WRITE: records a cash payment on an existing booking in the hotel's PMS (it changes the booking's paid and outstanding amounts and cannot be undone through this server). Not idempotent: calling it twice records two payments. Confirm the booking id and the amount with the user first, then pass confirm: true. If the call fails with a network error or timeout the payment may still have been recorded: read the booking (avirato_get_reservation) and check its payments before trying again. Card payments are not supported. POST /payment/addBookingPayment.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"booking_id",
"amount",
"confirm"
],
"properties": {
"amount": {
"type": "number",
"description": "Payment amount in the establishment's currency; must not be 0."
},
"confirm": {
"type": "boolean",
"const": true,
"description": "Must be true: you confirm the user asked to record exactly this payment on this booking."
},
"datetime": {
"type": "string",
"description": "When the payment was received, yyyy-mm-dd hh:mm:ss (default: now, UTC)."
},
"booking_id": {
"type": "integer",
"maximum": 9007199254740991,
"description": "The booking (reservation) id.",
"exclusiveMinimum": 0
}
}
},
"annotations": {
"title": "Record a cash payment on a booking",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Tools for Avirato, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Who checks in at my hotel tomorrow and who checks out?"; "Which rooms are free from 12 to 15 November?"; "How much is a double room on the standard rate for 3 nights from 20 December, 2 adults?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Avirato data. Free plan: 50 tool calls per month. Run avirato_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 avirato_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 avirato_upgrade without a plan: it returns both plans, each with a payment link for the user to open. avirato_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.