Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by wince87

jira_update_worklog

Idempotent

Update an existing Jira worklog entry by changing its comment, start time, or time spent while leaving unspecified fields unchanged.

Instructions

Update an existing worklog entry on a Jira issue. All fields except issueKey/worklogId are optional - omit to leave unchanged.

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>",
      "worklogId": "<worklogId>"
    },
    "name": "jira_update_worklog"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNoNew comment in Markdown. Optional.
startedNoNew start time as ISO 8601 with millis and offset, e.g. "2024-01-15T09:00:00.000+0000". Optional.
issueKeyYesIssue key (e.g., PROJ-123)
timeSpentNoNew duration in Jira format ("2h 30m", "1d", "45m"). Optional.
worklogIdYesWorklog ID (use jira_get_worklogs to find it)

Output Schema

NameRequiredDescriptionDefault
urlNo
messageNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=true), so the safety story is covered. The description adds genuine behavioral context beyond them: that the call is a partial patch where omitted fields are left unchanged rather than cleared. It stops short of mentioning permission requirements or side effects on remaining time estimates.

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

Conciseness5/5

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

Two sentences, no filler, with the action statement first and the partial-update rule immediately after. Every clause carries information the agent needs.

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

Completeness4/5

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

For a 5-parameter mutation tool with full schema descriptions, full annotations, and an output schema, the description covers purpose and patch semantics adequately. Minor residual gaps (permission prerequisites, whether duration edits affect an estimate) are not blocking for correct invocation.

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

Parameters4/5

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

Schema coverage is 100%, so the per-field formats (Markdown comment, ISO 8601 started, Jira duration format) are already handled and a baseline of 3 would be defensible. The description earns an extra point by resolving a real ambiguity the schema leaves open: 'omit to leave unchanged' distinguishes absence from nulling out a field.

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?

The description opens with a specific verb and resource: 'Update an existing worklog entry on a Jira issue.' That is enough to separate it from jira_add_worklog and jira_delete_worklog on the worklog axis, but it never names those siblings explicitly, so the differentiation is inferred rather than stated.

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?

It clarifies the edit case ('existing worklog entry') and the partial-update convention, which implicitly tells the agent not to use it for creation. However, there is no explicit when-to-use/when-not guidance, no mention of jira_add_worklog or jira_delete_worklog as alternatives, and no note about required permissions or how to obtain the worklogId (that hint lives only in the schema).

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