# EasyWeek MCP Server API reference

MCP server for the EasyWeek booking platform. Connect at `https://mcp.easyweek.io/mcp` using OAuth 2.1 (scope `mcp:business`). This server exposes **54 tools** for managing bookings, customers, services, staff, locations, and availability.

## Tools

| Category | Tool | Access | Description |
| --- | --- | --- | --- |
| Workspace | `get_workspace` | read | The workspace this connection acts in: name, slug, uuid, `timezone` (IANA), profile. |
| Workspace | `list_workspaces` | read | Workspaces (businesses) of the connected person, with the person's role in each. |
| Workspace | `get_setup_status` | read | What of the business is filled in and what to do next. |
| Workspace | `update_workspace` | destructive | Change the business profile, languages or legal texts: only the fields you pass change. |
| Locations | `list_locations` | read | Locations (branches): address, contacts, `timezone` (IANA) and settings. |
| Locations | `list_location_options` | read | Reference lists of a location whose uuids other tools take. |
| Locations | `update_location` | destructive | Change a location: only the fields you pass change. |
| Locations | `rescore_marketplace_listing` | write | Recalculate now whether a location qualifies for the marketplace; a few times a day. |
| Staff | `list_staff` | read | Staff of a location with roles and the services each one performs. |
| Staff | `save_staff` | destructive | Add a staff member or change one: only the fields you pass change. |
| Staff | `invite_staff` | write | Invite a person into the workspace by email; they sign in with the role once they accept. |
| Staff | `list_staff_invitations` | read | Pending staff invitations: email, role, location, expiry, `invite_link`, next possible resend. |
| Staff | `resend_staff_invitation` | write | Email a pending invitation again; the same email then waits until `resend_available_at`. |
| Staff | `cancel_staff_invitation` | destructive | Cancel a pending invitation: its link stops working and its seat is free again. |
| Staff | `get_staff_schedule` | read | Working hours of one staff member per day of a window (both days inclusive). |
| Staff | `set_staff_working_hours` | destructive | Replace a staff member's working hours: one day (`date`, `intervals`) or the weekly ones (`week`). |
| Services | `list_services` | read | Services of a location: duration, `price` in minor units, category and staff. |
| Services | `get_service` | read | One service in full: prices, duration, category, locations and staff. |
| Services | `save_service` | destructive | Create a service or change one: only the fields you pass change. |
| Services | `save_service_category` | destructive | Create a service category (`name` required) or change one: only the fields you pass change. |
| Images | `add_image` | destructive | Add an image from one source: a link, a file of the chat or an upload link. |
| Images | `remove_image` | destructive | Take one image off the logo, the icon, a location, a service or a staff member. |
| Images | `get_photo_upload_link` | write | A link, valid 30 minutes, where the person uploads photos from a phone or computer. |
| Availability | `get_availability` | read | Free slots of a service per day of a window, or the earliest free slot when no dates are given. |
| Bookings | `list_bookings` | read | Bookings, newest first, paginated (`meta.has_more`); filters combine with AND. |
| Bookings | `get_booking` | read | One booking in full: customer, services, order totals, status, notes. |
| Bookings | `create_booking` | write | Book one service: pass a slot's `starts_at` from get_availability as it is (local time with offset). |
| Bookings | `cancel_booking` | destructive | Cancel a booking; the customer is notified. Irreversible: confirm with the user first. |
| Bookings | `complete_booking` | destructive | Close a booking as completed and record its payment to a payment account. |
| Bookings | `update_booking` | destructive | Change one thing on a booking per call: staff member, service, comment or custom status. |
| Bookings | `reschedule_booking` | destructive | Move a booking to a new start: a future slot's `starts_at` from get_availability, as it is. |
| Bookings | `list_booking_statuses` | read | Booking statuses of the workspace. |
| Bookings | `create_blocked_spot` | write | Block a time range on one staff member's calendar (break, training). |
| Customers | `list_customers` | read | Customers, paginated; pass `phone` or `email` to find one before creating or booking. |
| Customers | `get_customer` | read | One customer card: name, contacts, birthday, company details. |
| Customers | `save_customer` | destructive | Create a customer card or change one: only the fields you pass change. |
| Reviews | `list_reviews` | read | Customer reviews with the answers of the business, newest first, paginated. |
| Reviews | `reply_to_review` | destructive | Answer a review in public or change the answer. Confirm the text with the user first. |
| Goods | `list_goods` | read | Products with prices in minor units; goods lines of create_order take them. |
| Orders | `list_orders` | read | Point-of-sale orders, newest first, paginated; `date_from`/`date_to` are inclusive days of creation. |
| Orders | `get_order` | read | One order with lines, discounts, payment and linked bookings. |
| Orders | `create_order` | write | Open a point-of-sale order with at least one service, goods or voucher line; prices in minor units. |
| Orders | `pay_order` | destructive | Mark an open order as paid through a payment account. |
| Orders | `refund_order` | destructive | Refund a paid order: voids the invoice. Irreversible, once per order: confirm with the user first. |
| Vouchers | `list_voucher_templates` | read | Gift voucher templates, newest first. |
| Vouchers | `create_voucher_template` | write | Create a gift voucher template for sale at the desk and, optionally, online. |
| Messaging | `get_messaging_balance` | read | Messaging wallets: balance per channel, low-balance thresholds and auto top-up settings. |
| Messaging | `get_message_history` | read | Messages sent to customers in a window of days (both inclusive), newest first, paginated. |
| Messaging | `check_phone` | read | Check whether a phone number can receive SMS. |
| Reminders | `list_reminders` | read | Automatic reminders with type, status, channel and moderation flag. |
| Reminders | `set_reminder_status` | destructive | Turn a reminder on or pause it; to turn on it needs a channel, update_reminder_template sets one. |
| Reminders | `get_reminder_templates` | read | Texts of a reminder per channel and locale; send the same shape back to update_reminder_template. |
| Reminders | `update_reminder_template` | destructive | Set a reminder's channel and texts and activate it. |
| Reminders | `get_moderation_status` | read | Reminder texts waiting for EasyWeek moderation; an empty list means nothing is pending. |

