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

Polarion MCP Server — 2023 兼容版

polarion_update_work_item

Update only specified Polarion work item fields via PATCH, including title, description, status, custom fields, and assignees. Use dry-run to preview the JSON:API request before sending.

Instructions

Update Work Item fields with PATCH. Only the supplied fields change.

Args: work_item_id: Work Item id. project_id: Project id. Inferred from the id when omitted. title: New title. description: New description text or HTML. status: New status. Some workflows only allow status changes through polarion_perform_workflow_action; if PATCH is rejected, use that tool. custom_fields: Map of custom field id to new value. assignees: Replace the assignee list with these user ids. dry_run: Build and return the JSON:API request without sending it.

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_update_work_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
statusNo
dry_runNo
assigneesNo
project_idNo
descriptionNo
work_item_idYes
custom_fieldsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does substantial work: it discloses partial-update semantics, that project_id is inferred when omitted, that assignees replaces rather than appends to the list, that dry_run returns the JSON:API request without sending, and that some workflows block status changes. It does not mention permission/auth requirements, reversibility, or side effects such as notifications or workflow triggers.

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 leading sentence is front-loaded and the Args list is a clean, scannable structure rather than prose. A few entries are filler ('New title.', 'New status.') that could be dropped or merged into the type information. Overall tight for eight parameters.

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 eight-parameter mutation tool with zero schema descriptions and no annotations, the definition supplies the parameter meanings and the key behavioral caveats. An output schema exists, so return values need not be explained. The remaining gap is operational context — permissions needed and what happens to unspecified fields or workflow state — which an agent would otherwise have to discover by trial.

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 Args block is the only parameter documentation and it covers all eight. It adds genuine meaning for the non-obvious ones: project_id inference, assignees as a replacement list, custom_fields as a field-id-to-value map, and dry_run as a preview mode. Entries like 'work_item_id: Work Item id.' and 'title: New title.' are pure restatement with no added value.

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?

The first sentence names a specific verb (update), resource (Work Item), and mechanism (PATCH), plus the important qualifier that only supplied fields change. That partial-update semantics distinguishes it from polarion_create_work_item and polarion_get_work_item without needing the schemas. It stops short of explicitly naming those siblings as the non-alternatives.

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 status arg entry gives an explicit conditional route: if the workflow rejects a status PATCH, use polarion_perform_workflow_action instead. That is real when-to-use-this-vs-that guidance for the one field with a known pitfall. No guidance is given for other overlapping cases, such as when to prefer this over a bulk or link-related tool.

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