Attest worked hours
Attest the punches and absences of one employee in a date range as manager.
MCP tool quinyx_write → attest_hours
Does what Attest all does in the Schedule view, for the range you pass, and returns how many punches and absences it attested. It follows your Time settings: with Hierarchical approval on, the employee must have approved first, and with Manager can approve employee off, the call fails. The attested hours can go into a payroll file. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| group_id string required | string | Unit or section id from list_groups. |
| employee_id string required | string | Employee id from list_employees. |
| from string required | string | First day, YYYY-MM-DD. |
| to string required | string | Last day, YYYY-MM-DD. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "quinyx_write",
"arguments": {
"operation": "attest_hours",
"arguments": {
"group_id": "1042",
"employee_id": "3011",
"from": "2026-10-12",
"to": "2026-10-18"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"employee": "Tom Becker",
"from": "2026-10-12",
"to": "2026-10-18",
"attested": {
"punches": 5,
"absences": 0
},
"manager_attested": true
},
"isError": false
}