YoPlanning MCP by usefulapi

v1.2.1
io.usefulapi/yoplanning Checked 3 days ago Published 1 day ago

Read orders, payments, clients and sessions; add clients and block staff time in YoPlanning.

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

yoplanning_list_teams List teams

List the teams this API token can see, with id, name and country. Use it to find the team id. YoPlanning API: GET /teams/.

ParameterTypeDescription
limitintegerResults per page.
offsetintegerIndex of the first result (default 0).
orderingstringField to order the results by.

yoplanning_get_team Get team

Get the connected team: name, address, currency, country, language and tax settings. YoPlanning API: GET /teams/{teamId}/.

yoplanning_list_products List products

List the team's products (the activity or service templates behind sessions). YoPlanning API: GET /teams/{teamId}/products/.

ParameterTypeDescription
limitintegerResults per page.
offsetintegerIndex of the first result (default 0).

yoplanning_get_product Get product

Get one product by id, with its duration, capacity and price settings. YoPlanning API: GET /teams/{teamId}/products/{id}/.

ParameterTypeDescription
id *string

yoplanning_list_online_products List online products

List the products sold on the online booking engine, with prices and sale settings. YoPlanning API: GET /teams/{teamId}/online-products/.

ParameterTypeDescription
limitintegerResults per page.
offsetintegerIndex of the first result (default 0).

yoplanning_get_online_product Get online product

Get one online product by id. YoPlanning API: GET /teams/{teamId}/online-products/{id}/.

ParameterTypeDescription
id *string

yoplanning_list_availabilities List availabilities

List the bookable time slots of one online product, with remaining places. YoPlanning API: GET /teams/{teamId}/online-products/{productId}/availabilities/.

ParameterTypeDescription
productId *string
limitintegerResults per page.
offsetintegerIndex of the first result (default 0).

yoplanning_get_session Get session

Get one scheduled session by id: start and end, staff, clients and product. YoPlanning API: GET /teams/{teamId}/sessions/{id}/.

ParameterTypeDescription
id *string

yoplanning_get_session_group Get session group

Get one session group (a multi-day or recurring booking made of sessions) by id. YoPlanning API: GET /teams/{teamId}/session-groups/{id}/.

ParameterTypeDescription
id *string

yoplanning_list_orders List orders

List orders. Lists only confirmed orders unless booking_status is set (use all for every status). YoPlanning API: GET /teams/{teamId}/orders/.

ParameterTypeDescription
booking_statusstringDefault CONFIRMED; all lists every status.
creation_datestring
creation_date__gtstring
creation_date__ltstring
external_referencestringExact match on your own reference.
limitintegerResults per page.
offsetintegerIndex of the first result (default 0).
orderingstringField to order the results by.

yoplanning_get_order Get order

Get one order by id, with its items and payments. YoPlanning API: GET /teams/{teamId}/orders/{id}/.

ParameterTypeDescription
id *string

yoplanning_list_order_payments List order payments

List the payments recorded on one order. YoPlanning API: GET /teams/{teamId}/orders/{orderId}/payments/.

ParameterTypeDescription
orderId *string
limitintegerResults per page.
offsetintegerIndex of the first result (default 0).

yoplanning_list_payments List payments

List payments across the team, with filters by client, order, status and creation date. YoPlanning API: GET /teams/{teamId}/payments/.

ParameterTypeDescription
amountnumber
amount__gtnumber
amount__ltnumber
client__last_name__iexactstringClient last name, case-insensitive.
client_idstringFilter by client id.
creation_datestring
creation_date__gtstring
creation_date__ltstring
customer_order_idstringFilter by order id.
limitintegerResults per page.
method__iexactstringPayment method, case-insensitive.
offsetintegerIndex of the first result (default 0).
sourcestring
statusstringFilter by payment status.

yoplanning_get_payment Get payment

Get one payment by id: amount, method, status and fees. YoPlanning API: GET /teams/{teamId}/payments/{id}/.

ParameterTypeDescription
id *string

yoplanning_list_clients List clients

Search the team's clients by name, email, phone, city or country. YoPlanning API: GET /teams/{teamId}/clients/.

ParameterTypeDescription
birth_date__gtstring
birth_date__ltstring
citystring
countrystringISO country code.
emailstring
first_namestring
languagestring
last_namestring
limitintegerResults per page.
offsetintegerIndex of the first result (default 0).
orderingstringField to order the results by.
phone_numberstring
postal_codestring
streetstring

