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

Polarion MCP Server — 2023 兼容版

polarion_get_test_run

Retrieve a test run by ID, optionally including individual test records and a pass/fail summary; set a record limit to control how many records are read.

Instructions

Get a Test Run with an optional pass/fail summary of its test records.

Args: test_run_id: Test Run id. project_id: Project id. Defaults to POLARION_DEFAULT_PROJECT. include_records: Include individual test records and a result summary. record_limit: Maximum test records to read.

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": {
      "test_run_id": "<test_run_id>"
    },
    "name": "polarion_get_test_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNo
test_run_idYes
record_limitNo
include_recordsNo

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?

With no annotations, the description still signals a read operation ('Get') and discloses that record reading is capped by record_limit, which implies results can be truncated. It does not state permission requirements, whether truncation is silent, or how the pass/fail summary is computed, so the full behavioral burden is not met.

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 operation, followed by a compact Args block covering each parameter. No filler, no repetition of the title, and the optional behavior is signalled up front.

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?

An output schema exists, so return structure need not be explained, and the read-only nature is clear. However, for a tool whose record fetching can silently truncate at 300 items, the description should say whether omitted records are lost or paginable.

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 coverage is 0%, and the description compensates by explaining all four parameters, including the non-obvious detail that project_id defaults to POLARION_DEFAULT_PROJECT (the schema only shows default null). It still omits the record_limit default of 300 and what happens when the limit is hit.

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?

States a specific verb and resource ('Get a Test Run') plus the optional enrichment ('pass/fail summary of its test records'), which implicitly separates it from polarion_list_test_runs (enumeration) and polarion_get_test_records (records-only). It never names a sibling, so an agent must infer the boundary rather than read it.

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/when-not guidance and no mention of alternatives such as polarion_get_test_records for record-only access or polarion_list_test_runs for discovery. The only hints are the word 'optional' and the parameter list, leaving selection between siblings to inference.

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