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

Polarion MCP Server — 2023 兼容版

polarion_delete_work_item

Permanently deletes a Polarion work item by ID, with project inferred when omitted. Use dry_run to preview the delete request before removing anything.

Instructions

Delete a Work Item permanently. Requires write access.

Args: work_item_id: Work Item id. project_id: Project id. Inferred from the id when omitted. dry_run: Return the request that would be sent without deleting anything.

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

Input Schema

NameRequiredDescriptionDefault
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 burden and does disclose the two most important traits: the operation is permanent/irreversible and requires write access. However, it says nothing about whether linked items, comments, or test records are cascaded or orphaned, nor whether a confirmation or not-found error is raised — material gaps for a destructive tool.

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 destructive action and access requirement are front-loaded in one sentence, followed by a compact Args list. Every line adds information; the Google-style docstring format is slightly redundant with the schema but not wasteful.

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 3-parameter destructive tool with an output schema (so return values need no explanation), the description covers the action, the risk, the auth requirement, and all three parameters. The remaining gap is side-effect scope — what surviving references look like after deletion — which prevents a 5.

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 does: work_item_id is identified, project_id is explained as optional and inferred from the id when omitted, and dry_run is described as returning the request without performing the delete. That adds real meaning the bare schema (no descriptions, default null/false) does not convey.

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?

"Delete a Work Item permanently" gives a specific verb (delete) plus resource (Work Item) and adds the qualifier "permanently" that separates it from polarion_update_work_item or archiving-style operations. It is clear enough to select without opening the schema, though it never explicitly names what it is not (e.g. update/link siblings).

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?

The only usage signal is the prerequisite "Requires write access," which tells the agent when it is permitted but not when it is appropriate. There is no guidance on when to prefer deletion over update, nor any warning about when not to use it (e.g. when linked test records or comments exist).

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