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

Polarion MCP Server — 2023 兼容版

polarion_get_work_items

Retrieves multiple Polarion Work Items in a single call, letting you specify IDs, infer project prefixes, and limit description length to reduce payload size.

Instructions

Get several Work Items in one call.

Args: work_item_ids: List of Work Item ids, e.g. ['PROJ-1', 'PROJ-2']. project_id: Project id. Inferred per item from the id prefix when omitted. description_limit: Truncate each description to this many characters.

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_ids": "<work_item_ids>"
    },
    "name": "polarion_get_work_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNo
work_item_idsYes
description_limitNo

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?

No annotations are provided, so the description carries the burden, and it does disclose two non-obvious behaviors: project_id is inferred per item from the id prefix when omitted, and descriptions are truncated to a configurable limit. It does not say what happens for unknown ids, what ordering results come back in, or whether missing items are skipped or error out. The presence of an output schema reduces the need to describe return values.

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?

One front-loaded sentence states the core purpose, followed by a compact per-argument list with no filler. The docstring 'Args:' framing is slightly mechanical but each line earns its place.

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 three-parameter read tool with an output schema, the description covers the batch semantics, the id format, the inference rule, and the truncation control. Missing only edge-case behavior for invalid or nonexistent ids, which keeps it from full completeness.

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 largely does: it gives an example id format ('PROJ-1', 'PROJ-2') for work_item_ids, explains the fallback inference rule for project_id, and clarifies that description_limit is a per-item truncation length. The only gap is that it never restates the schema's default of 1000 for the truncation limit.

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?

"Get several Work Items in one call" gives a specific verb (get) and resource (Work Items) plus the batch scope, which implicitly distinguishes it from the singular polarion_get_work_item sibling. It stops short of an explicit sibling comparison but the purpose is unambiguous.

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 phrase "in one call" implies bulk retrieval should be preferred over repeated single fetches, and the project_id note implies ids may carry their own project prefixes. However, there is no explicit statement of when to use this versus polarion_search_work_items or polarion_get_work_item, and no stated limits or error expectations.

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