yoplanning_get_client Get client

Get one client by id: contact details, language and status. YoPlanning API: GET /teams/{teamId}/clients/{id}/.

ParameterTypeDescription
id *string

yoplanning_list_members List members

List the team members (staff who run sessions). YoPlanning API: GET /teams/{teamId}/members/.

ParameterTypeDescription
limitintegerResults per page.
offsetintegerIndex of the first result (default 0).

yoplanning_list_attendances List attendances

List staff attendances (time worked), filtered by teacher and start date. YoPlanning API: GET /teams/{teamId}/attendances/.

ParameterTypeDescription
limitintegerResults per page.
offsetintegerIndex of the first result (default 0).
start_datestring
start_date__gtstring
start_date__gtestring
start_date__ltstring
start_date__ltestring
teacher_idstringFilter by staff member id.

yoplanning_list_resources List resources

List bookable resources (rooms, equipment, vouchers and similar), with names and prices. YoPlanning API: GET /teams/{teamId}/resources/.

ParameterTypeDescription
label__containsstringLabel contains this text.
limitintegerResults per page.
name__containsstringName contains this text.
offsetintegerIndex of the first result (default 0).
orderingstringField to order the results by.
pricenumber
price__gtnumber
price__ltnumber

yoplanning_list_unavailabilities List unavailabilities

List blocked periods for staff (leave, closures), filtered by date and staff member. YoPlanning API: GET /teams/{teamId}/unavailabilities/.

ParameterTypeDescription
end_datestring
end_date__gtstring
end_date__ltstring
limitintegerResults per page.
offsetintegerIndex of the first result (default 0).
staffstringFilter by staff member id.
start_datestring
start_date__gtstring
start_date__ltstring

yoplanning_list_cart_rules List cart rules

List discount rules applied to online carts, with their validity dates. YoPlanning API: GET /teams/{teamId}/cart-rules/.

ParameterTypeDescription
end_datestring
end_date__gtstring
end_date__ltstring
limitintegerResults per page.
name__containsstringName contains this text.
offsetintegerIndex of the first result (default 0).
start_datestring
start_date__gtstring
start_date__ltstring

yoplanning_create_client Create client

WRITE: create a client in the team. Sends the fields you give; the id is generated here. YoPlanning API: POST /teams/{teamId}/clients/.

ParameterTypeDescription
birth_date
citystring | null
companystring | null
countrystring | nullISO country code.
emailstring | null
external_referenceYour own reference for this client.
extra_dataobjectFree-form data stored on the client.
first_namestring
languagestring | nullLanguage code, for example fr or en.
last_namestring
legal_dataobjectLegal identifiers of the client.
notestring | null
phone_numberstring | null
postal_codestring | null
sexstring
statestring | null
statusstringClient status as YoPlanning names it.
streetstring | null

yoplanning_update_client Update client

WRITE: change the fields you give on one client. Reads the client first and sends it back with your changes. It is not conditional: a change made by someone else between the read and the write can be overwritten. YoPlanning API: GET then PUT /teams/{teamId}/clients/{id}/.

ParameterTypeDescription
id *string
birth_date
citystring | null
companystring | null
countrystring | nullISO country code.
emailstring | null
external_referenceYour own reference for this client.
extra_dataobjectFree-form data stored on the client.
first_namestring
languagestring | nullLanguage code, for example fr or en.
last_namestring
legal_dataobjectLegal identifiers of the client.
notestring | null
phone_numberstring | null
postal_codestring | null
sexstring
statestring | null
statusstringClient status as YoPlanning names it.
streetstring | null

yoplanning_create_unavailability Create unavailability

WRITE: block a staff member for a period (leave, closure). Dates use the team's local time. YoPlanning API: POST /teams/{teamId}/unavailabilities/.

ParameterTypeDescription
end_date *string
start_date *string
teacher_id *stringStaff member id (UUID).
external_referencestring
partialbooleanPassed through as YoPlanning defines it; the public spec gives it no description.
reason

yoplanning_cancel_order Cancel order

WRITE, DESTRUCTIVE: cancel an order. An on-hold order is deleted and its places are released. A confirmed order becomes CANCELLED; its payments are kept and nothing is refunded. YoPlanning API: POST /teams/{teamId}/orders/{id}/cancel/.

ParameterTypeDescription
id *string