eTermin MCP by usefulapi

v1.2.1
io.usefulapi/etermin Checked 2 days ago Published 1 day ago

List calendars, slots and appointments; book and delete appointments in eTermin.

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

etermin_list_calendars List calendars

List the calendars (bookable resources or staff) in the eTermin account, or one calendar when calendarid is given. Use the ids in the other tools. GET /api/calendar.

ParameterTypeDescription
calendaridintegerReturn only this calendar.

etermin_list_services List services

List the bookable services, or one service when id is given. Filter by service group with service_group_id. GET /api/service.

ParameterTypeDescription
idintegerReturn only this service.
languageidstringLanguage code for names and descriptions, for example DE or EN.
service_group_idintegerReturn only services in this group.

etermin_list_service_groups List service groups

List service groups, or one group when servicegroupid is given. GET /api/servicegroup.

ParameterTypeDescription
languageidstringLanguage code for names and descriptions, for example DE or EN.
servicegroupidintegerReturn only this service group.

etermin_get_available_slots Get available time slots

Get the free booking slots on a day, for one calendar or several, and for one or more services. Set range_end with range_search to search a span of days. GET /api/timeslots.

ParameterTypeDescription
date *stringDay to check, yyyy-mm-dd.
calendar_idstringCalendar id(s), comma-separated.
capacityintegerCapacity needed, if the account uses capacity.
duration_minutesintegerOverride the slot length in minutes.
range_endstringLast day of the search, yyyy-mm-dd. Needs range_search.
range_searchbooleantrue: search forward from date until slots are found.
service_idsstringService id(s) to book, comma-separated.

etermin_get_working_times Get working times

Get the weekly working times of one calendar (calendar_id) or of all calendars (all = true). GET /api/workingtimes.

ParameterTypeDescription
allbooleantrue: list the working times of all calendars.
calendar_idintegerCalendar whose working times to list.

etermin_list_absences List absences

List the absences (holidays, blocked days) of one calendar. GET /api/calendarsnonworkingtimes.

ParameterTypeDescription
calendar_id *integerCalendar whose absences to list.

etermin_list_appointments List appointments

List appointments in a date range (start and end, yyyy-mm-dd), or the appointments of one contact (email or cid), or one appointment (appid or id). GET /api/appointment.

ParameterTypeDescription
appidintegereTermin appointment id.
calendar_idstringCalendar id(s), comma-separated.
contact_idintegerContact id (cid); lists this contact's appointments.
emailstringContact email; lists this contact's appointments.
endstringLast day of the range, yyyy-mm-dd.
external_idstringYour own appointment id (external id).
limitedbooleantrue: shorter records, useful for long lists.
startstringFirst day of the range, yyyy-mm-dd.

etermin_find_contact Find a contact

Find a contact by email, external id or contact id (cid). GET /api/contact.

ParameterTypeDescription
contact_idintegereTermin contact id (cid).
emailstringContact email.
external_idstringYour own contact id (external id).

etermin_create_contact Create a contact

Create a contact in the eTermin account. With update_if_exists = true and an email, an existing contact with that email is updated instead. POST /api/contact.

ParameterTypeDescription
lastname *stringLast name.
citystring
companystringCompany name.
countrystring
customer_numberstringYour own customer number.
emailstringEmail address.
firstnamestringFirst name.
newsletterbooleantrue: the contact agrees to newsletters.
phonestringPhone number.
streetstring
update_if_existsbooleantrue: update the contact that has this email.
zipstring

etermin_create_appointment Create an appointment

Book an appointment in a calendar. By default the booking is refused when the slot is taken (check_slot_free = true). Only send_confirmation_email = true sends an email to the customer. POST /api/appointment.

ParameterTypeDescription
calendar_id *integerCalendar to book.
end *stringEnd, yyyy-mm-dd HH:MM.
start *stringStart, yyyy-mm-dd HH:MM.
check_slot_freebooleanDefault true: refuse the booking if the slot is taken.
emailstring
firstnamestring
lastnamestring
locationstring
notesstringNotes for the appointment.
phonestring
send_confirmation_emailbooleanDefault false: true sends a confirmation email to the email address.
service_idstringService id to book.

etermin_delete_appointment Delete an appointment

Delete an appointment by eTermin id (appid) or by your external id. A customer email needs the external id. DELETE /api/appointment.

ParameterTypeDescription
appidintegereTermin appointment id.
external_idstringYour own appointment id (external id).
send_cancellation_emailbooleantrue: email the customer. Needs external_id.