tempo_create_worklog
Log work time against a Jira issue by creating a Tempo worklog with author, date, and seconds spent. Confirms with the user before writing.
Instructions
Create a new Tempo worklog. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"authorAccountId": "<authorAccountId>",
"issueId": "<issueId>",
"startDate": "<startDate>",
"timeSpentSeconds": "<timeSpentSeconds>"
},
"name": "tempo_create_worklog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | Yes | Jira issue id to log time against | |
| startDate | Yes | Work date (YYYY-MM-DD) | |
| startTime | No | Start time (HH:mm:ss) | |
| attributes | No | Tempo work attribute values, e.g. [{"key":"_Account_","value":"20265520"}]. REQUIRED when the Tempo instance marks a work attribute (such as Account) as required — otherwise the write fails with HTTP 400. Discover configured attributes with tempo_get_work_attributes. | |
| description | No | Description of work done | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. | |
| authorAccountId | Yes | Atlassian account id of the worklog author | |
| billableSeconds | No | Billable seconds (defaults to timeSpentSeconds) | |
| timeSpentSeconds | Yes | Time spent in seconds (e.g. 3600 = 1 hour) | |
| remainingEstimateSeconds | No | Remaining estimate in seconds |