Skip to main content
Glama
SmartBear

SmartBear MCP server

Official
by SmartBear

QTM4J: Unlink Requirements from Test Cycle

qtm4j_unlink_requirements_from_test_cycle

Remove one or more Jira requirements from a test cycle using requirement keys, or unlink all requirements at once. Clean up requirement links before repopulating a test cycle.

Instructions

Unlink one or more Jira requirements from a QTM4J test cycle by requirement keys, or unlink all requirements at once with unLinkAll.

Toolset: Test Cycles

Parameters:

  • cycleKey (string) required: Test cycle key in '{PROJECT_KEY}-TR-{id}' format (e.g., 'SCRUM-TR-1'). Resolved to the internal cycle UID automatically.

  • requirementKeys (array): List of Jira requirement keys to unlink (e.g., ['SCRUM-1', 'SCRUM-2']). Resolved to internal IDs automatically. Provide this OR unLinkAll — not both.

  • unLinkAll (boolean): If true, all requirements are unlinked from the cycle. Ignores requirementKeys.

Output Description: Confirmation with the cycle key and unlinked: true. Warnings are included if any requirements could not be resolved or unlinked.

Use Cases: 1. Remove one or more Jira requirements from a test cycle by key 2. Unlink all requirements from a test cycle at once 3. Clean up requirement links before repopulating a test cycle

Examples:

  1. Unlink two requirements by key

{
  "cycleKey": "SCRUM-TR-1",
  "requirementKeys": [
    "SCRUM-1",
    "SCRUM-2"
  ]
}

Expected Output: Requirements SCRUM-1 and SCRUM-2 unlinked from test cycle

  1. Unlink all requirements from a cycle

{
  "cycleKey": "SCRUM-TR-1",
  "unLinkAll": true
}

Expected Output: All requirements unlinked from test cycle

Hints: 1. PREREQUISITE: set_project_context must be called before this tool. NEVER auto-select a project. 2. CYCLE KEY FORMAT: '{PROJECT_KEY}-TR-{id}' — e.g. 'SCRUM-TR-1'. Resolved to internal UID automatically. 3. Requirement keys follow Jira issue key format: '{PROJECT_KEY}-{number}' (e.g. 'SCRUM-1'). 4. Provide either requirementKeys or unLinkAll: true — not both. 5. unLinkAll: true removes every requirement from the cycle — no need to list them individually. 6. If a requirement key cannot be resolved or unlinked, it is reported in warnings and other requirements are still unlinked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cycleKeyYesTest cycle key in '{PROJECT_KEY}-TR-{id}' format (e.g., 'SCRUM-TR-1'). Resolved to the internal cycle UID automatically.
unLinkAllNoIf true, all requirements are unlinked from the cycle. Ignores requirementKeys.
requirementKeysNoList of Jira requirement keys to unlink (e.g., ['SCRUM-1', 'SCRUM-2']). Resolved to internal IDs automatically. Provide this OR unLinkAll — not both.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cycleKeyYes
unlinkedYes
Behavior4/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, which are consistent with the description's behavioral details. The description adds context: automatic resolution of keys to internal IDs, partial success with warnings, and the effect of unLinkAll. This goes beyond the annotations.

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 sections (toolset, parameters, output description, use cases, examples, hints). While it is lengthy, every part contributes useful information, and the core purpose is front-loaded. A slightly more concise treatment could be possible, but the structure aids clarity.

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

Completeness5/5

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

Given the tool's moderate complexity (two mutually exclusive parameters, prerequisite), the description is complete: it explains output, includes examples, and provides hints for proper use. An output schema is indicated in signals, and the description covers expected results. No gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All three parameters are described in the schema (100% coverage). The description adds value by explaining key formats, the mutual exclusivity of requirementKeys and unLinkAll, and providing examples. This makes parameter usage clear beyond what the schema alone offers.

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 tool's action: unlinking one or more Jira requirements from a QTM4J test cycle. It specifies two modes (by requirement keys or unlink all) and provides use cases. This distinguishes it from sibling tools like qtm4j_link_requirements_to_test_cycle or qtm4j_unlink_requirements_from_test_case.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description includes explicit use cases (e.g., cleanup before repopulating) and a prerequisite hint ('set_project_context must be called before'). It also warns against auto-selecting a project. While it doesn't explicitly list when not to use, the sibling list provides alternatives for other unlinking actions.

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/SmartBear/smartbear-mcp'

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