Add worked hours
Add a timesheet entry for an employee.
MCP tool shiftbase_write → add_worked_hours
write Confirm
Creates one entry in the Timesheet tab with status pending and returns its id and hours. It uses the department and shift of the employee for that day. With notify_employee set, the employee gets a message. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| employee_id string required | string | Employee id from list_employees. |
| date string required | string | Day of the shift, YYYY-MM-DD. |
| start string required | string | Start time, HH:MM. |
| end string required | string | End time, HH:MM. |
| unpaid_break_min number | number | Unpaid break in minutes. It is not counted as worked time. |
| note string | string | Note on the shift. |
| notify_employee boolean | boolean | Send the employee a notification about the entry. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "shiftbase_write",
"arguments": {
"operation": "add_worked_hours",
"arguments": {
"employee_id": "employee_8c41d2",
"date": "date",
"start": "start",
"end": "end"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"entry_id": "40130",
"employee": "Lena Ortiz",
"date": "2026-10-21",
"start": "09:00",
"end": "17:00",
"hours": 7.5,
"status": "pending"
},
"isError": false
}