Progenda MCP by usefulapi

v1.9.1
io.usefulapi/progenda Checked 2 days ago Published 1 day ago

Read patients, calendars, appointments and open slots; book and move appointments in Progenda.

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

progenda_list_centers

List the centers (practices) your Progenda user can access. Start here: the center id is needed by the patient tools. Progenda API: GET /api/v2/centers.

progenda_list_calendars

List the calendars (one agenda per practitioner) your Progenda user can access. The calendar id is needed by the appointment and service tools. Progenda API: GET /api/v2/calendars.

progenda_list_patients

List the patients of a center, 1000 per page. Contains personal and health-adjacent data: fetch only what the user asks for. Progenda API: GET /api/v2/centers/{center_id}/patients.

ParameterTypeDescription
center_id *integerCenter id (from progenda_list_centers).
pageintegerPage number (1000 patients per page).
sinceintegerUnix timestamp in seconds: return only records updated after this time (use the X-Date of your last sync).

progenda_get_patient

Get one patient by your own remote_id. Progenda API: GET /api/v2/centers/{center_id}/patients/remote_id:{remote_id}.

ParameterTypeDescription
center_id *integerCenter id (from progenda_list_centers).
remote_id *stringYour own identifier for the record (the remote_id you set when you created it).

progenda_list_appointments

List the appointments of one calendar, optionally between two Unix times (start, stop) or updated since a time. Progenda API: GET /api/v2/calendars/{calendar_id}/appointments.

ParameterTypeDescription
calendar_id *integerCalendar id (from progenda_list_calendars).
sinceintegerUnix timestamp in seconds: return only records updated after this time (use the X-Date of your last sync).
startintegerOnly appointments from this Unix time.
stopintegerOnly appointments until this Unix time.

progenda_get_appointment

Get one appointment by your own remote_id. Progenda API: GET /api/v2/calendars/{calendar_id}/appointments/remote_id:{remote_id}.

ParameterTypeDescription
calendar_id *integerCalendar id (from progenda_list_calendars).
remote_id *stringYour own identifier for the record (the remote_id you set when you created it).

progenda_list_services

List the services (appointment types) of one calendar. The service remote_id is used when you create an appointment. Progenda API: GET /api/v2/calendars/{calendar_id}/services.

ParameterTypeDescription
calendar_id *integerCalendar id (from progenda_list_calendars).

progenda_get_suggestions

Compute suggested free slots in one calendar for one service. Live route: GET /api/v2/calendars/{calendar_id}/suggestions?service_id= (the route named in the docs answers 404).

ParameterTypeDescription
calendar_id *integerCalendar id (from progenda_list_calendars).
service_id *integerService id (the Progenda id of the service).

progenda_create_patient

Create a patient in a center under your own remote_id. Creates a new record each time it runs with a new remote_id; use progenda_update_patient to change an existing one. Progenda API: POST /api/v2/centers/{center_id}/patients.

ParameterTypeDescription
center_id *integerCenter id (from progenda_list_centers).
email *stringPatient's e-mail address (may be blank).
first_name *stringPatient's first name (may be blank).
last_name *stringPatient's last name (may be blank).
phone_number *stringPatient's phone number, preferably mobile (text reminders are sent to it; may be blank).
remote_id *stringYour own identifier for the record (the remote_id you set when you created it).
addressstringPostal address.
birthdatestringBirthdate, yyyy-mm-dd.
language_codestringPatient language code, e.g. en, fr, nl, es.
notesstringPersonal notes about the patient.

progenda_update_patient

Update a patient found by your own remote_id. The four contact fields are required by the API: send the current values for the ones you do not change. Progenda API: PUT /api/v2/centers/{center_id}/patients/remote_id:{remote_id}.

ParameterTypeDescription
center_id *integerCenter id (from progenda_list_centers).
email *stringPatient's e-mail address (may be blank).
first_name *stringPatient's first name (may be blank).
last_name *stringPatient's last name (may be blank).
phone_number *stringPatient's phone number, preferably mobile (text reminders are sent to it; may be blank).
remote_id *stringYour own identifier for the record (the remote_id you set when you created it).
addressstringPostal address.
birthdatestringBirthdate, yyyy-mm-dd.
language_codestringPatient language code, e.g. en, fr, nl, es.
notesstringPersonal notes about the patient.

progenda_create_appointment

Create an appointment in a calendar under your own remote_id, for a patient remote_id and a service remote_id. Each run creates a new appointment. Progenda API: POST /api/v2/calendars/{calendar_id}/appointments.

ParameterTypeDescription
calendar_id *integerCalendar id (from progenda_list_calendars).
remote_id *stringYour own identifier for the record (the remote_id you set when you created it).
start *integerStart time, Unix seconds (UTC).
stop *integerEnd time, Unix seconds (UTC).
colorstringColour on the Progenda calendar, as #rrggbb.
noshowbooleanTrue if the patient missed the appointment.
notesstringNotes about the appointment.
patient_arrived_atUnix time the patient arrived, or null.
patient_remote_idstringYour identifier of the patient (must exist in Progenda).
service_remote_idstringYour identifier of the service (appointment type).
statusstringAppointment status. A cancelled appointment cannot become booked again.
titlestringTitle, e.g. Meeting or Lunch.

progenda_update_appointment

Change an appointment found by your remote_id: time, status (booked, cancelled, noshow), arrival or no-show. Send only the fields to change. Progenda API: PUT /api/v2/calendars/{calendar_id}/appointments/remote_id:{remote_id}.

ParameterTypeDescription
calendar_id *integerCalendar id (from progenda_list_calendars).
remote_id *stringYour own identifier for the record (the remote_id you set when you created it).
colorstringColour on the Progenda calendar, as #rrggbb.
noshowboolean
notesstring
patient_arrived_at
patient_remote_idstring
service_remote_idstring
startintegerNew start time, Unix seconds.
statusstringAppointment status. A cancelled appointment cannot become booked again.
stopintegerNew end time, Unix seconds.
titlestring