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

Polarion MCP Server — 2023 兼容版

polarion_get_comments

Retrieve comments for a specific Polarion work item using its ID; optionally set project ID and limit to control results.

Instructions

List comments on a Work Item.

Args: work_item_id: Work Item id. project_id: Project id. Inferred from the id when omitted. limit: Maximum comments to return.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
project_idNo
work_item_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about ordering of returned comments, pagination/truncation semantics of the default limit of 100, or required permissions. The only behavioral hint is the implicit read-only nature of "List"; the output schema covers the return shape, which limits the damage.

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 the Args block is terse, with no filler. The docstring-style layout is utilitarian rather than polished but every line carries information.

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?

For a simple three-parameter read tool with an output schema and no annotations, the definition covers purpose and parameters adequately. It is still incomplete on ordering, truncation behavior when limit is hit, and error conditions for a bad work_item_id.

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 doing real work: it defines work_item_id, and adds genuinely non-obvious semantics for project_id ("Inferred from the id when omitted") and limit ("Maximum comments to return"). Identifier formats and the default value of limit are still absent, keeping it below a 5.

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 states a specific verb and resource ("List comments on a Work Item"), which clearly separates it from the write-side sibling polarion_add_comment. It does not, however, explicitly contrast itself with any sibling or name a related retrieval tool such as polarion_get_work_item_revisions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: no statement of when to call this versus polarion_get_work_item or polarion_add_comment, no prerequisites, no note on what happens for a nonexistent work item. The agent must infer usage entirely from the tool name and the single required argument.

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