## Workspaces

A connection is made in one workspace (a business) and every tool acts there. A person who has a staff card in several workspaces reaches all of them through the same connection: `list_workspaces` names them with the person's role in each, and every other tool takes the optional argument `workspace` (a `uuid` or `slug` from that list). The call then acts in that workspace with the rights of the role there; the `workspace` object of every answer says where it acted. A workspace the person has no active card in is refused with 403 `wrong_workspace`.

## Time arguments

Every time argument is the location's own clock, written as the location reads it; the server never asks you to
apply an offset. A value outside its pattern is refused before it reaches EasyWeek, with the pattern in the error.

| Argument | Format | Meaning |
| --- | --- | --- |
| `starts_at`, `ends_at` | `YYYY-MM-DDTHH:MM` (seconds optional) | The location's wall clock. For a booking pass the `starts_at` of a free slot from `get_availability` as it is. |
| `date_from`, `date_to` | `YYYY-MM-DD` | A window of calendar days at the location, both days inclusive; one day = the same day twice. |
| `date` | `YYYY-MM-DD` | One calendar day at the location. |
| `birthday`, `customer_birthday` | `YYYY-MM-DD` | A date of birth. |

Answers carry `starts_at`, `ends_at`, `sent_at` and `created_at` as the local time with its offset
(`2026-10-25T13:00:00+01:00`) and name the zone in `timezone` (IANA, e.g. `Europe/Berlin`). Lists are paginated
with `meta{page, per_page, total, has_more}`.

## Parameters

### `get_workspace`

