Skip to main content
Glama

clone_work_item

Duplicate a Jira or Azure DevOps work item with its fields, labels, and optional attachments, then link the copy back to the original.

Instructions

Deep clone a work item including fields, labels, and auto-link back to the original.

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": {
      "platform": "<platform>",
      "workItemId": "<workItemId>"
    },
    "name": "clone_work_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformYesThe platform
workItemIdYesThe work item ID to clone
titlePrefixNoPrefix for the cloned item title[Clone]
includeAttachmentsNoWhether to copy attachments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses genuinely useful non-obvious behavior — that a link back to the original is created automatically and that labels and fields are deep-copied — but it omits permission requirements, whether the source item is modified, and what happens on failure or with an invalid workItemId.

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?

A single front-loaded sentence with zero filler. The scope ('Deep clone'), the copied content ('fields, labels'), and the side effect ('auto-link back to the original') are each load-bearing.

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 4-parameter mutation tool with no annotations and no output schema, the description covers what gets copied but not what is returned (presumably the new item's ID/key), how the link type is chosen, or error conditions. Adequate to select the tool, thin on what to expect after calling it.

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 all four parameters (platform, workItemId, titlePrefix, includeAttachments) are already documented in the schema. The description adds only high-level confirmation that fields and labels are copied and implies attachments are conditional, without adding format or constraint detail beyond the schema.

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 ('clone a work item') plus the scope of what is copied: fields, labels, and an auto-link back to the original. This is clearly distinct from create_work_item or update_work_item, though it does not explicitly contrast with migrate_work_item, which is the closest sibling in intent.

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 alternatives are named. The agent must infer that this is the right tool when it wants a copy that stays linked to the source rather than a fresh item or a migration.

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