Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by cbagula

jira_add_worklog

Log time spent on a Jira issue with an optional comment and adjust the remaining estimate as needed.

Instructions

Add a worklog entry to a Jira issue. Logs time spent working on an issue with optional comment and estimate adjustment.

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

Input Schema

NameRequiredDescriptionDefault
commentNoWorklog comment/description in Markdown format
startedYesWhen the work was started in ISO 8601 format (e.g., "2024-01-22T10:00:00.000+0000")
reduceByNoAmount to reduce remaining estimate when adjustEstimate is "manual" (e.g., "2h")
timeSpentYesTime spent working in Jira duration format (e.g., "2h 30m", "1d", "45m")
newEstimateNoThe new estimate when adjustEstimate is "new" (e.g., "3d 4h")
issueIdOrKeyYesThe ID or key of the issue (e.g., "PROJ-123" or "10001")
adjustEstimateNoHow to adjust the remaining estimate: new (set new estimate), leave (don't change), manual (reduce by amount), auto (reduce by time spent)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.2/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 disclosure burden. It never explains that this is a mutation that alters the issue's remaining estimate by default, what permission or worklog visibility constraints apply, whether the entry can be edited later, or what is returned; "optional comment and estimate adjustment" merely restates the schema.

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 compact sentences with the action front-loaded and the estimate-adjustment capability surfaced early. The second sentence slightly restates the first ("Logs time spent working on an issue") rather than adding new information, which keeps it just short of a 5.

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?

For a 7-parameter mutation tool with no annotations and no output schema, the description covers purpose but omits default behavior, side effects on estimates, permission needs, and result shape. Relying on the fully documented schema covers parameters, but the behavioral gaps leave an agent under-informed before calling.

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 every parameter including the adjustEstimate enum and its modes is already fully documented, establishing a baseline of 3. The description adds no examples, defaults, or interaction rules (e.g., that reduceBy/newEstimate only apply to specific adjustEstimate values) beyond what the schema states.

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 to a Jira issue") plus the core effect ("Logs time spent working on an issue"). It implicitly separates itself from jira_ls_worklogs and jira_update_worklog, but never names or contrasts those siblings, so the differentiation is left to inference.

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?

The description supplies enough context to infer that the tool is for recording time, and it hints at the comment and estimate-adjustment options. However, it gives no explicit when-to-use guidance, no exclusions (e.g., use jira_update_worklog to amend or jira_add_comment for comments only), and no prerequisites such as required permissions.

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