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

Polarion MCP Server — 2023 兼容版

polarion_create_test_run

Create a Polarion test run with title, project, template, manual or automated type, and planned dates; enable dry_run to build and validate the request before writing.

Instructions

Create a Test Run. Requires write access.

Args: title: Test Run title. project_id: Project id. Defaults to POLARION_DEFAULT_PROJECT. template_id: Optional Test Run Template Work Item id. test_run_type: 'manual' (default) or 'automated'. planned_start: ISO-8601 date or datetime. planned_end: ISO-8601 date or datetime. dry_run: Build the request without sending it.

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": {
      "title": "<title>"
    },
    "name": "polarion_create_test_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
dry_runNo
project_idNo
planned_endNo
template_idNo
planned_startNo
test_run_typeNomanual

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful behaviors: write access is required, and dry_run builds the request without sending it. It does not state what happens on duplicate titles, whether creation is idempotent, how template_id alters the resulting work item, or any error behavior, leaving meaningful mutation semantics undisclosed.

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?

Purpose and the access requirement are front-loaded in the first two sentences, followed by a compact Args list with no filler. Every line maps to a parameter or a constraint; nothing is redundant.

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 7-parameter creation tool, the definition covers the essential inputs and their formats, and an output schema exists so return values need not be described. The remaining gap is behavioral depth around templates and error handling, which is a modest shortfall rather than a blocking one.

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: all seven parameters are explained, including the environment-variable default for project_id, the 'manual'/'automated' enumeration for test_run_type with its default, and the ISO-8601 format for planned_start/planned_end. Only validation details and failure modes for bad values are absent.

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 opens with a specific verb+resource ('Create a Test Run'), which is unambiguous and distinct from read siblings like polarion_get_test_run or polarion_list_test_runs. It does not explicitly contrast with polarion_create_work_item, which could also produce a Test Run-like artifact, so sibling differentiation is left implicit.

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?

The only usage constraint given is 'Requires write access.' There is no statement of when to prefer this tool over polarion_create_work_item or when to add records via polarion_add_test_record instead. The agent must infer the selection context from the tool name alone.

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