Skip to main content
Glama

Add Worklog

jira_add_worklog
Destructive

Log time spent on Jira issues to track work progress. Add worklog entries with time spent, comments, and optional estimates for accurate time management.

Instructions

Add a worklog entry to a Jira issue.

Args: ctx: The FastMCP context. issue_key: Jira issue key. time_spent: Time spent in Jira format. comment: Optional comment in Markdown. started: Optional start time in ISO format. original_estimate: Optional new original estimate. remaining_estimate: Optional new remaining estimate.

Returns: JSON string representing the added worklog object.

Raises: ValueError: If in read-only mode or Jira client unavailable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issue_keyYesJira issue key (e.g., 'PROJ-123', 'ACV2-642')
time_spentYesTime spent in Jira format. Examples: '1h 30m' (1 hour and 30 minutes), '1d' (1 day), '30m' (30 minutes), '4h' (4 hours)
commentNo(Optional) Comment for the worklog in Markdown format
startedNo(Optional) Start time in ISO format. If not provided, the current time will be used. Example: '2023-08-01T12:00:00.000+0000'
original_estimateNo(Optional) New value for the original estimate
remaining_estimateNo(Optional) New value for the remaining estimate

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description adds valuable behavioral context beyond the 'destructiveHint: true' annotation. It explicitly states the tool can raise a ValueError 'If in read-only mode or Jira client unavailable', which are important operational constraints. It also clarifies that 'started' defaults to current time if not provided, and specifies the return format as 'JSON string representing the added worklog object'. These details enhance the agent's understanding of how the tool behaves in practice.

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?

The description is well-structured with clear sections (description, Args, Returns, Raises) and front-loads the core purpose. However, the Args section is somewhat redundant given the comprehensive schema, and the Raises section could be more concise. Overall, it's efficient but has minor verbosity in parameter listing.

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?

Given the tool's complexity (destructive mutation with 6 parameters), the description provides good contextual coverage. It explains key behavioral aspects (defaults, error conditions, return format) and the output schema exists, so return values need not be detailed. The main gap is lack of usage guidance relative to sibling tools, but otherwise it's reasonably complete for agent invocation.

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?

With 100% schema description coverage, the schema already documents all 6 parameters thoroughly. The description's Args section merely lists parameter names without adding meaningful semantic context beyond what's in the schema (e.g., it doesn't explain relationships between 'original_estimate' and 'remaining_estimate', or how 'time_spent' affects issue tracking). The baseline score of 3 reflects adequate but minimal value addition.

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

Purpose5/5

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

The description clearly states the specific action ('Add a worklog entry') and target resource ('to a Jira issue'), distinguishing it from sibling tools like 'jira_add_comment' or 'jira_update_issue'. The verb 'Add' is precise and the resource 'worklog entry' is well-defined within the Jira context.

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?

The description provides no guidance on when to use this tool versus alternatives like 'jira_get_worklog' or 'jira_update_issue' (which might adjust estimates differently). It mentions a read-only mode constraint in the Raises section, but offers no proactive usage context, prerequisites, or comparison to sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GeiserX/atlassian-browser-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server