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

Polarion MCP Server — 2023 兼容版

polarion_perform_workflow_action

Executes a workflow action such as approve or reopen on a Polarion Work Item using an action ID; supports dry-run requests and infers project ID when omitted.

Instructions

Execute a workflow action (approve, reopen, ...) on a Work Item.

Args: work_item_id: Work Item id. action: Action id returned by polarion_get_workflow_actions. project_id: Project id. Inferred from the id when omitted. dry_run: Build the 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>",
      "action": "<action>"
    },
    "name": "polarion_perform_workflow_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
dry_runNo
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.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose one real trait beyond the schema — that dry_run builds the request without sending it — but says nothing about whether the transition is irreversible, what permissions are required, or what happens on an invalid action id.

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 purpose sentence is front-loaded and each Args entry is one short line, so nothing is wasted. Minor roughness from the trailing ellipsis in "(approve, reopen, ...)" and the redundant "Work Item id" phrasing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 no explanation. For a state-mutating tool with zero annotation coverage, though, the description should say more about irreversibility and failure modes (e.g. action not valid for the current state).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 does list all four parameters. However most entries only restate the name and type ("Work Item id", "Action id"); the only substantive additions are the cross-reference for action and the rule that project_id is inferred from the work item id when omitted.

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 description names a concrete verb and resource ("Execute a workflow action ... on a Work Item") and gives examples (approve, reopen). It implicitly distinguishes itself from the sibling polarion_get_workflow_actions by referring to that tool's output, but it never states the contrast explicitly.

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?

"Action id returned by polarion_get_workflow_actions" establishes the required prerequisite call chain, which is genuine when-to-use context. It stops short of any exclusions, e.g. it never says when to prefer this over polarion_update_work_item for state changes.

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