Semble MCP by usefulapi
v1.17.1Read 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). |
page_size | integer | Rows per page, 1-100 (default 25). |
search | string | Free-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.
| Parameter | Type | Description |
|---|---|---|
id * | string | Patient 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).
| Parameter | Type | Description |
|---|---|---|
end * | string | Last day, YYYY-MM-DD (until 23:59 UTC, inclusive). |
patient_id * | string | Patient id. |
start * | string | First day, YYYY-MM-DD (from 00:00 UTC). |
include_deleted | boolean | Also return cancelled (deleted) bookings next to the active ones (default false). |
only_cancelled | boolean | Return ONLY cancelled (deleted) bookings. Takes precedence over include_deleted. |
page | integer | Page number, from 1 (default 1). |
page_size | integer | Rows 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).
| Parameter | Type | Description |
|---|---|---|
end | string | Last day, YYYY-MM-DD (until 23:59 UTC, inclusive). |
include_deleted | boolean | Also return deleted bookings (default false). |
page | integer | Page number, from 1 (default 1). |
page_size | integer | Rows per page, 1-100 (default 25). |
start | string | First 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | Booking 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.
| Parameter | Type | Description |
|---|---|---|
clinicians_only | boolean | Only clinicians. |
include_deleted | boolean | Also return deleted users (default false). |
page | integer | Page number, from 1 (default 1). |
page_size | integer | Rows per page, 1-100 (default 25). |
search | string | Free-text search. |
semble_get_user Get a user (staff)
One staff user by id.
| Parameter | Type | Description |
|---|---|---|
id * | string | User 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). |
page_size | integer | Rows per page, 1-100 (default 25). |
search | string | Item code or name. |
semble_get_product Get a product or service
One product, service or appointment type by id.
| Parameter | Type | Description |
|---|---|---|
id * | string | Product 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.
| Parameter | Type | Description |
|---|---|---|
end | string | Last invoice date, YYYY-MM-DD. |
page | integer | Page number, from 1 (default 1). |
page_size | integer | Rows per page, 1-100 (default 25). |
paid_or_outstanding | string | Filter by payment state. |
start | string | First invoice date, YYYY-MM-DD. |
status | string | Invoice status. |
semble_get_invoice Get an invoice
One invoice by id, with its line items, totals and what is outstanding.
| Parameter | Type | Description |
|---|---|---|
id * | string | Invoice id. |
semble_list_contacts List contacts
Contacts of the practice (referring doctors, insurers and other payors). `search` matches name, email, phone, specialty and numbers.
| Parameter | Type | Description |
|---|---|---|
is_doctor | boolean | Only doctors. |
is_payor | boolean | Only payors. |
page | integer | Page number, from 1 (default 1). |
page_size | integer | Rows per page, 1-100 (default 25). |
search | string | Free-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.
| Parameter | Type | Description |
|---|---|---|
assigned_to | string | Only tasks assigned to this user id. |
page | integer | Page number, from 1 (default 1). |
page_size | integer | Rows per page, 1-100 (default 25). |
patient_id | string | Only tasks about this patient id. |
priority | string | Task priority. |
status | string | Task status. |
task_type | string | Task 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.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). |
page_size | integer | Rows per page, 1-100 (default 25). |
search | string | Label 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.
| Parameter | Type | Description |
|---|---|---|
assigned_to * | string | User id the task is assigned to. |
subject * | string | The task text. |
comments | string | Extra notes. |
due_date | string | Due date, YYYY-MM-DD. |
patient_id | string | Patient the task is about. |
priority | string | Priority. |
task_type | string | Task 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | Task id (from semble_list_tasks). |
assigned_to | string | New assignee user id. |
comments | string | New notes (replace the old). |
due_date | string | New due date, YYYY-MM-DD. |
priority | string | New priority. |
status | string | New status. |
subject | string | New 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.
| Parameter | Type | Description |
|---|---|---|
label_id * | string | Label id (from semble_list_labels). |
patient_id * | string | Patient 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.
| Parameter | Type | Description |
|---|---|---|
first_name * | string | First name. |
last_name * | string | Last name. |
address | string | Street address. |
city | string | City. |
comments | string | Notes. |
country | string | Country. |
dob | string | Date of birth, YYYY-MM-DD. |
email | string | Email address. |
phone_number | string | Phone number. |
phone_type | string | Phone type, for example Mobile. |
postcode | string | Postcode. |
sex | string | Sex as the practice records it. |