Add time entry
Add manual time to a member on a project.
MCP tool hubstaff_write → add_time_entry
write Confirm
Adds a manual time entry for a member: project, start time and seconds tracked, with an optional task. Hubstaff requires a note by default and records manual time with 0 percent activity. If your organization requires approval for added time, the entry cannot be added this way and the call says so. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| user_id integer required | integer | Member ID from list_members. |
| project_id integer required | integer | Project ID from list_projects. |
| start_time datetime required | datetime | Start of the entry, ISO 8601. |
| tracked integer required | integer | Seconds tracked. |
| task_id integer | integer | Task ID from list_tasks. |
| billable boolean | boolean | Default: the project setting. |
| note string | string | Reason for the entry. Required unless your organization made it optional. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "hubstaff_write",
"arguments": {
"operation": "add_time_entry",
"arguments": {
"user_id": 1,
"project_id": 1,
"start_time": "2026-10-01T09:00:00Z",
"tracked": 1
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"success": true,
"user_id": 3011,
"project_id": 90311,
"start_time": "2026-10-14T14:00:00Z",
"tracked": 5400
},
"isError": false
}