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

Parameters: deny_timesheet
NameTypeDescription
timesheet_id integer required integer Timesheet ID from list_timesheets.
denial_reason string required string Why the timesheet is denied.

tools/call

JSON-RPC

{
  "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

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.