Skip to main content
Glama
Polarion MCP Server — 2023 兼容版

Polarion MCP Server — 2023 兼容版

polarion_unlink_work_items

Remove a traceability link between two work items by discovering the existing link and trying documented delete-path variants across Polarion releases; use dry run to preview candidate requests.

Instructions

Remove a traceability link between two Work Items.

Polarion's delete-link path differs between releases, so this tool discovers the existing link first and then tries the documented path variants in order.

Args: work_item_id: The source Work Item id. target_work_item_id: The linked Work Item id to remove. project_id: Project id. Inferred from the source id when omitted. role: Optional role id to disambiguate when several links exist between the pair. dry_run: Return the candidate requests without deleting anything.

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": {
      "work_item_id": "<work_item_id>",
      "target_work_item_id": "<target_work_item_id>"
    },
    "name": "polarion_unlink_work_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNo
dry_runNo
project_idNo
work_item_idYes
target_work_item_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose non-obvious behavior: the tool performs a discovery step, then attempts multiple documented delete paths in order, which signals possible partial or version-dependent failure. It also clarifies that dry_run returns candidate requests without deleting anything. What is missing is permission requirements, what happens on failure, and whether the unlink can be undone.

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?

Purpose is front-loaded in a single sentence, followed by the release-variant rationale, then per-argument notes. The Args block mirrors the schema's property names but each line adds real information rather than restating types, so little is wasted.

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?

An output schema exists, so return values need not be explained, and the description covers the mutation's mechanics, argument meanings, and the dry_run escape hatch. For a multi-path delete operation with zero annotations, adding permission or failure-mode notes would complete it.

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?

Schema coverage is 0%, so the description must compensate, and it does for all five parameters: project_id is inferred from the source id when omitted, role only matters when several links exist between the pair, and dry_run returns candidates without deleting. That is meaningful semantics the bare schema does not provide.

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?

States a specific verb and resource: "Remove a traceability link between two Work Items." This is unambiguously the inverse of polarion_link_work_items and distinct from polarion_get_linked_work_items, so an agent can select it without opening a schema.

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 description gives useful operational context – it discovers the existing link first and tries path variants, and explains when to supply role (several links exist between the pair) and what dry_run is for. It never names a sibling or states an explicit when-not, e.g. directing the agent to polarion_get_linked_work_items first to find the link, so guidance stays implied rather than decisive.

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