DoctoFam Medical Clinic is an MCP server published by com.doctofam, hosted at mcp.doctofam.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 19 tools, including list_clinics, get_clinic, get_clinic_schedule_summary, list_procedures, list_rooms.
See your clinic's free slots, doctors, rooms, service prices and how busy each day is.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Use this when someone asks which medical practices or doctor's offices they run in DoctoFam, or a practice's id is needed. Returns each practice's id, name, currency, default language and timezone, 20 per page by default. Not for finding a patient or a visit.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Practices per page, from 1 to 100; defaults to 20 |
| cursor | string | The nextCursor of the previous page of this listing; absent for the first page |
{
"name": "list_clinics",
"title": "List your medical practices",
"description": "Use this when someone asks which medical practices or doctor's offices they run in DoctoFam, or a practice's id is needed. Returns each practice's id, name, currency, default language and timezone, 20 per page by default. Not for finding a patient or a visit.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Practices per page, from 1 to 100; defaults to 20",
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 4096,
"description": "The nextCursor of the previous page of this listing; absent for the first page"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"clinics",
"nextCursor"
],
"properties": {
"clinics": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"currency",
"defaultLocale",
"timezone",
"lastEditTime"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"name": {
"type": "string",
"maxLength": 200
},
"currency": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
{
"type": "null"
}
]
},
"timezone": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
},
"defaultLocale": {
"anyOf": [
{
"type": "string",
"maxLength": 35
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Medical practices in the signed-in organization, administrative metadata only. Patient, appointment and clinical records are never returned."
},
"nextCursor": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "null"
}
],
"description": "Cursor for the next page; null on the last page"
}
},
"additionalProperties": false
},
"annotations": {
"title": "List your medical practices",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks about one medical practice's setup, such as its currency, language or timezone. Returns the practice's name, currency, default language, timezone and last edit time. Not for free consultation times.
| Parameter | Type | Description |
|---|---|---|
| clinicId * | string | Practice id: 24 lowercase hexadecimal characters |
{
"name": "get_clinic",
"title": "Get medical practice details",
"description": "Use this when someone asks about one medical practice's setup, such as its currency, language or timezone. Returns the practice's name, currency, default language, timezone and last edit time. Not for free consultation times.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"clinicId"
],
"properties": {
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Practice id: 24 lowercase hexadecimal characters"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"clinic"
],
"properties": {
"clinic": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"name",
"currency",
"defaultLocale",
"timezone",
"lastEditTime"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"name": {
"type": "string",
"maxLength": 200
},
"currency": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
{
"type": "null"
}
]
},
"timezone": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
},
"defaultLocale": {
"anyOf": [
{
"type": "string",
"maxLength": 35
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Administrative practice metadata only; opening hours, staff, patient and appointment data are not included. Null when not found."
},
"status": {
"enum": [
"found",
"not-found"
],
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Get medical practice details",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks how busy their medical practice is or how many patient visits are booked each day. Returns appointment counts per UTC day for one practice, whatever their status, for the next 7 days by default and at most 31 days; counting stops at 100. Not for counting cancellations or seeing which patients are booked.
| Parameter | Type | Description |
|---|---|---|
| endTime | ref | End of the range as an ISO 8601 date-time, after startTime and at most 31 days later; defaults to 7 days after the start |
| clinicId * | string | Practice id: 24 lowercase hexadecimal characters |
| startTime | string | Start of the range as an ISO 8601 date-time; defaults to now |
{
"name": "get_clinic_schedule_summary",
"title": "Count patient visits per day",
"description": "Use this when someone asks how busy their medical practice is or how many patient visits are booked each day. Returns appointment counts per UTC day for one practice, whatever their status, for the next 7 days by default and at most 31 days; counting stops at 100. Not for counting cancellations or seeing which patients are booked.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"clinicId"
],
"properties": {
"endTime": {
"$ref": "#/properties/startTime",
"description": "End of the range as an ISO 8601 date-time, after startTime and at most 31 days later; defaults to 7 days after the start"
},
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Practice id: 24 lowercase hexadecimal characters"
},
"startTime": {
"type": "string",
"maxLength": 32,
"description": "Start of the range as an ISO 8601 date-time; defaults to now"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"range",
"appointmentCount",
"appointmentCountIsLowerBound",
"days"
],
"properties": {
"days": {
"type": "array",
"items": {
"type": "object",
"required": [
"day",
"appointmentCount"
],
"properties": {
"day": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"appointmentCount": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "One row per UTC day that has appointments, canceled ones included. Aggregate counts only: appointment identifiers and times, patient information, services, diagnoses and notes are never returned."
},
"range": {
"type": "object",
"required": [
"startTime",
"endTime"
],
"properties": {
"endTime": {
"$ref": "#/properties/range/properties/startTime"
},
"startTime": {
"type": "string",
"maxLength": 32
}
},
"additionalProperties": false
},
"appointmentCount": {
"type": "integer",
"maximum": 100,
"minimum": 0
},
"appointmentCountIsLowerBound": {
"type": "boolean",
"description": "True when more than 100 appointments fall in the range"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Count patient visits per day",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks what their medical practice charges for a consultation, check-up, vaccination or other service, or which procedure to book. Returns catalog service ids and names with price and last edit time, alphabetically, 50 per page by default. Not for a patient's medical history or the care they received.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Services per page, from 1 to 100; defaults to 50 |
| cursor | string | The nextCursor of the previous page with the same filters; absent for the first page |
| clinicId | string | Only this practice (24 lowercase hexadecimal characters); every practice when absent |
{
"name": "list_procedures",
"title": "Look up consultation and service prices",
"description": "Use this when someone asks what their medical practice charges for a consultation, check-up, vaccination or other service, or which procedure to book. Returns catalog service ids and names with price and last edit time, alphabetically, 50 per page by default. Not for a patient's medical history or the care they received.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Services per page, from 1 to 100; defaults to 50",
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 4096,
"description": "The nextCursor of the previous page with the same filters; absent for the first page"
},
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Only this practice (24 lowercase hexadecimal characters); every practice when absent"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"procedures",
"nextCursor"
],
"properties": {
"nextCursor": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "null"
}
],
"description": "Cursor for the next page; null on the last page"
},
"procedures": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"price",
"duration",
"lastEditTime"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
{
"type": "null"
}
],
"description": "Id to book with, as book_appointment takes it"
},
"name": {
"type": "string",
"maxLength": 200
},
"price": {
"type": [
"number",
"null"
],
"description": "Price in the practice's currency"
},
"duration": {
"type": [
"number",
"null"
],
"description": "Configured duration, or null when none was recorded"
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Service catalog entries in name order, with the ids a booking takes. Patient-linked treatments, diagnoses and prescriptions are never returned."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Look up consultation and service prices",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks which consultation or exam rooms their medical practice has. Returns room names with last edit time for one practice, alphabetically, 50 per page by default. Not for room schedules or which patient uses a room.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rooms per page, from 1 to 100; defaults to 50 |
| cursor | string | The nextCursor of the previous page with the same filters; absent for the first page |
| clinicId * | string | Practice id: 24 lowercase hexadecimal characters |
{
"name": "list_rooms",
"title": "List consultation rooms",
"description": "Use this when someone asks which consultation or exam rooms their medical practice has. Returns room names with last edit time for one practice, alphabetically, 50 per page by default. Not for room schedules or which patient uses a room.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"clinicId"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rooms per page, from 1 to 100; defaults to 50",
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 4096,
"description": "The nextCursor of the previous page with the same filters; absent for the first page"
},
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Practice id: 24 lowercase hexadecimal characters"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"rooms",
"nextCursor"
],
"properties": {
"rooms": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"lastEditTime"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Rooms in name order. Record identifiers, appointment links, patient information and clinical content are never returned."
},
"nextCursor": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "null"
}
],
"description": "Cursor for the next page; null on the last page"
}
},
"additionalProperties": false
},
"annotations": {
"title": "List consultation rooms",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks when their medical practice is closed, or when a doctor or room is blocked for holidays, sick leave, courses, meetings or maintenance. Returns each block or extra opening with start, end, all-day flag, scope and type (no titles or notes). Not for patient appointments.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Blocks per page, from 1 to 100; defaults to 20 |
| cursor | string | The nextCursor of the previous page with the same filters; absent for the first page |
| endTime | ref | Only blocks ending before this ISO 8601 date-time |
| clinicId | string | Only this practice (24 lowercase hexadecimal characters); every practice when absent |
| startTime | string | Only blocks starting at or after this ISO 8601 date-time |
{
"name": "list_calendar_events",
"title": "List closures, holidays and blocked time",
"description": "Use this when someone asks when their medical practice is closed, or when a doctor or room is blocked for holidays, sick leave, courses, meetings or maintenance. Returns each block or extra opening with start, end, all-day flag, scope and type (no titles or notes). Not for patient appointments.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Blocks per page, from 1 to 100; defaults to 20",
"exclusiveMinimum": 0
},
"cursor": {
"type": "string",
"maxLength": 4096,
"description": "The nextCursor of the previous page with the same filters; absent for the first page"
},
"endTime": {
"$ref": "#/properties/startTime",
"description": "Only blocks ending before this ISO 8601 date-time"
},
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Only this practice (24 lowercase hexadecimal characters); every practice when absent"
},
"startTime": {
"type": "string",
"maxLength": 32,
"description": "Only blocks starting at or after this ISO 8601 date-time"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"calendarEvents",
"nextCursor"
],
"properties": {
"nextCursor": {
"anyOf": [
{
"type": "string",
"maxLength": 4096
},
{
"type": "null"
}
],
"description": "Cursor for the next page; null on the last page"
},
"calendarEvents": {
"type": "array",
"items": {
"type": "object",
"required": [
"startTime",
"endTime",
"allDay",
"scope",
"effect",
"type"
],
"properties": {
"type": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
],
"description": "Label such as COURSE, MEETING, VACATION, SICK, HOLIDAY, MAINTENANCE or OTHER"
},
"scope": {
"anyOf": [
{
"enum": [
"SEAT",
"PROVIDER",
"CLINIC"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "CLINIC: the whole practice; PROVIDER: one or more staff; SEAT: one room"
},
"allDay": {
"type": "boolean"
},
"effect": {
"anyOf": [
{
"enum": [
"BLOCK",
"OPEN"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "BLOCK removes bookable time; OPEN adds hours on a normally closed time"
},
"endTime": {
"anyOf": [
{
"$ref": "#/properties/calendarEvents/items/properties/startTime/anyOf/0"
},
{
"type": "null"
}
]
},
"startTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Non-appointment calendar blocks, earliest first. Event identifiers, staff and room references, titles, notes and patient links are never returned."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List closures, holidays and blocked time",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks which doctors, nurses or assistants patients can book at their practice, or who takes an appointment. Returns up to 100 staff ids and display names for one practice (no contact details or roles). Not for staff holidays or sick days.
| Parameter | Type | Description |
|---|---|---|
| clinicId * | string | Practice id: 24 lowercase hexadecimal characters |
{
"name": "list_providers",
"title": "List doctors and staff who take bookings",
"description": "Use this when someone asks which doctors, nurses or assistants patients can book at their practice, or who takes an appointment. Returns up to 100 staff ids and display names for one practice (no contact details or roles). Not for staff holidays or sick days.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"clinicId"
],
"properties": {
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Practice id: 24 lowercase hexadecimal characters"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"providers"
],
"properties": {
"providers": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"displayName"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Id to book with, as book_appointment takes it"
},
"displayName": {
"type": "string",
"maxLength": 200
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Ids and display names of staff with a doctor, nurse or assistant role, the ones the public booking page offers. Contact details, role records and clinical data are never returned."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List doctors and staff who take bookings",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks when their doctor's practice has free appointment or consultation times. Returns each open online-booking slot's start and end, grouped by day, for the next days with openings: up to 7 days and 100 slots (no patient or doctor details). Not for booking a visit.
| Parameter | Type | Description |
|---|---|---|
| clinicId * | string | Practice id: 24 lowercase hexadecimal characters |
{
"name": "get_clinic_availability",
"title": "Find free consultation times",
"description": "Use this when someone asks when their doctor's practice has free appointment or consultation times. Returns each open online-booking slot's start and end, grouped by day, for the next days with openings: up to 7 days and 100 slots (no patient or doctor details). Not for booking a visit.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"clinicId"
],
"properties": {
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Practice id: 24 lowercase hexadecimal characters"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"days"
],
"properties": {
"days": {
"type": "array",
"items": {
"type": "object",
"required": [
"day",
"slots"
],
"properties": {
"day": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"slots": {
"type": "array",
"items": {
"type": "object",
"required": [
"startTime",
"endTime"
],
"properties": {
"endTime": {
"$ref": "#/properties/days/items/properties/slots/items/properties/startTime"
},
"startTime": {
"type": "string",
"maxLength": 32
}
},
"additionalProperties": false
},
"maxItems": 100
}
},
"additionalProperties": false
},
"maxItems": 7,
"description": "One row per day with open online-booking slots, in date order, holding at most 100 slots in total. Slot times only; patients, doctors, services and clinical data are never included."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Find free consultation times",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks which DoctoFam plan a practice is on, whether it is active, or how many appointments, patients, rooms or users it allows. Returns the plan name, status, billing frequency and plan caps, or the default Free plan when none is active. Not for invoices or amounts billed.
| Parameter | Type | Description |
|---|---|---|
| clinicId * | string | Practice id: 24 lowercase hexadecimal characters |
{
"name": "get_subscription_status",
"title": "Check DoctoFam plan and limits",
"description": "Use this when someone asks which DoctoFam plan a practice is on, whether it is active, or how many appointments, patients, rooms or users it allows. Returns the plan name, status, billing frequency and plan caps, or the default Free plan when none is active. Not for invoices or amounts billed.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"clinicId"
],
"properties": {
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Practice id: 24 lowercase hexadecimal characters"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"subscription"
],
"properties": {
"subscription": {
"type": "object",
"required": [
"status",
"productName",
"billingFrequency",
"maxNumberOfAppointments",
"maxNumberOfPatients",
"maxNumberOfSeats",
"maxNumberOfUsers",
"lastEditTime",
"isDefaultFreePlan"
],
"properties": {
"status": {
"anyOf": [
{
"enum": [
"ACTIVE",
"PAST_DUE",
"CANCELED"
],
"type": "string"
},
{
"type": "null"
}
]
},
"productName": {
"type": "string",
"maxLength": 200
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
},
"billingFrequency": {
"anyOf": [
{
"enum": [
"MONTHLY",
"YEARLY"
],
"type": "string"
},
{
"type": "null"
}
]
},
"maxNumberOfSeats": {
"$ref": "#/properties/subscription/properties/maxNumberOfAppointments"
},
"maxNumberOfUsers": {
"$ref": "#/properties/subscription/properties/maxNumberOfAppointments"
},
"isDefaultFreePlan": {
"type": "boolean"
},
"maxNumberOfPatients": {
"$ref": "#/properties/subscription/properties/maxNumberOfAppointments"
},
"maxNumberOfAppointments": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"description": "The practice's active or past-due plan, or the default Free plan (isDefaultFreePlan) when neither exists. Seats are rooms; caps are limits, not usage. Billing identifiers, payment-provider data, amounts, currencies, patient records and clinical data are never returned.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Check DoctoFam plan and limits",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone names a patient to book, move, cancel or update. Returns up to 5 patients whose name contains every word given, with their ids and clinic; the last two phone digits appear only to tell namesakes apart. Not for browsing, counting or reading patient records.
| Parameter | Type | Description |
|---|---|---|
| search * | string | The patient's name as the user gave it, or part of it. Every word must appear in the stored name, in any order, ignoring case and accents. |
| clinicId | string | Only patients of this clinic; every clinic of the account when absent |
{
"name": "find_patient",
"title": "Find a patient by name",
"description": "Use this when someone names a patient to book, move, cancel or update. Returns up to 5 patients whose name contains every word given, with their ids and clinic; the last two phone digits appear only to tell namesakes apart. Not for browsing, counting or reading patient records.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"search"
],
"properties": {
"search": {
"type": "string",
"maxLength": 100,
"minLength": 3,
"description": "The patient's name as the user gave it, or part of it. Every word must appear in the stored name, in any order, ignoring case and accents."
},
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Only patients of this clinic; every clinic of the account when absent"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"patients",
"count",
"tooManyMatches"
],
"properties": {
"count": {
"type": "integer",
"maximum": 5,
"minimum": 0
},
"patients": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"clinicId",
"lastEditTime",
"phoneEnding"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"name": {
"type": "string",
"maxLength": 200
},
"clinicId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
{
"type": "null"
}
]
},
"phoneEnding": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{2}$"
},
{
"type": "null"
}
],
"description": "The last two digits of the patient's phone, given only when two patients share this name"
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 5,
"description": "The patients whose name matches, with the ids the other tools take. Contact details, dates of birth, notes and clinical records are never returned."
},
"tooManyMatches": {
"type": "boolean",
"description": "More than 5 patients match: none are returned; ask the user for more of the name"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Find a patient by name",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks when a patient is booked, or what is booked at the clinic on a given day. Returns appointment ids with patient, clinic and provider ids, times, status, edit time and how many procedures each has, latest first, up to 100. Not for counting how busy days are, nor for procedure names, notes or any medical detail.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of appointments to return (default 20, maximum 100) |
| endTime | string | Only appointments ending before this ISO 8601 time |
| clinicId | string | Only appointments at this clinic, by an id from list_clinics; every clinic when absent |
| patientId | string | Only appointments of this patient, by an id from find_patient |
| startTime | string | Only appointments starting at or after this ISO 8601 time. Without a patientId, give a startTime and endTime at most one day apart |
{
"name": "list_appointments",
"title": "List a patient's or a day's appointments",
"description": "Use this when someone asks when a patient is booked, or what is booked at the clinic on a given day. Returns appointment ids with patient, clinic and provider ids, times, status, edit time and how many procedures each has, latest first, up to 100. Not for counting how busy days are, nor for procedure names, notes or any medical detail.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Maximum number of appointments to return (default 20, maximum 100)",
"exclusiveMinimum": 0
},
"endTime": {
"type": "string",
"maxLength": 32,
"description": "Only appointments ending before this ISO 8601 time"
},
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Only appointments at this clinic, by an id from list_clinics; every clinic when absent"
},
"patientId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Only appointments of this patient, by an id from find_patient"
},
"startTime": {
"type": "string",
"maxLength": 32,
"description": "Only appointments starting at or after this ISO 8601 time. Without a patientId, give a startTime and endTime at most one day apart"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"appointments",
"count",
"hasMore"
],
"properties": {
"count": {
"type": "integer",
"maximum": 100,
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"appointments": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"clinicId",
"patientId",
"providerIds",
"startTime",
"endTime",
"status",
"procedureCount",
"lastEditTime"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"status": {
"anyOf": [
{
"enum": [
"REQUESTED",
"SCHEDULED",
"PATIENT_ARRIVED",
"NO_SHOW",
"CANCELED"
],
"type": "string"
},
{
"type": "null"
}
]
},
"endTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
},
"clinicId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
{
"type": "null"
}
]
},
"patientId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
{
"type": "null"
}
]
},
"startTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
},
"providerIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"maxItems": 20,
"description": "Doctors, nurses or assistants booked on it, as list_providers ids"
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
],
"description": "Version to pass as expectedLastEditTime when moving or cancelling it"
},
"procedureCount": {
"type": "integer",
"maximum": 1000,
"minimum": 0,
"description": "How many procedures it has; never which"
}
},
"additionalProperties": false
},
"maxItems": 100,
"description": "Appointments, latest start first. Procedure names, notes, reminders, patient names and contact details are never returned."
}
},
"additionalProperties": false
},
"annotations": {
"title": "List a patient's or a day's appointments",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks how much of a supply is left in the clinic's stock or what is running low. Returns up to 100 stock items with unit, quantity, minimum and a low-stock flag. Not for procedure prices.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of items (default 50, maximum 100). |
| search | string | Only items whose name contains these words. |
| clinicId | string | Id of the clinic, from list_clinics. Leave it out when the user has one clinic. |
| lowStockOnly | boolean | Only items at or below their minimum quantity. |
{
"name": "list_inventory_items",
"title": "Check clinic stock",
"description": "Use this when someone asks how much of a supply is left in the clinic's stock or what is running low. Returns up to 100 stock items with unit, quantity, minimum and a low-stock flag. Not for procedure prices.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Maximum number of items (default 50, maximum 100)."
},
"search": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Only items whose name contains these words."
},
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the clinic, from list_clinics. Leave it out when the user has one clinic."
},
"lowStockOnly": {
"type": "boolean",
"description": "Only items at or below their minimum quantity."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"clinicId",
"items",
"count",
"hasMore"
],
"properties": {
"count": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"unit",
"quantity",
"minimumQuantity",
"lowStock",
"clinicId",
"lastEditTime"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 200
},
"unit": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"clinicId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"lowStock": {
"type": "boolean"
},
"quantity": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"minimumQuantity": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 100
},
"hasMore": {
"type": "boolean"
},
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
}
},
"additionalProperties": false
},
"annotations": {
"title": "Check clinic stock",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks to book a patient in at their clinic. Returns the new appointment with its time, providers and number of procedures; it takes the clinic's usual length, room and reminders, so the clinic's reminder messages go to the patient. Not for finding free slots.
| Parameter | Type | Description |
|---|---|---|
| clinicId | string | Id of the clinic, from list_clinics. Leave it out when the user has one clinic. |
| patientId * | string | Id of the patient, from find_patient or create_patient. |
| requestId * | string | A unique id you choose for this booking, such as a UUID. Calling again with the same requestId returns the first booking instead of booking twice. |
| startTime * | string | Start as an ISO 8601 time with the clinic's UTC offset, such as 2026-11-20T10:00:00+01:00. |
| providerIds | array | Ids of the doctors, nurses or assistants who take it, from list_providers. Leave it out when the clinic has one provider or the user is the provider. |
| procedureIds | array | Ids of the procedures booked, from list_procedures. |
| durationMinutes | integer | Length in minutes. Leave it out for the clinic's usual length. |
Use this when someone asks to move a patient's appointment to another day or time. Returns the appointment with its new and previous start; it keeps the patient, providers, procedures and length unless a new length is given, and its reminders move with it. Not for cancelling.
| Parameter | Type | Description |
|---|---|---|
| startTime * | string | New start as an ISO 8601 time with the clinic's UTC offset, such as 2026-11-20T10:00:00+01:00. |
| appointmentId * | string | Id of the appointment, from list_appointments. |
| durationMinutes | integer | New length in minutes. Leave it out to keep the current length. |
| expectedLastEditTime * | string | The lastEditTime from list_appointments. An appointment changed since then is refused. |
{
"name": "reschedule_appointment",
"title": "Move a patient appointment",
"description": "Use this when someone asks to move a patient's appointment to another day or time. Returns the appointment with its new and previous start; it keeps the patient, providers, procedures and length unless a new length is given, and its reminders move with it. Not for cancelling.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"appointmentId",
"startTime",
"expectedLastEditTime"
],
"properties": {
"startTime": {
"type": "string",
"format": "date-time",
"maxLength": 40,
"description": "New start as an ISO 8601 time with the clinic's UTC offset, such as 2026-11-20T10:00:00+01:00."
},
"appointmentId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the appointment, from list_appointments."
},
"durationMinutes": {
"type": "integer",
"maximum": 480,
"minimum": 5,
"description": "New length in minutes. Leave it out to keep the current length."
},
"expectedLastEditTime": {
"type": "string",
"format": "date-time",
"maxLength": 40,
"description": "The lastEditTime from list_appointments. An appointment changed since then is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"previousStartTime",
"appointment"
],
"properties": {
"status": {
"enum": [
"rescheduled"
],
"type": "string"
},
"appointment": {
"type": "object",
"required": [
"id",
"clinicId",
"patientId",
"startTime",
"endTime",
"status",
"lastEditTime",
"providerIds",
"serviceCount",
"reminderCount"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"enum": [
"REQUESTED",
"SCHEDULED",
"PATIENT_ARRIVED",
"NO_SHOW",
"CANCELED"
],
"type": "string"
},
{
"type": "null"
}
]
},
"endTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"clinicId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"patientId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"startTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"providerIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
"maxItems": 10
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"serviceCount": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"reminderCount": {
"type": "integer",
"maximum": 100000,
"minimum": 0
}
},
"additionalProperties": false
},
"previousStartTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"annotations": {
"title": "Move a patient appointment",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when someone asks to cancel a patient's appointment. Returns the canceled appointment and whether the clinic's cancellation message goes to the patient; the appointment is kept with status CANCELED, never deleted. Not for moving it to another time.
| Parameter | Type | Description |
|---|---|---|
| appointmentId * | string | Id of the appointment, from list_appointments. |
| expectedLastEditTime * | string | The lastEditTime from list_appointments. An appointment changed since then is refused. |
{
"name": "cancel_appointment",
"title": "Cancel a patient appointment",
"description": "Use this when someone asks to cancel a patient's appointment. Returns the canceled appointment and whether the clinic's cancellation message goes to the patient; the appointment is kept with status CANCELED, never deleted. Not for moving it to another time.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"appointmentId",
"expectedLastEditTime"
],
"properties": {
"appointmentId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the appointment, from list_appointments."
},
"expectedLastEditTime": {
"type": "string",
"format": "date-time",
"maxLength": 40,
"description": "The lastEditTime from list_appointments. An appointment changed since then is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"clientNotification",
"appointment"
],
"properties": {
"status": {
"enum": [
"canceled",
"already_canceled"
],
"type": "string"
},
"appointment": {
"type": "object",
"required": [
"id",
"clinicId",
"patientId",
"startTime",
"endTime",
"status",
"lastEditTime",
"providerIds",
"serviceCount",
"reminderCount"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"enum": [
"REQUESTED",
"SCHEDULED",
"PATIENT_ARRIVED",
"NO_SHOW",
"CANCELED"
],
"type": "string"
},
{
"type": "null"
}
]
},
"endTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"clinicId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"patientId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"startTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"providerIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
"maxItems": 10
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"serviceCount": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"reminderCount": {
"type": "integer",
"maximum": 100000,
"minimum": 0
}
},
"additionalProperties": false
},
"clientNotification": {
"enum": [
"configured",
"not_configured",
"unknown"
],
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Cancel a patient appointment",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when someone asks to add a new patient to their clinic. Returns the patient's id, name, clinic and language; the phone and email given are stored but never returned. Not for a patient already on file.
| Parameter | Type | Description |
|---|---|---|
| name * | string | The patient's full name. |
| string | Email address. | |
| phone | string | Mobile number, with the country code when known. |
| clinicId | string | Id of the clinic, from list_clinics. Leave it out when the user has one clinic. |
| language | string | Language for their messages, as a code such as en or it. Leave it out for the clinic language. |
| requestId * | string | A unique id you choose for this patient, such as a UUID. Calling again with the same requestId returns the first patient instead of adding a second. |
{
"name": "create_patient",
"title": "Add a patient",
"description": "Use this when someone asks to add a new patient to their clinic. Returns the patient's id, name, clinic and language; the phone and email given are stored but never returned. Not for a patient already on file.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"requestId"
],
"properties": {
"name": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "The patient's full name."
},
"email": {
"type": "string",
"maxLength": 254,
"description": "Email address."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "Mobile number, with the country code when known."
},
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the clinic, from list_clinics. Leave it out when the user has one clinic."
},
"language": {
"type": "string",
"maxLength": 10,
"description": "Language for their messages, as a code such as en or it. Leave it out for the clinic language."
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"maxLength": 64,
"minLength": 1,
"description": "A unique id you choose for this patient, such as a UUID. Calling again with the same requestId returns the first patient instead of adding a second."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"patient"
],
"properties": {
"status": {
"enum": [
"created",
"already_created"
],
"type": "string"
},
"patient": {
"type": "object",
"required": [
"id",
"name",
"clinicId",
"language",
"lastEditTime"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 200
},
"clinicId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"language": {
"anyOf": [
{
"type": "string",
"maxLength": 16
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Add a patient",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when someone asks to change a patient's name, phone, email or language. Returns the patient's id, name, clinic and which fields changed; contact details are never returned. Not for medical history or any other patient detail.
| Parameter | Type | Description |
|---|---|---|
| name | string | New full name. |
| string | New email address. | |
| phone | string | New mobile number, with the country code when known. |
| language | string | New language for their messages, as a code such as en or it. |
| patientId * | string | Id of the patient, from find_patient. |
| expectedLastEditTime * | string | The lastEditTime from find_patient. A patient changed since then is refused. |
{
"name": "update_patient",
"title": "Update a patient's contact details",
"description": "Use this when someone asks to change a patient's name, phone, email or language. Returns the patient's id, name, clinic and which fields changed; contact details are never returned. Not for medical history or any other patient detail.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"patientId",
"expectedLastEditTime"
],
"properties": {
"name": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "New full name."
},
"email": {
"type": "string",
"maxLength": 254,
"description": "New email address."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "New mobile number, with the country code when known."
},
"language": {
"type": "string",
"maxLength": 10,
"description": "New language for their messages, as a code such as en or it."
},
"patientId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the patient, from find_patient."
},
"expectedLastEditTime": {
"type": "string",
"format": "date-time",
"maxLength": 40,
"description": "The lastEditTime from find_patient. A patient changed since then is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"changedFields",
"patient"
],
"properties": {
"status": {
"enum": [
"updated"
],
"type": "string"
},
"patient": {
"type": "object",
"required": [
"id",
"name",
"clinicId",
"language",
"lastEditTime"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 200
},
"clinicId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"language": {
"anyOf": [
{
"type": "string",
"maxLength": 16
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"changedFields": {
"type": "array",
"items": {
"enum": [
"name",
"phone",
"email",
"language"
],
"type": "string"
},
"maxItems": 4
}
},
"additionalProperties": false
},
"annotations": {
"title": "Update a patient's contact details",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when someone asks to correct or update how much of a stock item the clinic has. Returns the item with its previous and new quantity; the number given replaces the stored one. Not for adding a new stock item.
| Parameter | Type | Description |
|---|---|---|
| quantity * | number | The quantity now in stock, in the item unit. It replaces the stored quantity; work out the total first when the user gives a change. |
| inventoryItemId * | string | Id of the stock item, from list_inventory_items. |
| expectedLastEditTime * | string | The lastEditTime from list_inventory_items. An item changed since then is refused. |
{
"name": "set_inventory_quantity",
"title": "Update a stock quantity",
"description": "Use this when someone asks to correct or update how much of a stock item the clinic has. Returns the item with its previous and new quantity; the number given replaces the stored one. Not for adding a new stock item.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"inventoryItemId",
"quantity",
"expectedLastEditTime"
],
"properties": {
"quantity": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "The quantity now in stock, in the item unit. It replaces the stored quantity; work out the total first when the user gives a change."
},
"inventoryItemId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the stock item, from list_inventory_items."
},
"expectedLastEditTime": {
"type": "string",
"format": "date-time",
"maxLength": 40,
"description": "The lastEditTime from list_inventory_items. An item changed since then is refused."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"previousQuantity",
"item"
],
"properties": {
"item": {
"type": "object",
"required": [
"id",
"name",
"unit",
"quantity",
"minimumQuantity",
"lowStock",
"clinicId",
"lastEditTime"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"maxLength": 200
},
"unit": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"clinicId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"lowStock": {
"type": "boolean"
},
"quantity": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"minimumQuantity": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"status": {
"enum": [
"updated"
],
"type": "string"
},
"previousQuantity": {
"anyOf": [
{
"type": "number",
"maximum": 1000000000,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"annotations": {
"title": "Update a stock quantity",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Use this when someone wants a quick overview or dashboard of one medical practice. Returns an overview card with the practice's details, appointment counts for the next 7 days, staff and room counts, open online-booking slots, up to 12 service prices and the current plan (no patient or clinical data). Not for a single patient or visit.
| Parameter | Type | Description |
|---|---|---|
| clinicId * | string | Practice id: 24 lowercase hexadecimal characters |
{
"name": "show_clinic_overview",
"title": "Show medical practice overview",
"description": "Use this when someone wants a quick overview or dashboard of one medical practice. Returns an overview card with the practice's details, appointment counts for the next 7 days, staff and room counts, open online-booking slots, up to 12 service prices and the current plan (no patient or clinical data). Not for a single patient or visit.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"clinicId"
],
"properties": {
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"description": "Practice id: 24 lowercase hexadecimal characters"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"clinic",
"scheduleRange",
"appointmentCount",
"appointmentCountIsLowerBound",
"scheduleDays",
"procedureCount",
"procedureCountIsLowerBound",
"procedures",
"providerCount",
"providerCountIsLowerBound",
"roomCount",
"roomCountIsLowerBound",
"availableDayCount",
"availableSlotCount",
"availabilityDays",
"subscription"
],
"properties": {
"clinic": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"name",
"currency",
"defaultLocale",
"timezone"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$"
},
"name": {
"type": "string",
"maxLength": 200
},
"currency": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
{
"type": "null"
}
]
},
"timezone": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"defaultLocale": {
"anyOf": [
{
"type": "string",
"maxLength": 35
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Administrative practice metadata; null when the practice was not found. The overview never includes individual appointment records, patient information, diagnoses, treatment details, notes or other clinical data."
},
"roomCount": {
"type": "integer",
"maximum": 100,
"minimum": 0
},
"procedures": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"price",
"duration",
"lastEditTime"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"duration": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 32
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"maxItems": 12
},
"scheduleDays": {
"type": "array",
"items": {
"type": "object",
"required": [
"day",
"count"
],
"properties": {
"day": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"count": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 100
},
"subscription": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"productName",
"billingFrequency",
"maxNumberOfAppointments",
"maxNumberOfPatients",
"maxNumberOfSeats",
"maxNumberOfUsers",
"isDefaultFreePlan"
],
"properties": {
"status": {
"anyOf": [
{
"enum": [
"ACTIVE",
"PAST_DUE",
"CANCELED"
],
"type": "string"
},
{
"type": "null"
}
]
},
"productName": {
"type": "string",
"maxLength": 200
},
"billingFrequency": {
"anyOf": [
{
"enum": [
"MONTHLY",
"YEARLY"
],
"type": "string"
},
{
"type": "null"
}
]
},
"maxNumberOfSeats": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"maxNumberOfUsers": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"isDefaultFreePlan": {
"type": "boolean"
},
"maxNumberOfPatients": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"maxNumberOfAppointments": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"providerCount": {
"type": "integer",
"maximum": 100,
"minimum": 0
},
"scheduleRange": {
"type": "object",
"required": [
"startTime",
"endTime"
],
"properties": {
"endTime": {
"type": "string",
"maxLength": 32
},
"startTime": {
"type": "string",
"maxLength": 32
}
},
"additionalProperties": false
},
"procedureCount": {
"type": "integer",
"maximum": 12,
"minimum": 0
},
"appointmentCount": {
"type": "integer",
"maximum": 100,
"minimum": 0
},
"availabilityDays": {
"type": "array",
"items": {
"type": "object",
"required": [
"day",
"count"
],
"properties": {
"day": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"count": {
"type": "integer",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 7
},
"availableDayCount": {
"type": "integer",
"maximum": 7,
"minimum": 0
},
"availableSlotCount": {
"type": "integer",
"maximum": 100,
"minimum": 0
},
"roomCountIsLowerBound": {
"type": "boolean"
},
"providerCountIsLowerBound": {
"type": "boolean"
},
"procedureCountIsLowerBound": {
"type": "boolean"
},
"appointmentCountIsLowerBound": {
"type": "boolean"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Show medical practice overview",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}# Clinic administration with DoctoFam This skill drives the hosted DoctoFam MCP. The user must connect DoctoFam and authorize the intended organization. If authorization fails, ask the user to connect or reauthorize; never guess another tenant. ## Hard privacy and clinical boundary This connector serves the front desk, never the medical record. It does not expose: - patient lists, patient counts, contact details, dates of birth, addresses or any part of a patient's record; - diagnoses, treatments, prescriptions, anamnesis, history, images, documents, consents or free-text notes; - which procedures an appointment holds, only how many; or - provider contacts, credentials or organization internals. A patient is found only by the name the user gives, with `find_patient`: up to five matches, each with an id, the stored name, the clinic and, when two share a name, the last two digits of each one's phone. When more than five match, nobody is returned: ask the user for more of the name. Never use it to browse or count patients, and repeat no more names than the task needs. Never ask users to paste health data into chat or try to infer it from what the tools return. The connector does not diagnose, triage, prescribe, recommend treatment, determine urgency or make a medical decision. ## What the connector changes The read tools change nothing. Six tools write, as the signed-in member, with that member's DoctoFam role: `book_appointment`, `reschedule_appointment`, `cancel_appointment`, `create_patient`, `update_patient` and `set_inventory_quantity`. DoctoFam's own rules apply to every write: a member changes only what their role allows. If those six tools are missing, the connection was authorized to read only (every connection made before November 2026 was). Ask the user to disconnect DoctoFam and connect it again, allowing DoctoFam to create and update data. Confirm every write with the user before calling it: which patient, which clinic, when, and what will change. Booking, moving and cancelling reach the patient: a booking schedules the clinic's reminder messages, a move moves them, and a cancellation sends the clinic's cancellation message when the clinic set one up. Say so when you ask. The connector cannot delete anything, read or write a medical record, add a note, take or refund payments, send a message of its own, change reminder settings, create a repeating series of appointments, change procedures, prices, staff or roles, or touch expenses. Direct the user to the DoctoFam app for those. ## Resource identifiers - `clinicId` selects an owned clinic. A write may leave it out when the account has one clinic. Never guess one: call `list_clinics` and reuse its 24-character hexadecimal id. Ask when several match. - `patientId` names one patient, from `find_patient` or `create_patient`; `appointmentId` one appointment, from `list_appointments`; `inventoryItemId` one stock item. - `providerIds` are the ids `list_providers` returns; `procedureIds` the ids `list_procedures` returns. - `lastEditTime` is a record's version. Moving or cancelling an appointment, updating a patient and setting a stock quantity take it as `expectedLastEditTime` and are refused with `conflict` when the record changed since it was read. - `requestId` is a unique id you choose for each new booking or patient, such as a UUID. Calling again with the same `requestId` returns the first result instead of booking or adding twice. Opaque cursors may be reused only with the filters that produced them. ## Available tools | Tool | Use it when someone asks… | | ----------------------------- | ---------------------------------------------------------------------------- | | `list_clinics` | which practices they run; also resolves the clinic ID every other tool needs | | `get_clinic` | about one practice's currency, language or ti
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
{
"name": "book_appointment",
"title": "Book a patient appointment",
"description": "Use this when someone asks to book a patient in at their clinic. Returns the new appointment with its time, providers and number of procedures; it takes the clinic's usual length, room and reminders, so the clinic's reminder messages go to the patient. Not for finding free slots.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"patientId",
"startTime",
"requestId"
],
"properties": {
"clinicId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the clinic, from list_clinics. Leave it out when the user has one clinic."
},
"patientId": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24,
"description": "Id of the patient, from find_patient or create_patient."
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"maxLength": 64,
"minLength": 1,
"description": "A unique id you choose for this booking, such as a UUID. Calling again with the same requestId returns the first booking instead of booking twice."
},
"startTime": {
"type": "string",
"format": "date-time",
"maxLength": 40,
"description": "Start as an ISO 8601 time with the clinic's UTC offset, such as 2026-11-20T10:00:00+01:00."
},
"providerIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
"maxItems": 5,
"description": "Ids of the doctors, nurses or assistants who take it, from list_providers. Leave it out when the clinic has one provider or the user is the provider."
},
"procedureIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
"maxItems": 20,
"description": "Ids of the procedures booked, from list_procedures."
},
"durationMinutes": {
"type": "integer",
"maximum": 480,
"minimum": 5,
"description": "Length in minutes. Leave it out for the clinic's usual length."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"appointment"
],
"properties": {
"status": {
"enum": [
"booked",
"already_booked"
],
"type": "string"
},
"appointment": {
"type": "object",
"required": [
"id",
"clinicId",
"patientId",
"startTime",
"endTime",
"status",
"lastEditTime",
"providerIds",
"serviceCount",
"reminderCount"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"enum": [
"REQUESTED",
"SCHEDULED",
"PATIENT_ARRIVED",
"NO_SHOW",
"CANCELED"
],
"type": "string"
},
{
"type": "null"
}
]
},
"endTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"clinicId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"patientId": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
{
"type": "null"
}
]
},
"startTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"providerIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"maxLength": 24,
"minLength": 24
},
"maxItems": 10
},
"lastEditTime": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"serviceCount": {
"type": "integer",
"maximum": 100000,
"minimum": 0
},
"reminderCount": {
"type": "integer",
"maximum": 100000,
"minimum": 0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Book a patient appointment",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}