Deny timesheet
Deny a timesheet with a reason so the member can fix it.
MCP tool hubstaff_write → deny_timesheet
write Confirm
Denies one timesheet and records your reason. Use it to reopen a timesheet that was approved too early, too. A reason is required. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| timesheet_id integer required | integer | Timesheet ID from list_timesheets. |
| denial_reason string required | string | Why the timesheet is denied. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "hubstaff_write",
"arguments": {
"operation": "deny_timesheet",
"arguments": {
"timesheet_id": 1,
"denial_reason": "denial reason"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"timesheet_id": 8841202,
"user_id": 3012,
"status": "denied",
"denial_reason": "Overlaps a manual entry for 12 Oct, please resubmit"
},
"isError": false
}