The workspace this connection acts in: name, slug, uuid, `timezone` (IANA), profile.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_workspaces`

Workspaces (businesses) of the connected person, with the person's role in each.

_No parameters._


### `get_setup_status`

What of the business is filled in and what to do next.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `update_workspace`

Change the business profile, languages or legal texts: only the fields you pass change.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string \| null | no | Business name. |
| `description` | string \| null | no | Text shown to clients; an empty string removes it. |
| `translations` | object \| null | no | Per workspace language: {'en-GB': {'description': 'Hair salon'}}; null removes one. |
| `industry` | string \| null | no | Industry key, e.g. 'hair-salon'; a wrong one answers the closest keys. |
| `phone` | string \| null | no | Public phone. |
| `is_phone_hidden` | boolean \| null | no | true hides the phone from clients. |
| `channels` | object \| null | no | whatsapp, viber (numbers), telegram (user name), instagram, facebook, tiktok, youtube, twitter, pinterest, threads, linkedin (profile links); an empty string removes one. |
| `languages` | array \| null | no | All languages of the workspace as locale codes, e.g. ['en-GB', 'de-DE']; replaces the list. |
| `language_default` | string \| null | no | Default language, one of `languages`. |
| `privacy_text` | string \| null | no | Privacy policy, simple HTML. |
| `imprint_text` | string \| null | no | Imprint (Impressum), simple HTML. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_locations`

Locations (branches): address, contacts, `timezone` (IANA) and settings.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | integer | no | Page, from 1. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_location_options`

Reference lists of a location whose uuids other tools take.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `kind` | string | yes | Which list. |
| `location_uuid` | string \| null | no | Location `uuid` from list_locations; omit if there is only one. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `update_location`

Change a location: only the fields you pass change.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `location_uuid` | string | yes | Location `uuid` from list_locations. |
| `name` | string \| null | no | Location name. |
| `description` | string \| null | no | Text shown to clients; an empty string removes it. |
| `translations` | object \| null | no | Per workspace language: {'en-GB': {'description': 'Hair salon'}}; null removes one. |
| `phone` | string \| null | no | Phone of the location; an empty string removes it. |
| `is_shown_on_website` | boolean \| null | no | Shown on the company website. |
| `is_shown_in_marketplace` | boolean \| null | no | Shown in the EasyWeek marketplace. |
| `service_mode` | string \| null | no | Where services take place. |
| `spoken_languages` | array \| null | no | Language codes spoken there, e.g. ['en', 'de']; replaces the list. |
| `amenities` | array \| null | no | Amenity names; replaces the list, an unknown one answers the known names. |
| `address` | object \| null | no | Parts to change: address_1, apt, city, postal_code, region, country_iso, timezone, lat, lng. Moving the place needs lat and lng. |
| `opening_hours` | object \| null | no | mon..sun to change: [{'from': '09:00', 'to': '18:00'}], [] closes the day. Rewrites the weekly hours of every staff member there. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `rescore_marketplace_listing`

Recalculate now whether a location qualifies for the marketplace; a few times a day.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `location_uuid` | string | yes | Location `uuid` from list_locations. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_staff`

Staff of a location with roles and the services each one performs.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `location_uuid` | string \| null | no | Location `uuid` from list_locations; omit if there is only one. |
| `page` | integer | no | Page, from 1. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `save_staff`

Add a staff member or change one: only the fields you pass change.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `staffer_uuid` | string \| null | no | The staff member to change; omit to add one. |
| `first_name` | string \| null | no | First name. |
| `last_name` | string \| null | no | Last name. |
| `position` | string \| null | no | Job title. |
| `description` | string \| null | no | Text shown to clients; an empty string removes it. |
| `phone` | string \| null | no | Only when adding. |
| `location_uuid` | string \| null | no | Only when adding: the location to work at. |
| `translations` | object \| null | no | Per workspace language only `name` (full name), `position`, `description`: {'de-DE': {'name': 'Anna Weber'}}; null removes one. |
| `is_shown_in_widget` | boolean \| null | no | Bookable online. |
| `is_shown_on_website` | boolean \| null | no | Shown on the company website. |
| `is_shown_in_marketplace` | boolean \| null | no | Shown in the EasyWeek marketplace. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `invite_staff`

