Skip to main content
Glama

add-worklog

Log time on a Jira ticket by passing a duration in seconds or Jira duration text, with optional comment and start timestamp, to record work against issues.

Instructions

Log time on a Jira ticket using a duration in seconds or Jira duration text

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": {
      "ticket_key": "<ticket_key>"
    },
    "name": "add-worklog"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNo
startedNoISO 8601 timestamp with a timezone
ticket_keyYes
time_spentNoJira duration, e.g. 2h 30m or 1d
time_spent_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.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 disclosure burden for a write operation. It hints that either seconds or Jira duration text can be used, but does not say whether both may be passed simultaneously, what happens if neither is given (time_spent is not required), what the started timestamp defaults to, or what is returned after the worklog is created.

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?

A single front-loaded sentence with no filler; the verb and resource come first and the format note follows. It is efficient, though the brevity leaves useful detail unstated rather than trimming redundancy.

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

Completeness2/5

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

This is a five-parameter mutation tool with no annotations and no output schema, yet the description covers only the duration input style. Nothing is said about the required ticket_key, the optional comment and started fields, or the effect and result of the write, which is too thin for a mutation of this shape.

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 only 40%, so the schema alone leaves gaps for ticket_key, time_spent_seconds, and comment. The description partially compensates by framing time_spent and time_spent_seconds as alternative input styles, but it says nothing about comment, started, or ticket_key semantics, and never states whether the two duration fields are mutually exclusive.

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 gives a specific verb plus resource ("Log time on a Jira ticket") and names the two accepted duration formats, which is enough to distinguish it from add-comment or list-worklogs at a glance. It stops short of explicitly contrasting itself with those siblings, so it is clear but not fully differentiated.

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 when-to-use guidance: nothing says whether logging time requires the caller to be the assignee, what permissions are needed, or that list-worklogs is the read counterpart. The only implied usage is 'you have time to record on a ticket', which an agent could infer from the name alone.

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