Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by cbagula

jira_update_worklog

Modify an existing Jira worklog entry to correct time spent, comment, or start time on a specified issue.

Instructions

Update an existing worklog entry. Modify the time spent, comment, or start time of a previously logged work entry.

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

Input Schema

NameRequiredDescriptionDefault
commentNoNew worklog comment/description in Markdown format
startedNoNew start time in ISO 8601 format (e.g., "2024-01-22T10:00:00.000+0000")
timeSpentNoNew time spent value in Jira duration format (e.g., "3h 15m")
worklogIdYesThe ID of the worklog to update
issueIdOrKeyYesThe ID or key of the issue (e.g., "PROJ-123" or "10001")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It never states whether unspecified fields are preserved, whether the worklog's parent issue's remaining estimate is recalculated when timeSpent changes, what permissions are required, or what happens if the worklog ID does not exist — all significant gaps for a mutation tool.

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?

Two short sentences, front-loaded with the action. The second sentence largely restates the first by re-listing the modifiable fields, so there is minor redundancy but no bloat.

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?

The fully documented schema covers parameter semantics and there is no output schema to explain. However, for a five-parameter mutation tool with zero annotations, the description omits partial-update semantics, error behavior, and permission requirements, leaving meaningful 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 five parameters including formats. The description's listing of "time spent, comment, or start time" merely restates the schema's fields without adding format or interaction detail, so baseline 3 applies.

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 states a specific verb and resource ("Update an existing worklog entry") and enumerates the mutable fields. The word "existing" implicitly separates it from jira_add_worklog, but it never names a sibling explicitly, so differentiation is only partial.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no mention of jira_add_worklog or jira_delete_worklog as alternatives. The only contextual hint is "previously logged work entry," which implies an existing worklog ID is required but leaves the choice between create/update/delete worklog tools to inference.

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