Invite a person into the workspace by email; they sign in with the role once they accept.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `email` | string | yes | Email the invitation goes to. |
| `role` | string | yes | Access level; only an owner invites an owner. |
| `location_uuid` | string | yes | Location `uuid` from list_locations. |
| `staffer_uuid` | string \| null | no | Staff member without a sign-in who gets it (`uuid` from list_staff); omit for a new person. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_staff_invitations`

Pending staff invitations: email, role, location, expiry, `invite_link`, next possible resend.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `location_uuid` | string \| null | no | Only this location. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `resend_staff_invitation`

Email a pending invitation again; the same email then waits until `resend_available_at`.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `invitation_id` | string | yes | Invitation `id` from list_staff_invitations. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `cancel_staff_invitation`

Cancel a pending invitation: its link stops working and its seat is free again.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `invitation_id` | string | yes | Invitation `id` from list_staff_invitations. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `get_staff_schedule`

Working hours of one staff member per day of a window (both days inclusive).

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `staffer_uuid` | string | yes | Staff member `uuid` from list_staff. |
| `location_uuid` | string | yes | Location `uuid` from list_locations. |
| `date_from` | string | yes | First day, YYYY-MM-DD. |
| `date_to` | string | yes | Last day, YYYY-MM-DD, inclusive, within 62 days of date_from. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `set_staff_working_hours`

Replace a staff member's working hours: one day (`date`, `intervals`) or the weekly ones (`week`).

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `staffer_uuid` | string | yes | Staff member `uuid` from list_staff. |
| `location_uuid` | string | yes | Location `uuid` from list_locations. |
| `date` | string \| null | no | One day, YYYY-MM-DD; with `intervals`. |
| `intervals` | array \| null | no | The day's intervals, not overlapping; empty = day off. |
| `week` | object \| null | no | Every week from today on, {mon..sun: [{start, end}]}: a day left out is a day off, dated days after today go. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_services`

Services of a location: duration, `price` in minor units, category and staff.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `location_uuid` | string \| null | no | Location `uuid` from list_locations; omit if there is only one. |
| `page` | integer | no | Page, from 1. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `get_service`

One service in full: prices, duration, category, locations and staff.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `service_uuid` | string | yes | Service `uuid` from list_services. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `save_service`

Create a service or change one: only the fields you pass change.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `service_uuid` | string \| null | no | The service to change; omit to create one. |
| `name` | string \| null | no | Name shown to clients. |
| `duration` | integer \| null | no | Duration in minutes. |
| `price` | integer \| null | no | Price in minor units: 2550 = 25.50. |
| `description` | string \| null | no | Text shown to clients, up to 2000 characters. |
| `category_uuid` | string \| null | no | Category `uuid` from list_location_options. |
| `price_discount` | integer \| null | no | Discounted price in minor units, below the price. |
| `pause` | integer \| null | no | Pause after the service in minutes; 0 removes it. |
| `live` | boolean \| null | no | false archives the service. |
| `live_in_widget` | boolean \| null | no | false takes it out of online booking. |
| `is_duration_hidden` | boolean \| null | no | true hides the duration from clients. |
| `is_price_hidden` | boolean \| null | no | true hides the price from clients. |
| `is_top` | boolean \| null | no | true pins it to the top. |
| `is_auto_allocated` | boolean \| null | no | true: EasyWeek picks a free staff member when the client picks none. |
| `location_uuids` | array \| null | no | Location uuids where it is offered. |
| `staffer_uuids` | array \| null | no | Staff uuids who perform it. |
| `color` | string \| null | no | Calendar colour. |
| `translations` | object \| null | no | Per workspace language `name`, `description`: {'de-DE': {'name': 'Haarschnitt'}}; null removes one. |
| `images` | array \| null | no | Images of the service from add_image, in this order; replaces the list. |
| `is_shown_on_website` | boolean \| null | no | Shown on the company website. |
| `is_shown_in_marketplace` | boolean \| null | no | Shown in the EasyWeek marketplace. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `save_service_category`

Create a service category (`name` required) or change one: only the fields you pass change.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `category_uuid` | string \| null | no | The category to change; omit to create one. |
| `name` | string \| null | no | Name shown to clients. |
| `translations` | object \| null | no | Names per workspace language, e.g. {'de-DE': {'name': 'Haare'}}; null removes one. |
| `color` | string \| null | no | Calendar colour. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `add_image`

Add an image from one source: a link, a file of the chat or an upload link.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `target` | string | yes | What the image is for. |
| `target_uuid` | string \| null | no | Uuid of the location, service or staff member. |
| `url` | string \| null | no | https address of the image. |
| `file` | object | no | An image of the chat. |
| `upload` | string \| null | no | `upload` from get_photo_upload_link, after the person uploaded. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `remove_image`

