Skip to main content
Glama

list_work_item_links

Read-only

Retrieve a work item's links in forward or backward direction; forward links include role and suspect status.

Instructions

List a work item's outgoing or incoming links.

One direction per call. Forward exposes role (parent, verifies, …) and suspect. Back falls back to a linkedWorkItems: Lucene query that drops the role, so back role is None — recover via forward on the source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesPolarion project ID.
work_item_idYesWork Item ID (e.g. 'MCPT-001').
directionNoforward
page_sizeNo
page_numberNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
total_countYes
pageYes
page_sizeYes
has_moreNo
Behavior5/5

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

The description reveals non-obvious behaviors: forward exposes role and suspect, back uses a Lucene query and returns None for role, with advice to recover via forward. This adds significant value beyond the readOnlyHint annotation, and there is no contradiction.

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 concise, with the main purpose front-loaded. It uses efficient phrasing and avoids unnecessary words. However, the second paragraph could be slightly more streamlined, but it remains clear and informative.

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?

Given the output schema exists, the description does not need to explain return values. It covers the essential behavioral differences between directions and the role attribute. It is sufficiently complete for a listing operation, though it could mention potential error scenarios or prerequisites.

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?

The schema covers 40% of parameters with basic descriptions (project_id, work_item_id, direction, page_size, page_number). The description adds deep behavioral meaning for the direction parameter, which is the most important one, and clarifies the difference between forward and back. This compensates for the moderate schema coverage.

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 'List a work item's outgoing or incoming links,' specifying the exact verb and resource. It distinguishes itself from sibling tools like create/update/delete work item links by focusing on listing, and explains the directional nuance.

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 explicitly says 'One direction per call' and explains the behavioral difference between forward and backward directions, including the Lucene query fallback and role behavior. It implicitly guides when to use each direction, though it doesn't explicitly list alternatives or exceptions.

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/devemberx/mcp-server-polarion'

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