Skip to main content
Glama

migrate_work_item

Migrate work items bidirectionally between Jira and Azure DevOps, copying fields, mapped types, and optional comments or attachments to keep cross-platform tracking aligned.

Instructions

Migrate a work item between Jira and Azure DevOps (bidirectional). Copies fields, maps types, and optionally includes comments and attachments.

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": {
      "sourcePlatform": "<sourcePlatform>",
      "targetPlatform": "<targetPlatform>",
      "workItemId": "<workItemId>",
      "targetProject": "<targetProject>"
    },
    "name": "migrate_work_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
workItemIdYesThe work item ID to migrate
targetProjectYesTarget project key/name to create the item in
sourcePlatformYesSource platform
targetPlatformYesTarget platform (must differ from source)
includeCommentsNoWhether to copy comments
includeAttachmentsNoWhether to copy attachments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it omits key mutation behavior: whether the source work item is left intact or removed, whether re-running creates duplicates, what happens when field/type mapping is lossy or fails, and what permissions each platform requires. "Bidirectional" is also ambiguous between 'either direction' and 'two-way sync', which materially changes how an agent should invoke it.

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 short sentences, front-loaded with the core action and free of filler. It is efficient but slightly underspecified rather than overly verbose, so not quite top marks.

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?

For a six-parameter cross-platform mutation with no annotations and no output schema, the description says nothing about the resulting artifact (new key/ID returned?), error handling on partial migration, or side effects on the source. An agent knows broadly what it does but not enough to predict outcomes or handle failure.

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 six parameters are already documented, including the enum on sourcePlatform/targetPlatform and the 'must differ from source' constraint. The description corroborates the two optional booleans (comments, attachments) but adds no syntax, format, or failure semantics beyond the schema; 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?

States a specific verb and resource ("Migrate a work item") plus the exact platform pair (Jira and Azure DevOps) and what is transferred (fields, types, comments, attachments). It is clear about scope, but does not differentiate itself from the sibling clone_work_item, which an agent could easily confuse with it.

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?

Usage is only implied: the tool is for cross-platform movement, and "bidirectional" hints it works either jira→ado or ado→jira. There is no explicit when-to-use vs. when-to-use-clone_work_item or update_work_item guidance, and no stated preconditions such as required credentials or access to both platforms.

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