Semble MCP by usefulapi

v1.17.1
io.usefulapi/semble Checked 2 days ago Published 1 day ago

Read Semble patients, bookings, invoices and products; create patients and tasks, label patients.

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

semble_get_practice Get the practice

The practice the API token belongs to: name, timezone, locations, appointment types and medical specialties. A good first call to check the connection.

semble_list_patients List or search patients

Patients of the practice (personal and health data). `search` matches name, email, phone or date of birth. Returns id, name, date of birth, contact details and status, plus pageInfo.hasMore for the next page.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1).
page_sizeintegerRows per page, 1-100 (default 25).
searchstringFree-text search (name, email, phone, date of birth).

semble_get_patient Get a patient

One patient by id (personal data): demographics, phones, address, numbers, custom attributes, labels, comments and status. Appointments, invoices and tasks have their own tools.

ParameterTypeDescription
id *stringPatient id (from semble_list_patients).

semble_list_patient_bookings List a patient's bookings

The bookings (appointments) of one patient between two dates, with doctor, location, appointment type and status. Both dates are required (YYYY-MM-DD).

ParameterTypeDescription
end *stringLast day, YYYY-MM-DD (until 23:59 UTC, inclusive).
patient_id *stringPatient id.
start *stringFirst day, YYYY-MM-DD (from 00:00 UTC).
include_deletedbooleanAlso return cancelled (deleted) bookings next to the active ones (default false).
only_cancelledbooleanReturn ONLY cancelled (deleted) bookings. Takes precedence over include_deleted.
pageintegerPage number, from 1 (default 1).
page_sizeintegerRows per page, 1-100 (default 25).

semble_list_bookings List bookings

Bookings (appointments) of the whole practice. With a date range, a booking is included if it starts or ends inside it. Returns patient, doctor, location, appointment type, status and journey (arrived, consultation, departed, dna).

ParameterTypeDescription
endstringLast day, YYYY-MM-DD (until 23:59 UTC, inclusive).
include_deletedbooleanAlso return deleted bookings (default false).
pageintegerPage number, from 1 (default 1).
page_sizeintegerRows per page, 1-100 (default 25).
startstringFirst day, YYYY-MM-DD (from 00:00 UTC).

semble_get_booking Get a booking

One booking by id, with patient, doctor, location, appointment type, status and journey.

ParameterTypeDescription
id *stringBooking id.

semble_list_users List users (staff)

Staff users of the practice (clinicians and admin): name, email, role, qualifications and specialties. Use the ids for bookings and tasks.

ParameterTypeDescription
clinicians_onlybooleanOnly clinicians.
include_deletedbooleanAlso return deleted users (default false).
pageintegerPage number, from 1 (default 1).
page_sizeintegerRows per page, 1-100 (default 25).
searchstringFree-text search.

semble_get_user Get a user (staff)

One staff user by id.

ParameterTypeDescription
id *stringUser id.

semble_list_products List products and services

The practice's price list: appointment types, services and stock items, with price, cost, duration and stock level. `search` matches the item code or name.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1).
page_sizeintegerRows per page, 1-100 (default 25).
searchstringItem code or name.

semble_get_product Get a product or service

One product, service or appointment type by id.

ParameterTypeDescription
id *stringProduct id.

semble_list_invoices List invoices

Invoices whose invoice date is inside a date range, with patient, totals and what is outstanding. Filter by status (active or cancelled) and paid_or_outstanding. Monetary amounts are in the practice currency.

ParameterTypeDescription
endstringLast invoice date, YYYY-MM-DD.
pageintegerPage number, from 1 (default 1).
page_sizeintegerRows per page, 1-100 (default 25).
paid_or_outstandingstringFilter by payment state.
startstringFirst invoice date, YYYY-MM-DD.
statusstringInvoice status.

semble_get_invoice Get an invoice

One invoice by id, with its line items, totals and what is outstanding.

ParameterTypeDescription
id *stringInvoice id.

semble_list_contacts List contacts

Contacts of the practice (referring doctors, insurers and other payors). `search` matches name, email, phone, specialty and numbers.

ParameterTypeDescription
is_doctorbooleanOnly doctors.
is_payorbooleanOnly payors.
pageintegerPage number, from 1 (default 1).
page_sizeintegerRows per page, 1-100 (default 25).
searchstringFree-text search.

semble_list_tasks List tasks

Practice tasks, filtered by patient, status, priority, type or assignee. Returns subject, due date, priority, assignee and patient.

ParameterTypeDescription
assigned_tostringOnly tasks assigned to this user id.
pageintegerPage number, from 1 (default 1).
page_sizeintegerRows per page, 1-100 (default 25).
patient_idstringOnly tasks about this patient id.
prioritystringTask priority.
statusstringTask status.
task_typestringTask type.

semble_list_labels List patient labels

The labels that can be put on patients (id, title, colour). Use the id with semble_add_patient_label.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1).
page_sizeintegerRows per page, 1-100 (default 25).
searchstringLabel title.

semble_create_task Create a task (WRITE)

Creates a task in Semble assigned to a staff user (get ids from semble_list_users), optionally about a patient, with a due date, priority and type. Creates a new record each time it is called.

ParameterTypeDescription
assigned_to *stringUser id the task is assigned to.
subject *stringThe task text.
commentsstringExtra notes.
due_datestringDue date, YYYY-MM-DD.
patient_idstringPatient the task is about.
prioritystringPriority.
task_typestringTask type.

semble_update_task Update a task (WRITE)

Changes a task: close or reopen it (status), reassign it, move the due date, or edit subject, priority and notes. Only the fields you pass are changed.

ParameterTypeDescription
id *stringTask id (from semble_list_tasks).
assigned_tostringNew assignee user id.
commentsstringNew notes (replace the old).
due_datestringNew due date, YYYY-MM-DD.
prioritystringNew priority.
statusstringNew status.
subjectstringNew subject.

semble_add_patient_label Add a label to a patient (WRITE)

Puts an existing label on a patient (label ids from semble_list_labels). Adds only; nothing is removed.

ParameterTypeDescription
label_id *stringLabel id (from semble_list_labels).
patient_id *stringPatient id.

semble_create_patient Create a patient (WRITE)

Creates a new patient record (personal data) from the details you give. It does not check for an existing patient: search with semble_list_patients first to avoid a duplicate.

ParameterTypeDescription
first_name *stringFirst name.
last_name *stringLast name.
addressstringStreet address.
citystringCity.
commentsstringNotes.
countrystringCountry.
dobstringDate of birth, YYYY-MM-DD.
emailstringEmail address.
phone_numberstringPhone number.
phone_typestringPhone type, for example Mobile.
postcodestringPostcode.
sexstringSex as the practice records it.