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

Polarion MCP Server — 2023 兼容版

polarion_get_linked_work_items

Retrieve a Work Item's traceability links, including roles like verifies or implements, and choose incoming, outgoing, or both directions to understand dependencies and coverage.

Instructions

Read traceability links of a Work Item, including roles such as 'verifies' or 'implements'.

Args: work_item_id: Work Item id. project_id: Project id. Inferred from the id when omitted. direction: 'outgoing', 'incoming' or 'both' (default).

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>"
    },
    "name": "polarion_get_linked_work_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
directionNoboth
project_idNo
work_item_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/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 behavioral burden. 'Read' signals a non-destructive operation and the direction default of 'both' is disclosed, but nothing is said about permissions, whether links are traversed recursively, or volume of results. The presence of an output schema relieves it of explaining return values.

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?

Purpose is front-loaded in one sentence, followed by a compact Args block with one line per parameter. No filler, no repetition of the title, and every line earns its place.

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?

For a three-parameter read tool with a rich output schema, the definition covers purpose and all parameter meanings, which is enough to invoke it correctly. It is slightly thin on behavioral context such as permissions and result scope, but nothing critical for selection or invocation is missing.

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 description coverage is 0%, so the description must compensate, and it largely does: all three parameters are defined, including the non-obvious inference that project_id is derived from work_item_id when omitted and the valid direction values with 'both' as default (the schema itself does not enumerate them). It stops short of explaining how direction interacts with the returned roles.

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: 'Read traceability links of a Work Item', and clarifies the domain by naming link roles such as 'verifies' or 'implements'. This clearly separates it from the mutation siblings polarion_link_work_items and polarion_unlink_work_items, though no sibling is named explicitly.

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 implied by the purpose: retrieve the links of a given work item. The description does not say when to prefer this over polarion_get_work_item or when link traversal is or isn't appropriate, and gives no prerequisites or exclusions, so the agent must infer the context.

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