AgendaPro MCP by usefulapi

v1.22.1
io.usefulapi/agendapro Checked 1 day ago Published 6 hours ago

Read AgendaPro bookings, slots, clients, services and sales; create, update and cancel bookings.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

agendapro_list_locations List locations

List the business's locations (sucursales / locales): id, name, address, phone, email, timezone, opening hours and country. Location ids are needed for bookings, slots and sales filters. GET /v3/locations.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) locations.
pageintegerPage number, from 1 (default 1). Pass pagination.next_page from the previous reply.
per_pageintegerResults per page, 1-100 (default 30).

agendapro_get_location Get location

One location by id, with address, coordinates, timezone and weekly opening hours. GET /v3/locations/{id}.

ParameterTypeDescription
location_id *integerAgendaPro location id.

agendapro_list_services List services

List the services (treatments, classes, sessions) the business offers: id, name, price, duration, type, category, whether online booking/payment is on, and the location. Service ids are needed to book. GET /v3/services.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass pagination.next_page from the previous reply.
per_pageintegerResults per page, 1-100 (default 30).
provider_idintegerOnly services this provider performs.

agendapro_get_service Get service

One service by id, including its category, images and the providers who perform it. GET /v3/services/{id}.

ParameterTypeDescription
service_id *integerAgendaPro service id.

agendapro_list_service_categories List service categories

List service categories, ordered as the business arranges them. GET /v3/categories.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass pagination.next_page from the previous reply.
per_pageintegerResults per page, 1-100 (default 30).

agendapro_list_providers List providers

List service providers (the staff who take bookings): id, public name, location, active flag, online-booking flag and working hours. Provider ids are needed to book. GET /v3/providers.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) providers.
location_idsarrayOnly providers at these locations.
order_bystringSort direction.
pageintegerPage number, from 1 (default 1). Pass pagination.next_page from the previous reply.
per_pageintegerResults per page, 1-100 (default 30).
public_namestringPartial match on the provider's public name.
service_idsarrayOnly providers who perform these services.
sort_bystringField to sort by, e.g. public_name.

agendapro_get_provider Get provider

One service provider by id, with biography, images and working hours including breaks. GET /v3/providers/{id}.

ParameterTypeDescription
provider_id *integerAgendaPro provider id.

agendapro_list_bookings List bookings

List bookings (reservas / appointments) with time, status, service, provider, client id, location, price and the linked sale. AgendaPro requires at least ONE of client_id, location_id, service_id or service_provider_id; dates only narrow the result. A sale may be a membership covering several bookings, so do not total amounts by sale id. GET /v3/bookings.

ParameterTypeDescription
client_idintegerBookings of this client.
end_datestringBookings until this date, yyyy-mm-dd.
location_idintegerBookings at this location.
pageintegerPage number, from 1 (default 1). Pass pagination.next_page from the previous reply.
per_pageintegerResults per page, 1-100 (default 30).
scheduledbooleanFilter by the scheduled flag.
service_idintegerBookings of this service.
service_provider_idintegerBookings of this provider.
start_datestringBookings from this date, yyyy-mm-dd.
status_idintegerFilter by booking status id (see the status object on a booking).

agendapro_get_booking Get booking

One booking by id with status, service, provider, client id, location, prices, notes and the linked sale. GET /v3/bookings/{id}.

ParameterTypeDescription
booking_id *integerAgendaPro booking id.

agendapro_list_available_slots List available slots

Free booking time windows at a location on one date (optionally for one service and/or provider): start/end time, provider, plus a metadata summary (service duration, slot count). Use before creating a booking. GET /v3/available_slots.

ParameterTypeDescription
location_id *integerLocation to check.
start_date *stringThe date to check, yyyy-mm-dd.
provider_idintegerOnly slots of this provider.
service_idintegerOnly slots for this service.

agendapro_create_booking Create booking

WRITE: create a booking for an existing client, service, provider and location. Check agendapro_list_available_slots first. status_id must be a non-cancelled status: copy the status.id of an existing booking (agendapro_list_bookings). AgendaPro does NOT send email/SMS/WhatsApp notifications for bookings created through the API. Not idempotent: calling twice books twice. POST /v3/bookings.