Take one image off the logo, the icon, a location, a service or a staff member.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `target` | string | yes | What the image is on. |
| `url` | string | yes | Address of the image as the answers carry it. |
| `target_uuid` | string \| null | no | Uuid of the location, service or staff member. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `get_photo_upload_link`

A link, valid 30 minutes, where the person uploads photos from a phone or computer.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `target` | string | yes | What the image is for. |
| `language` | string | yes | Language of the upload page, e.g. 'de'. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `get_availability`

Free slots of a service per day of a window, or the earliest free slot when no dates are given.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `location_uuid` | string | yes | Location `uuid` from list_locations. |
| `service_uuid` | string | yes | Service `uuid` from list_services. |
| `date_from` | string \| null | no | First day, YYYY-MM-DD. |
| `date_to` | string \| null | no | Last day, YYYY-MM-DD, inclusive; not before date_from. |
| `staffer_uuid` | string \| null | no | Only this staff member (`uuid` from list_staff). |
| `timezone` | string \| null | no | IANA zone for `start`/`end`; omit for the location's own. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_bookings`

Bookings, newest first, paginated (`meta.has_more`); filters combine with AND.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `customer_uuid` | string \| null | no | Only this customer. |
| `location_uuid` | string \| null | no | Only this location. |
| `staffer_uuid` | string \| null | no | Only this staff member. |
| `state` | string \| null | no | By time: future, now or past. |
| `status_uuid` | string \| null | no | Status `uuid` from list_booking_statuses. |
| `date_from` | string \| null | no | First day, YYYY-MM-DD. |
| `date_to` | string \| null | no | Last day, YYYY-MM-DD, inclusive; not before date_from. |
| `page` | integer | no | Page, from 1. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `get_booking`

One booking in full: customer, services, order totals, status, notes.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `booking_uuid` | string | yes | Booking `uuid`. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `create_booking`

Book one service: pass a slot's `starts_at` from get_availability as it is (local time with offset).

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `location_uuid` | string | yes | Location `uuid` from list_locations. |
| `service_uuid` | string | yes | Service `uuid` from list_services. |
| `starts_at` | string | yes | `starts_at` of a free slot from get_availability, as it is (local time, e.g. '2026-10-25T13:00'). |
| `customer_first_name` | string | yes | Customer's first name. |
| `customer_phone` | string | yes | Phone with country code, e.g. +491234567890. |
| `staffer_uuid` | string \| null | no | Staff member `uuid`; omit to let EasyWeek assign a free one. |
| `customer_last_name` | string \| null | no | Last name. |
| `customer_email` | string \| null | no | Email address. |
| `booking_comment` | string \| null | no | Comment, visible to staff. |
| `customer_birthday` | string \| null | no | Birthday, YYYY-MM-DD, when the booking form asks for it. |
| `custom_attributes` | object \| null | no | Other booking form fields by the slug a 422 names. |
| `customer_timezone` | string \| null | no | Customer's IANA zone when it differs from the location's. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `cancel_booking`

Cancel a booking; the customer is notified. Irreversible: confirm with the user first.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `booking_uuid` | string | yes | Booking `uuid`. |
| `cancel_reason` | string \| null | no | Why; 'didnt_come' is a no-show. |
| `internal_notes` | string \| null | no | Staff-only note, up to 255 characters. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `complete_booking`

Close a booking as completed and record its payment to a payment account.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `booking_uuid` | string | yes | Booking `uuid`. |
| `account_uuid` | string | yes | Payment account `uuid` from list_location_options. |
| `paid_amount` | integer \| null | no | Amount paid in minor units; omit for the full order amount. |
| `internal_notes` | string \| null | no | Staff-only note, up to 255 characters. |
| `staffer_uuid` | string \| null | no | Who performed it, if not the booked staff member. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `update_booking`

