Zenamu MCP by usefulapi

v1.8.1
io.usefulapi/zenamu Checked 2 days ago Published 11 hours ago

List classes, workshops and clients; grant passes or credits to clients in Zenamu.

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

zenamu_list_classes List classes

List the published schedule of the studio for a date range (YYYY-MM-DD, studio time zone, max 366 days). Returns classes and course sessions (read eventType), with times, lecturerIds, locationId, pricing options and seat capacity when requested. Canceled events are included with isCanceled=true. Zenamu API: GET /v1/classes.

ParameterTypeDescription
dateFrom *stringFirst day of the range, inclusive.
dateTo *stringLast day of the range, inclusive.
includeCapacitybooleanAdd live seat counts (more expensive on the API side). Use only when showing availability.
labelIdsstringComma-separated label (tag) IDs. Matches any listed label.
lecturerIdsstringComma-separated lecturer IDs, as the docs describe them. The IDs in class results are opaque strings: pass them as returned.
limitintegerMaximum records to return. Unset returns every match in the range.
offsetintegerRecords to skip, for paging.
placeIdsstringComma-separated place IDs. Use -1 for online classes.

zenamu_list_workshops List workshops

List the studio's public workshops (standalone events such as retreats and intensives) for a date range (YYYY-MM-DD, max 366 days). Each workshop has its own address and pricing. Canceled workshops are excluded. Zenamu API: GET /v1/workshops.

ParameterTypeDescription
dateFrom *stringFirst day of the range, inclusive.
dateTo *stringLast day of the range, inclusive.
includeCapacitybooleanAdd live seat counts (more expensive on the API side). Use only when showing availability.
labelIdsstringComma-separated label (tag) IDs.
lecturerIdsstringComma-separated lecturer IDs, as the docs describe them. The IDs in class results are opaque strings: pass them as returned.
limitintegerMaximum records to return. Unset returns every match in the range.
offsetintegerRecords to skip, for paging.

zenamu_list_lecturers List lecturers

List the studio's lecturers with name, photo and bio. Use it to turn the lecturerIds from classes and workshops into names. Contact details are never returned. Zenamu API: GET /v1/lecturers.

ParameterTypeDescription
includeInactivebooleanAlso return lecturers who are no longer active (useful for past events).

zenamu_list_places List places

List the studio's physical locations with name and address. Use it to turn the locationId from classes into an address. Archived places are excluded. Zenamu API: GET /v1/places.

zenamu_list_clients List clients

List every active client of the studio with contact details, credit and entry-pass balances, pass balances per pass group, make-up sessions and booking totals. Returns personal data. Needs the secret key and the Ultimate plan. Archived and blocked clients are excluded. Zenamu API: GET /v1/clients.

zenamu_list_pass_groups List pass groups

List the studio's entry-pass groups (active and archived) with their id, name and state. Use an id as passGroupId when granting passes. Needs the secret key and the Ultimate plan. Zenamu API: GET /v1/pass-groups.

zenamu_grant_credits Grant credits to a client

WRITE: adds credits to one client's account and returns the new balance. Changes what the client owes or holds. Not idempotent: a retry after an unclear failure can grant twice, so check the balance first with zenamu_list_clients. sendEmail=true emails the client. Zenamu API: POST /v1/clients/{clientId}/credits.

ParameterTypeDescription
clientId *integerClient numeric id, from zenamu_list_clients (field `id`, not `_id`).
count *integerNumber of credits or entries to add.
currency *stringISO 4217 currency code, for example CZK or EUR.
price *numberAmount the client paid. Use 0 for a gift or reward.
sendEmail *booleanRequired. true emails the client about the grant; false grants silently.
validityTimeUnit *stringUnit for validityTimeValue.
validityTimeValue *integerHow many validityTimeUnit periods the grant stays valid, from now.

zenamu_grant_passes Grant entry passes to a client

WRITE: adds entry passes to one client's account in a pass group and returns the new balance in that group. Changes what the client holds. Not idempotent: a retry after an unclear failure can grant twice, so check the balance first with zenamu_list_clients. Omit passGroupId for the studio's default group. sendEmail=true emails the client. Zenamu API: POST /v1/clients/{clientId}/passes.

ParameterTypeDescription
clientId *integerClient numeric id, from zenamu_list_clients (field `id`, not `_id`).
count *integerNumber of credits or entries to add.
currency *stringISO 4217 currency code, for example CZK or EUR.
price *numberAmount the client paid. Use 0 for a gift or reward.
sendEmail *booleanRequired. true emails the client about the grant; false grants silently.
validityTimeUnit *stringUnit for validityTimeValue.
validityTimeValue *integerHow many validityTimeUnit periods the grant stays valid, from now.
passGroupIdintegerPass group id from zenamu_list_pass_groups. Omit for the default group.