Skip to main content
Glama

update_work_item_link

Update the suspect or revision of an existing outgoing work item link. At least one field must be set; other fields remain unchanged.

Instructions

Update suspect / revision on one existing outgoing work item link.

Identify the link via list_work_item_links(direction="forward") (role + target address one link). suspect / revision tri-state: a value updates, None leaves unchanged — at least one required (all-None 400s). One link per call (no bulk PATCH). A role typo 404s.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesSource work item's project ID.
work_item_idYesSource work item ID (the link's outgoing endpoint).
roleYesLink role id of the existing link.
target_work_item_idYesTarget work item ID (the link's incoming endpoint).
target_project_idNoTarget's project; defaults to the source's project.
suspectNoNew suspect flag value; None leaves it unchanged.
revisionNoNew revision pin; None leaves the existing pin unchanged.
dry_runNoWhen True, return payload preview without calling Polarion.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
updatedYes
dry_runYes
link_idYes
payload_previewYes
Behavior4/5

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

Annotations already indicate a write operation with no destructiveness. The description adds key behavioral details: tri-state behavior for suspect/revision (value updates, None leaves unchanged), requirement for at least one, single-link constraint, and error on typo (404). These go beyond annotations.

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?

The description is extremely concise, roughly 100 words across four sentences. It front-loads the main purpose and efficiently packs essential usage details without redundancy or fluff.

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 an update tool with 8 parameters and an output schema, the description covers the core operation well: partial update behavior, identification method, and constraint. It does not discuss concurrency or error handling beyond the 404, but is sufficient given the tool's simplicity and existing annotations.

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 baseline is 3. The description adds value by explaining the tri-state semantics (suspect/revision) and the implicit rule that at least one must be non-None, which is not declared in the schema's required list. It also clarifies how to identify the link via role+target.

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 explicitly states 'Update suspect / revision on one existing outgoing work item link,' providing a specific verb and resource. It clearly distinguishes from sibling tools like create, delete, and list by focusing on modification of an existing link.

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 advises identifying the link via list_work_item_links and notes one link per call with no bulk PATCH. While it does not explicitly contrast with create or delete tools, the practical guidance and context are sufficient for effective use.

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