Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by wince87

jira_add_worklog

Add a worklog entry to a Jira issue to track time spent, with Jira-style durations, optional ISO 8601 start time, and Markdown comments.

Instructions

Add a worklog entry (time tracking). timeSpent uses Jira units: w (week), d (day, 8h by default), h (hour), m (minute). started must be ISO 8601 with millisecond and timezone offset, e.g. "2024-01-15T09:00:00.000+0000" (NOT a Z-terminated ISO). If omitted, server uses now.

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": {
      "issueKey": "<issueKey>",
      "timeSpent": "<timeSpent>"
    },
    "name": "jira_add_worklog"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNoWorklog comment in Markdown.
startedNoStart time as ISO 8601 with millis and offset, e.g. "2024-01-15T09:00:00.000+0000". Defaults to now.
issueKeyYesIssue key (e.g., PROJ-123)
timeSpentYesJira-style duration. Examples: "2h 30m", "1d", "45m", "3w 2d". Max units w/d/h/m.

Output Schema

NameRequiredDescriptionDefault
urlNo
messageNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.2

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false and destructiveHint=false, so the description's main added value is the strict input contract: the non-Z ISO 8601 offset format for `started` and the fallback to server 'now'. The 'NOT a Z-terminated ISO' warning is a concrete behavioral gotcha not present in the annotations. It misses one meaningful behavior: with idempotentHint=false, repeated calls create duplicate worklogs, which the description never warns about.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with purpose, then the two parameter gotchas. Nothing is padded or redundant at the sentence level. The trade-off is that roughly two-thirds of the text is input formatting rather than tool behavior, which skews the balance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A create/mutation tool with annotations and an output schema, so return values need not be explained. What remains unaddressed is consequential for correct invocation: duplicate-log risk given non-idempotency, permission requirements, and whether a worklog can be attached to something other than an issue. Adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all four parameters including duration examples and the ISO format. The description largely restates that, adding only two genuinely new details: that 'd' means 8 hours by default and that Z-terminated ISO is rejected. Marginal value above the schema baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Add a worklog entry (time tracking)'. An agent immediately knows this creates a time log on an issue. It does not name the sibling alternatives (jira_update_worklog, jira_delete_worklog) that an agent should consider when a worklog already exists, so it stops short of full differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated — the tool is for recording time spent, but there is no explicit when-to-use/when-not guidance, no mention of prerequisites (issue permissions, logging to an issue vs. a subtask), and no routing to update/delete worklog tools when a log already exists. The formatting rules are usage-relevant but are about how to call, not when.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools