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

Polarion MCP Server — 2023 兼容版

polarion_get_work_item

Fetch a single Polarion Work Item by ID to review its fields, custom fields, description, and traceability links, with options to include linked/backlinked items or limit description length.

Instructions

Get one Work Item by id with its fields, custom fields and traceability links.

Args: work_item_id: Work Item id, e.g. 'PROJ-123'. project_id: Project id. Inferred from the Work Item id when omitted. include_links: Fetch linked and backlinked work items with their link roles. description_limit: Truncate the description to this many characters. include_custom_fields: Include configured custom fields.

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

Input Schema

NameRequiredDescriptionDefault
project_idNo
work_item_idYes
include_linksNo
description_limitNo
include_custom_fieldsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. It does disclose that description output can be truncated via description_limit and that links and custom fields are opt-in payload expansions, which helps an agent predict response size, but it never states the read-only nature, permission requirements, or what happens if the id is unknown.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence states the outcome, followed by a tight per-argument list with no filler. Every line adds information an agent would otherwise have to guess.

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?

With an output schema present, the description does not need to describe return values, and the read-only intent is clear from 'Get'. The gaps are minor: no failure modes and no note on how link roles appear, but for a single-resource fetch this is close to sufficient.

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 largely does: it gives an id format example ('PROJ-123'), explains that project_id is derived from the work item id when omitted, and states what include_links, description_limit and include_custom_fields actually do. It stops short of documenting default values (schema covers those) and does not explain what a description_limit of 0 or negative means.

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 gives a specific verb and resource: 'Get one Work Item by id', and enumerates what is returned (fields, custom fields, traceability links). The singular 'one Work Item by id' implicitly distinguishes it from the plural list sibling polarion_get_work_items, but no sibling is named explicitly.

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 guidance on when to use this tool versus polarion_get_work_items, polarion_search_work_items, or polarion_get_linked_work_items. The only usage-adjacent statement is 'Inferred from the Work Item id when omitted', which is parameter behavior rather than tool selection advice.

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