Skip to main content
Glama

Import Tracker worklog record

tracker_worklog_import

Import a worklog record preserving its original author and timestamps (admin-only).

Instructions

Import a worklog record preserving its original author and timestamps (admin-only).

Returns the imported record(s) — the endpoint answers with a JSON array.

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": {
      "issue_key": "<issue_key>",
      "body": "<body>"
    },
    "name": "tracker_worklog_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesTyped body for ``POST /issues/{key}/worklogs/_import`` — import one worklog with history.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
issue_keyYesIssue key, e.g. QUEUE-123.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. Addedv0.122.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the bar is lower, and the description still adds real context: an admin permission requirement and the historical-preservation semantics. It also discloses the response shape ('a JSON array'), which is a non-obvious endpoint quirk given no output schema exists. It does not warn about duplicate worklogs if an import is repeated, which is the main behavioral risk left unstated.

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 short sentences: the action and its key property come first, the permission constraint follows, and the return shape closes it out. No restated parameter names, no filler.

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 nested-body mutation with an admin gate and no output schema, the definition covers the essentials: what is preserved, who may call it, and that the response is an array. The remaining gap is failure/idempotency behavior — nothing says whether re-importing the same record creates a duplicate or is rejected.

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%, and every parameter including the nested body fields (start, duration, createdAt, createdBy, comment) and dry_run is documented in the schema itself. The description adds no format or constraint detail beyond that, so the 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 gives a specific verb and resource ('Import a worklog record') plus a distinguishing qualifier — it preserves the original author and timestamps, which is what separates it from the sibling tracker_worklog_create. It stops short of naming that sibling explicitly, so an agent must infer the split from the qualifier rather than being routed outright.

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 '(admin-only)' tag is a genuine usage precondition that tells an agent whether it is even permitted to call this. However, there is no explicit when-to-use versus tracker_worklog_create or tracker_worklog_update, and no statement of what happens if the record already exists. Guidance is implied by the attribute 'preserving its original author and timestamps' rather than stated as a decision rule.

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