ParameterTypeDescription
client_id *integerClient id (agendapro_search_clients / agendapro_create_client).
location_id *integerLocation id.
provider_id *integerService provider id.
service_id *integerService id.
start_time *stringStart, ISO 8601 with a timezone offset, e.g. 2026-03-10T10:00:00-03:00 (use the location's timezone).
status_id *integerA non-cancelled booking status id.
end_timestringEnd; defaults to start + the service duration.
notesBooking notes.
pricestringPrice as a decimal string; defaults to the service price.
time_resource_idTime resource id; required when the service needs one.

agendapro_update_booking Update booking

WRITE: change an existing booking (partial update: only the fields you pass change): move it, switch service/provider/location, change status, price or notes. The merchant's customer policy applies: a change too close to the start time, or past the maximum number of changes, is refused with HTTP 422 and must not be retried. PATCH /v3/bookings/{id}.

ParameterTypeDescription
booking_id *integerAgendaPro booking id.
client_idinteger
end_timestringNew end, ISO 8601 with a timezone offset.
location_idinteger
notesNew notes; null clears them.
pricestring
provider_idinteger
service_idinteger
start_timestringNew start, ISO 8601 with a timezone offset.
status_idintegerNew booking status id (copy from another booking's status.id).
time_resource_idNew time resource id; null removes the assigned resource.

agendapro_cancel_booking Cancel booking

WRITE: cancel a booking. This cannot be undone through the API. The merchant's customer policy applies: a cancellation that is disabled, too close to the start time or past the maximum number of changes is refused with HTTP 422 (tell the user the merchant does not allow it; do not retry). Confirm with the user before calling. PATCH /v3/bookings/{id}/cancel.

ParameterTypeDescription
booking_id *integerAgendaPro booking id to cancel.

agendapro_list_clients List clients

List the business's clients (customers) page by page: name, email, phone, identification number, address, birth date, record number, active flag. Personal data: only use it for the task at hand. To find one person use agendapro_search_clients. GET /v3/clients.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass pagination.next_page from the previous reply.
per_pageintegerResults per page, 1-100 (default 30).

agendapro_search_clients Search clients

Find clients by free text (name, email, phone, identification number or record number): a short ranked list with id, full name, email, phone. The fastest way to get a client_id. GET /v3/clients/quick-search.

ParameterTypeDescription
q *stringSearch text, max 50 characters.
limitintegerMax results, 1-25 (default 10).

agendapro_get_client Get client

One client by id with contact details, address, birth date, record number and active flag. GET /v3/clients/{id}.

ParameterTypeDescription
client_id *integerAgendaPro client id.

agendapro_list_client_custom_attributes List a client's custom attributes

The custom attribute values stored for one client (id, name, datatype, value). GET /v3/clients/{id}/custom_attributes.

ParameterTypeDescription
client_id *integerAgendaPro client id.

agendapro_list_custom_attributes List custom attribute templates

The custom client fields the business defined (id, name, datatype, mandatory, group, choices). Use the template ids when setting custom_attributes on a client. GET /v3/custom_attributes.

agendapro_create_client Create client

WRITE: create a new client. first_name is required and at least one of last_name, email or phone must also be given (AgendaPro's rule). Search first (agendapro_search_clients) to avoid duplicates; not idempotent. No message is sent to the client. POST /v3/clients.

ParameterTypeDescription
first_name *stringFirst name.
addressstringStreet address. On update, an empty string clears the stored value.
ageintegerAge in years.
birth_dayintegerDay of birth, 1-31.
birth_monthintegerMonth of birth, 1-12.
birth_yearintegerYear of birth.
citystringCity. On update, an empty string clears the stored value.
custom_attributesarrayCustom attribute values to set.
districtstringDistrict or neighborhood. On update, an empty string clears the stored value.
emailstringEmail (stored lowercase).
gender0 = other, 1 = female, 2 = male.
identification_numberstringNational identification number (RUT, DNI, CURP...). On update, an empty string clears the stored value.
last_namestringLast name. On update, an empty string clears the stored value.
phonestringPhone in E.164 format, e.g. +56912345678.
regionstringRegion or state. On update, an empty string clears the stored value.

agendapro_update_client Update client

WRITE: change an existing client (partial update: only the fields you pass change; it overwrites the stored value). PATCH /v3/clients/{id}.

ParameterTypeDescription
client_id *integerAgendaPro client id.
addressstringStreet address. On update, an empty string clears the stored value.
ageintegerAge in years.
birth_dayintegerDay of birth, 1-31.
birth_monthintegerMonth of birth, 1-12.
birth_yearintegerYear of birth.
citystringCity. On update, an empty string clears the stored value.
custom_attributesarrayCustom attribute values to set.
districtstringDistrict or neighborhood. On update, an empty string clears the stored value.
emailstringEmail (stored lowercase).
first_namestringFirst name.
gender0 = other, 1 = female, 2 = male.
identification_numberstringNational identification number (RUT, DNI, CURP...). On update, an empty string clears the stored value.
last_namestringLast name. On update, an empty string clears the stored value.
phonestringPhone in E.164 format, e.g. +56912345678.
regionstringRegion or state. On update, an empty string clears the stored value.

agendapro_list_sales List sales

List sales (ventas): status (partially_paid, paid, canceled, refunded), paid and pending amounts, paid-at time, location, client id and the payment transactions. Filter by paid date range, location or client. GET /v3/sales.

ParameterTypeDescription
client_idintegerSales to this client.
location_idintegerSales at this location.
pageintegerPage number, from 1 (default 1). Pass pagination.next_page from the previous reply.
paid_at_endstringSales paid until this date (inclusive), yyyy-mm-dd.
paid_at_startstringSales paid from this date (inclusive), yyyy-mm-dd.
per_pageintegerResults per page, 1-100 (default 30).

agendapro_get_sale Get sale

One sale by id with amounts, status, location and its payment transactions (amount, paid-at, payment method). GET /v3/sales/{id}.

ParameterTypeDescription
sale_id *integerAgendaPro sale id.

agendapro_list_products List products

List retail products in the catalog: name, SKU, price, active flag, category, brand and display. GET /v3/products.

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false) products.
pageintegerPage number, from 1 (default 1). Pass pagination.next_page from the previous reply.
per_pageintegerResults per page, 1-100 (default 30).
product_brand_idstringBrand id, or 'none'.
product_category_idstringCategory id, or 'none' for products without a category.
product_display_idstringDisplay id, or 'none'.
searchstringFree text over product name and SKU.

agendapro_get_product Get product

One catalog product by id with description, SKU, price, category, brand and display. GET /v3/products/{id}.

ParameterTypeDescription
product_id *integerAgendaPro product id.