Change one thing on a booking per call: staff member, service, comment or custom status.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `booking_uuid` | string | yes | Booking `uuid`. |
| `staffer_uuid` | string \| null | no | New staff member `uuid`. |
| `booking_service_uuid` | string \| null | no | With staffer_uuid, one line of a multi-service booking: `services[].uuid` from get_booking. |
| `service_uuid` | string \| null | no | New service `uuid`; duration and price follow it. |
| `notes` | string \| null | no | New comment, up to 255 characters; an empty string removes it. |
| `status_uuid` | string \| null | no | Status `uuid` from list_booking_statuses. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `reschedule_booking`

Move a booking to a new start: a future slot's `starts_at` from get_availability, as it is.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `booking_uuid` | string | yes | Booking `uuid`. |
| `starts_at` | string | yes | `starts_at` of a free slot from get_availability, as it is (local time, e.g. '2026-10-25T13:00'). |
| `send_notification` | boolean | no | false: do not notify the customer. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_booking_statuses`

Booking statuses of the workspace.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `include_system` | boolean | no | true adds system statuses, which cannot be assigned. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `create_blocked_spot`

Block a time range on one staff member's calendar (break, training).

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `staffer_uuid` | string | yes | Staff member `uuid` from list_staff. |
| `location_uuid` | string | yes | Location `uuid` from list_locations. |
| `starts_at` | string | yes | Start, the location's wall clock as YYYY-MM-DDTHH:MM, e.g. '2026-10-25T13:00'. |
| `ends_at` | string | yes | End, the same format, after starts_at. |
| `comment` | string \| null | no | Reason shown in the calendar. |
| `color` | string \| null | no | Calendar colour. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_customers`

Customers, paginated; pass `phone` or `email` to find one before creating or booking.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `phone` | string \| null | no | Phone, any format. |
| `email` | string \| null | no | Email address. |
| `page` | integer | no | Page, from 1. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `get_customer`

One customer card: name, contacts, birthday, company details.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `customer_uuid` | string | yes | Customer `uuid` from list_customers. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `save_customer`

Create a customer card or change one: only the fields you pass change.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `customer_uuid` | string \| null | no | The customer to change; omit to create one. |
| `phone` | string \| null | no | Phone, best with country code. |
| `first_name` | string \| null | no | First name. |
| `last_name` | string \| null | no | Last name. |
| `middle_name` | string \| null | no | Middle name. |
| `email` | string \| null | no | Email address. |
| `birthday` | string \| null | no | Birthday, YYYY-MM-DD. |
| `comment` | string \| null | no | Staff-only note. |
| `company_name` | string \| null | no | Company name for invoices. |
| `vat_number` | string \| null | no | VAT number for invoices. |
| `telegram` | string \| null | no | Telegram username or phone. |
| `viber` | string \| null | no | Viber phone. |
| `whatsapp` | string \| null | no | WhatsApp phone. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_reviews`

Customer reviews with the answers of the business, newest first, paginated.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `location_uuid` | string \| null | no | Only this location (`uuid` from list_locations). |
| `stars` | integer \| null | no | Only this rating. |
| `has_reply` | boolean \| null | no | false: reviews without an answer. |
| `page` | integer | no | Page, from 1. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `reply_to_review`

Answer a review in public or change the answer. Confirm the text with the user first.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `booking_uuid` | string | yes | `booking_uuid` of the review from list_reviews. |
| `reply` | string | yes | Public answer, up to 1000 characters; an empty string takes it back. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_goods`

