YoPlanning MCP by usefulapi
v1.2.1Read 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/.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
offset | integer | Index of the first result (default 0). |
ordering | string | Field 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/.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
offset | integer | Index 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}/.
| Parameter | Type | Description |
|---|---|---|
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/.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
offset | integer | Index 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}/.
| Parameter | Type | Description |
|---|---|---|
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/.
| Parameter | Type | Description |
|---|---|---|
productId * | string | |
limit | integer | Results per page. |
offset | integer | Index 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}/.
| Parameter | Type | Description |
|---|---|---|
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}/.
| Parameter | Type | Description |
|---|---|---|
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/.
| Parameter | Type | Description |
|---|---|---|
booking_status | string | Default CONFIRMED; all lists every status. |
creation_date | string | |
creation_date__gt | string | |
creation_date__lt | string | |
external_reference | string | Exact match on your own reference. |
limit | integer | Results per page. |
offset | integer | Index of the first result (default 0). |
ordering | string | Field 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}/.
| Parameter | Type | Description |
|---|---|---|
id * | string |
yoplanning_list_order_payments List order payments
List the payments recorded on one order. YoPlanning API: GET /teams/{teamId}/orders/{orderId}/payments/.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | |
limit | integer | Results per page. |
offset | integer | Index 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/.
| Parameter | Type | Description |
|---|---|---|
amount | number | |
amount__gt | number | |
amount__lt | number | |
client__last_name__iexact | string | Client last name, case-insensitive. |
client_id | string | Filter by client id. |
creation_date | string | |
creation_date__gt | string | |
creation_date__lt | string | |
customer_order_id | string | Filter by order id. |
limit | integer | Results per page. |
method__iexact | string | Payment method, case-insensitive. |
offset | integer | Index of the first result (default 0). |
source | string | |
status | string | Filter 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}/.
| Parameter | Type | Description |
|---|---|---|
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/.
| Parameter | Type | Description |
|---|---|---|
birth_date__gt | string | |
birth_date__lt | string | |
city | string | |
country | string | ISO country code. |
email | string | |
first_name | string | |
language | string | |
last_name | string | |
limit | integer | Results per page. |
offset | integer | Index of the first result (default 0). |
ordering | string | Field to order the results by. |
phone_number | string | |
postal_code | string | |
street | string |
yoplanning_get_client Get client
Get one client by id: contact details, language and status. YoPlanning API: GET /teams/{teamId}/clients/{id}/.
| Parameter | Type | Description |
|---|---|---|
id * | string |
yoplanning_list_members List members
List the team members (staff who run sessions). YoPlanning API: GET /teams/{teamId}/members/.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
offset | integer | Index 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/.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
offset | integer | Index of the first result (default 0). |
start_date | string | |
start_date__gt | string | |
start_date__gte | string | |
start_date__lt | string | |
start_date__lte | string | |
teacher_id | string | Filter 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/.
| Parameter | Type | Description |
|---|---|---|
label__contains | string | Label contains this text. |
limit | integer | Results per page. |
name__contains | string | Name contains this text. |
offset | integer | Index of the first result (default 0). |
ordering | string | Field to order the results by. |
price | number | |
price__gt | number | |
price__lt | number |
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/.
| Parameter | Type | Description |
|---|---|---|
end_date | string | |
end_date__gt | string | |
end_date__lt | string | |
limit | integer | Results per page. |
name__contains | string | Name contains this text. |
offset | integer | Index of the first result (default 0). |
start_date | string | |
start_date__gt | string | |
start_date__lt | string |
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/.
| Parameter | Type | Description |
|---|---|---|
birth_date | ||
city | string | null | |
company | string | null | |
country | string | null | ISO country code. |
email | string | null | |
external_reference | Your own reference for this client. | |
extra_data | object | Free-form data stored on the client. |
first_name | string | |
language | string | null | Language code, for example fr or en. |
last_name | string | |
legal_data | object | Legal identifiers of the client. |
note | string | null | |
phone_number | string | null | |
postal_code | string | null | |
sex | string | |
state | string | null | |
status | string | Client status as YoPlanning names it. |
street | string | 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}/.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
birth_date | ||
city | string | null | |
company | string | null | |
country | string | null | ISO country code. |
email | string | null | |
external_reference | Your own reference for this client. | |
extra_data | object | Free-form data stored on the client. |
first_name | string | |
language | string | null | Language code, for example fr or en. |
last_name | string | |
legal_data | object | Legal identifiers of the client. |
note | string | null | |
phone_number | string | null | |
postal_code | string | null | |
sex | string | |
state | string | null | |
status | string | Client status as YoPlanning names it. |
street | string | null |
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/.
| Parameter | Type | Description |
|---|---|---|
id * | string |