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 Jira requirements from a QTM4J test cycle by specifying requirement keys or unlinking all at once. Clean up links before repopulating the 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
Install Server

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint false, destructiveHint false), the description discloses that keys are auto-resolved to internal IDs, unLinkAll ignores requirementKeys, and partial failures produce warnings while remaining requirements are still unlinked. This gives the agent an accurate model of the tool's side effects and failure behavior.

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 longer than average but well-organized into Parameters, Output Description, Use Cases, Examples, and Hints. Each section serves a purpose, though there is some redundancy between the parameter list and the hints sections that prevents a perfect score.

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?

The description covers prerequisites, key formats, parameter selection rules, output behavior, and partial failure handling. With an output schema present and this level of contextual detail, an agent has everything needed to invoke the tool correctly and interpret results.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds value by providing concrete format examples ('SCRUM-TR-1', ['SCRUM-1', 'SCRUM-2']), emphasizing the mutual exclusion between requirementKeys and unLinkAll, and explaining automatic resolution behavior. This is a meaningful supplement to the schema.

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 opens with a specific verb and resource: 'Unlink one or more Jira requirements from a QTM4J test cycle by requirement keys, or unlink all requirements at once with unLinkAll.' This clearly distinguishes the tool from sibling qtm4j_unlink_requirements_from_test_case and other unlink variants by naming the target resource (test cycle) and the two operational modes.

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

Usage Guidelines5/5

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

The description provides explicit use cases, a prerequisite hint ('set_project_context must be called before this tool. NEVER auto-select a project'), and clear guidance on choosing between requirementKeys and unLinkAll. It leaves no ambiguity about when to invoke this tool versus alternatives.

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

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