Products with prices in minor units; goods lines of create_order take them.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `search` | string \| null | no | Name or article number. |
| `is_payable` | boolean \| null | no | true: sellable products only; false: consumables only. |
| `page` | integer | no | Page, from 1. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_orders`

Point-of-sale orders, newest first, paginated; `date_from`/`date_to` are inclusive days of creation.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string \| null | no | Only this status. |
| `location_uuid` | string \| null | no | Only this location. |
| `staffer_uuid` | string \| null | no | Only orders this staff member created. |
| `customer_uuid` | string \| null | no | Only this customer. |
| `date_from` | string \| null | no | First day, YYYY-MM-DD. |
| `date_to` | string \| null | no | Last day, YYYY-MM-DD, inclusive; not before date_from. |
| `page` | integer | no | Page, from 1. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `get_order`

One order with lines, discounts, payment and linked bookings.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `order_uuid` | string | yes | Order `uuid` from list_orders. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `create_order`

Open a point-of-sale order with at least one service, goods or voucher line; prices in minor units.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `location_uuid` | string | yes | Location `uuid` from list_locations. |
| `staffer_uuid` | string | yes | Seller, with point-of-sale access (the owner has it). |
| `customer_uuid` | string \| null | no | Omit for a walk-in sale. |
| `services` | array \| null | no | Service lines. |
| `goods` | array \| null | no | Product lines. |
| `vouchers` | array \| null | no | Gift voucher lines. |
| `discount_amount` | integer \| null | no | Discount in minor units, with discount_mode 'fixed'. |
| `discount_mode` | string \| null | no | Kind of discount. |
| `discount_percent` | integer \| null | no | Discount in percent, with discount_mode 'percent'. |
| `promocode` | string \| null | no | Promo code. |
| `comment` | string \| null | no | Staff-only comment. |
| `invoice_note` | string \| null | no | Note printed on the invoice. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `pay_order`

Mark an open order as paid through a payment account.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `order_uuid` | string | yes | Order `uuid` from list_orders. |
| `account_uuid` | string | yes | Payment account `uuid` from list_location_options. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `refund_order`

Refund a paid order: voids the invoice. Irreversible, once per order: confirm with the user first.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `order_uuid` | string | yes | Order `uuid` from list_orders. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_voucher_templates`

Gift voucher templates, newest first.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | integer | no | Page, from 1. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `create_voucher_template`

Create a gift voucher template for sale at the desk and, optionally, online.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `title` | string | yes | Name shown to clients. |
| `cost` | integer | yes | What the client pays, minor units. |
| `value` | integer | yes | What it is worth when redeemed, minor units. |
| `is_single_charge` | boolean | yes | true: spent in one visit; false: over several. |
| `is_enabled` | boolean | yes | true: on sale at the desk. |
| `is_online` | boolean | yes | true: on sale online too. |
| `primary_color` | string | no | Card colour. |
| `description` | string \| null | no | Text shown to clients, up to 3000 characters. |
| `notes` | string \| null | no | Staff-only notes. |
| `branch_uuids` | array \| null | no | Locations that redeem it; omit for all. |
| `service_uuids` | array \| null | no | Services it pays for; omit for any. |
| `good_uuids` | array \| null | no | Products it pays for; omit for any. |
| `validity` | integer \| null | no | Months after purchase; omit for no expiry. |
| `sales_limit` | integer \| null | no | How many can be sold. |
| `is_shown_on_website` | boolean \| null | no | true: listed on the website. |
| `is_shown_in_marketplace` | boolean \| null | no | true: listed on the marketplace. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `get_messaging_balance`

Messaging wallets: balance per channel, low-balance thresholds and auto top-up settings.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `get_message_history`

Messages sent to customers in a window of days (both inclusive), newest first, paginated.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `date_from` | string \| null | no | First day, YYYY-MM-DD. |
| `date_to` | string \| null | no | Last day, YYYY-MM-DD, inclusive; not before date_from. |
| `message_id` | string \| null | no | One message: `id` from this list. |
| `channel` | string \| null | no | Only this channel. |
| `reminder_type` | string \| null | no | Only this type: new_booking, before_visit, booking_rescheduled, booking_noshow, booking_abandoned, booking_canceled, thank_you_message, rebook_reminder, order_paid, order_refunded, gift_card_sold, birthday_message, booking_confirmation_link. |
| `status` | array \| null | no | Only these statuses: queued, processing, delivered, deferred, expired, failed, rejected, skipped, unknown. |
| `customer_uuid` | string \| null | no | Only this customer. |
| `booking_uuid` | string \| null | no | Only this booking. |
| `search` | string \| null | no | Customer name or phone. |
| `page` | integer | no | Page, from 1. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `check_phone`

Check whether a phone number can receive SMS.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `phone` | string | yes | Phone with country code. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `list_reminders`

Automatic reminders with type, status, channel and moderation flag.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string \| null | no | Only this status. |
| `channel` | string \| null | no | Channel key: sms, push+sms (both), push-sms (push, else SMS). |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `set_reminder_status`

