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

Polarion MCP Server — 2023 兼容版

polarion_list_enumerations

List a Polarion project's enumerations—status, severity, priority, type—or read one enumeration and its allowed values to retrieve valid workflow options.

Instructions

List project enumerations (status, severity, priority, type, ...), or read one enumeration with its allowed values.

Args: project_id: Project id. Defaults to POLARION_DEFAULT_PROJECT. enumeration_id: Optional enumeration id, e.g. 'status' or 'workItemType'. limit: Maximum enumerations to return.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "polarion_list_enumerations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
project_idNo
enumeration_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it correctly signals a read-only operation through 'List' and 'read' and discloses the default-project fallback and the limit cap. It says nothing about permissions, whether output is paginated, or what happens when enumeration_id does not exist, which are the remaining behavioral questions for a list tool.

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?

A single front-loaded sentence states the two modes, followed by a compact Args block with one line per parameter. No redundant restatement of the name or title and nothing extraneous.

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?

An output schema exists, so return values need not be described, and all three parameters are explained despite 0% schema coverage. The only shortfall is the undefined edge behavior when enumeration_id is invalid or when limit interacts with single-record mode.

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%, yet the description documents all three parameters: project_id with its POLARION_DEFAULT_PROJECT fallback, enumeration_id with concrete examples ('status', 'workItemType'), and limit as the maximum enumerations returned. This compensates well for the empty schema, though it does not clarify whether limit applies in single-enumeration mode.

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 ('List project enumerations') plus the fields exposed (status, severity, priority, type) and a second mode ('read one enumeration with its allowed values'). It does not differentiate against the overlapping sibling polarion_list_work_item_types, which covers one of the enumeration ids named here, so the agent must still infer the boundary.

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?

Usage is implied through the parameters: omitting enumeration_id lists all enumerations, supplying it reads a single one, and omitting project_id falls back to POLARION_DEFAULT_PROJECT. There is no explicit when-not-to-use guidance and no naming of alternatives such as polarion_list_work_item_types.

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