ShiftZap Restaurant Scheduling

v1.0.1
io.github.samueldesignsa/shiftzap Checked 3 days ago Published 8 months ago

Manage restaurant employee scheduling, time-off, tips, and payroll via ShiftZap.

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

get_api_key_info

Get information about the current API key including plan tier, rate limits, and accessible stores.

list_stores

List all restaurant stores accessible with this API key.

get_store

Get detailed store information including business hours, roles, and shift definitions.

ParameterTypeDescription
store_id *stringUUID of the store

list_employees

List employees for a store. Optionally filter by role. Returns paginated results.

ParameterTypeDescription
store_id *stringUUID of the store
cursorstringPagination cursor from previous response
limitintegerMax results (1-100, default 50)
rolestringFilter by primary role

create_employee

Create a new employee in a store. Only 'name' is required; role defaults to 'Unassigned'.

ParameterTypeDescription
name *stringEmployee full name
store_id *stringUUID of the store
emailstringEmail address
hourly_ratenumberHourly pay rate
max_hoursnumberMaximum hours per week
min_hoursnumberMinimum hours per week
rolestringPrimary role (e.g., Server, Cook, Bartender)
secondary_rolesarrayAdditional roles the employee can fill

get_employee

Get an employee's full details including weekly availability and recent time-off requests.

ParameterTypeDescription
employee_id *stringUUID of the employee
store_id *stringUUID of the store

update_employee

Update one or more fields on an existing employee. Only include fields you want to change.

ParameterTypeDescription
employee_id *stringUUID of the employee
store_id *stringUUID of the store
emailstringEmail address
hourly_ratenumberHourly pay rate
max_hoursnumberMaximum hours per week
min_hoursnumberMinimum hours per week
namestringEmployee full name
rolestringPrimary role
secondary_rolesarrayAdditional roles

delete_employee

Permanently delete an employee and all their related data (availability, pinned shifts). This cannot be undone.

ParameterTypeDescription
employee_id *stringUUID of the employee
store_id *stringUUID of the store

batch_create_employees

Create up to 50 employees in a single request. Each employee needs at minimum a 'name' field.

ParameterTypeDescription
employees *arrayArray of employee objects to create (max 50)
store_id *stringUUID of the store

replace_availability

Replace all weekly availability for an employee. Send one entry per day with available=true/false and optional start_time/end_time in HH:MM 24h format.

ParameterTypeDescription
availability *arrayArray of day entries — one per day of the week
employee_id *stringUUID of the employee
store_id *stringUUID of the store

create_time_off_request

Create a time-off request for an employee. Status starts as 'pending' and must be approved or denied separately.

ParameterTypeDescription
employee_id *stringUUID of the employee requesting time off
end_date *stringEnd date (YYYY-MM-DD)
start_date *stringStart date (YYYY-MM-DD)
store_id *stringUUID of the store
reasonstringReason for the time-off request

update_time_off_request

Approve or deny a pending time-off request.

ParameterTypeDescription
request_id *stringUUID of the time-off request
status *stringNew status: 'approved' or 'denied'
store_id *stringUUID of the store

list_schedules

List schedules for a store. Optionally filter by status (draft/posted/archived) or week start date.

ParameterTypeDescription
store_id *stringUUID of the store
limitintegerMax results (1-50, default 20)
statusstringFilter by schedule status
week_startstringFilter by exact week start date (YYYY-MM-DD)

get_current_schedule

Get the current or next upcoming posted schedule with full shift assignments for each employee.

ParameterTypeDescription
store_id *stringUUID of the store

get_schedule

Get a specific schedule with all shift assignments broken down by employee and day.

ParameterTypeDescription
schedule_id *stringUUID of the schedule
store_id *stringUUID of the store

update_schedule_status

Update a schedule's status. Valid transitions: draft -> posted, draft -> archived, posted -> archived.

ParameterTypeDescription
schedule_id *stringUUID of the schedule
status *stringNew status: 'posted' or 'archived'
store_id *stringUUID of the store

list_webhooks

List all webhook endpoints configured for a store.

ParameterTypeDescription
store_id *stringUUID of the store

create_webhook

Create a webhook endpoint for a store. Max 10 per store. The signing secret is returned only once in the response.

ParameterTypeDescription
events *arrayEvent types to subscribe to (e.g., schedule.posted, employee.created, time_off.requested)
store_id *stringUUID of the store
url *stringHTTPS URL to receive webhook events
descriptionstringOptional description of this webhook

update_webhook

Update a webhook endpoint's URL, subscribed events, active status, or description.

ParameterTypeDescription
store_id *stringUUID of the store
webhook_id *stringUUID of the webhook
activebooleanEnable or disable the webhook
descriptionstringUpdated description
eventsarrayNew set of subscribed event types
urlstringNew HTTPS URL

delete_webhook

Delete a webhook endpoint and all its delivery history. This cannot be undone.

ParameterTypeDescription
store_id *stringUUID of the store
webhook_id *stringUUID of the webhook

list_tip_sources

List tip upload sources for a store showing imported POS data files and their totals.

ParameterTypeDescription
store_id *stringUUID of the store
limitintegerMax results (1-50, default 20)

list_tip_payouts

List tip payouts for a store. Filter by pay period date range or specific employee.

ParameterTypeDescription
store_id *stringUUID of the store
employee_idstringFilter by employee UUID
limitintegerMax results (1-100, default 50)
period_endstringFilter payouts on or before this date (YYYY-MM-DD)
period_startstringFilter payouts on or after this date (YYYY-MM-DD)

list_payroll_runs

List payroll export runs for a store showing export history with period dates and totals.

ParameterTypeDescription
store_id *stringUUID of the store
limitintegerMax results (1-50, default 20)

list_feed_posts

List team feed/announcement posts for a store. Supports cursor-based pagination.

ParameterTypeDescription
store_id *stringUUID of the store
cursorstringPagination cursor from previous response
limitintegerMax results (1-50, default 25)

create_feed_post

Create a team feed/announcement post visible to all staff in the store.

ParameterTypeDescription
content *stringPost content (max 2000 characters)
store_id *stringUUID of the store
author_namestringDisplay name for the post author

list_shift_requests

List shift swap/cover requests for a store. Defaults to showing only 'available' (unclaimed) shifts.

ParameterTypeDescription
store_id *stringUUID of the store
fromstringFilter shifts on or after this date (YYYY-MM-DD)
limitintegerMax results (1-50, default 25)
statusstringFilter by status (default: available)
tostringFilter shifts on or before this date (YYYY-MM-DD)

create_shift_request

Post a shift for swap/cover — makes it available for other employees to claim.

ParameterTypeDescription
employee_id *stringUUID of the employee giving up the shift
role *stringRole for the shift (e.g., Server, Cook)
shift_date *stringDate of the shift (YYYY-MM-DD)
shift_end_time *stringShift end time (HH:MM 24h format)
shift_start_time *stringShift start time (HH:MM 24h format)
store_id *stringUUID of the store
notesstringOptional notes about the swap/cover

update_shift_request

Claim or cancel a shift request. When claiming, provide the claiming_employee_id.

ParameterTypeDescription
request_id *stringUUID of the shift request
status *stringNew status: 'claimed' or 'cancelled'
store_id *stringUUID of the store
claiming_employee_idstringUUID of the employee claiming the shift (required when status is 'claimed')