Turn a reminder on or pause it; to turn on it needs a channel, update_reminder_template sets one.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `reminder_uuid` | string | yes | Reminder `uuid` from list_reminders. |
| `status` | string | yes | New status. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `get_reminder_templates`

Texts of a reminder per channel and locale; send the same shape back to update_reminder_template.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `reminder_uuid` | string | yes | Reminder `uuid` from list_reminders. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `update_reminder_template`

Set a reminder's channel and texts and activate it.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `reminder_uuid` | string | yes | Reminder `uuid` from list_reminders. |
| `channel` | string | yes | Channel key: one channel or a combination, push+sms (both) or push-sms (push, else SMS); templates holds each of its channels. |
| `templates` | object | yes | Per channel and locale, as get_reminder_templates returns them; `message` null = default text, WhatsApp takes `template_sid`. |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


### `get_moderation_status`

Reminder texts waiting for EasyWeek moderation; an empty list means nothing is pending.

| Param | Type | Required | Description |
| --- | --- | --- | --- |
| `workspace` | string \| null | no | Other workspace, from list_workspaces. |


## Example calls

### List the bookings of one day

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_bookings",
    "arguments": {
      "date_from": "2026-10-25",
      "date_to": "2026-10-25"
    }
  }
}
```

### Free slots of one day

```json
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "get_availability",
    "arguments": {
      "location_uuid": "7396b6aa-f0af-4223-89ce-8f814eb4148f",
      "service_uuid": "7396b6aa-f0af-4223-89ce-8f814eb4148f",
      "date_from": "2026-10-25",
      "date_to": "2026-10-25"
    }
  }
}
```

### Create a booking from a slot's `starts_at`

```json
{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "tools/call",
  "params": {
    "name": "create_booking",
    "arguments": {
      "location_uuid": "7396b6aa-f0af-4223-89ce-8f814eb4148f",
      "service_uuid": "7396b6aa-f0af-4223-89ce-8f814eb4148f",
      "starts_at": "2026-10-25T13:00",
      "customer_first_name": "Anna",
      "customer_phone": "+491234567890"
    }
  }
}
```

### Move a booking to another slot

```json
{
  "jsonrpc": "2.0",
  "id": 4,
  "method": "tools/call",
  "params": {
    "name": "reschedule_booking",
    "arguments": {
      "booking_uuid": "7396b6aa-f0af-4223-89ce-8f814eb4148f",
      "starts_at": "2026-10-26T15:30"
    }
  }
}
```

## Errors

An EasyWeek answer other than 2xx comes back as a normal result, not as a transport error:
`{"error": sentence, "status": code, "details"?: ..., "retry_after_seconds"?: seconds}`.
`error` is EasyWeek's own sentence when it sent one (a 404 names the entity, a 409 says why the state refuses),
else the sentence of this table. `details` is the `errors` map of a 422 (`{field: [sentences]}`, keys are the
argument names you used, every invalid field at once) or the rest of the body, e.g. `code` next to a 409 message.

| Status | Sentence when EasyWeek sends none |
| --- | --- |
| `3xx` | EasyWeek answered with a redirect instead of data; the API address is wrong. |
| `4xx` | EasyWeek could not read the request. |
| `401` | The connection is not authorized: the OAuth token is invalid or expired, reconnect EasyWeek. |
| `403` | EasyWeek refused the action for this workspace or token. |
| `404` | Nothing was found for this request in the workspace. |
| `405` | The EasyWeek API does not support this action. |
| `409` | The action is not possible in the record's current state. |
| `422` | The request has missing or invalid fields. |
| `429` | Too many requests to EasyWeek; wait and try again. |
| `5xx` | EasyWeek had an internal error; try again later. |
| `502` | EasyWeek is temporarily unreachable; try again later. |
| `503` | EasyWeek is temporarily unavailable; try again later. |
| `504` | EasyWeek did not answer in time; try again later. |

MCP transport errors are returned as JSON-RPC error objects (e.g. `-32600`
Invalid Request, `-32601` Method not found, `-32602` Invalid params); an argument
outside its pattern is a tool error naming the argument and the pattern.
