Count patient visits per day
get_clinic_schedule_summaryUse 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clinicId": "<clinicId>"
},
"name": "get_clinic_schedule_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | No | 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 | Yes | Practice id: 24 lowercase hexadecimal characters | |
| startTime | No | Start of the range as an ISO 8601 date-time; defaults to now |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | 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 | Yes | ||
| appointmentCount | Yes | ||
| appointmentCountIsLowerBound | Yes | True when more than 100 appointments fall in the range |