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

Polarion MCP Server — 2023 兼容版

polarion_get_test_records

List test records for a Test Run and return a result summary, with optional project and limit parameters to control scope and output.

Instructions

List test records of a Test Run with a result summary.

Args: test_run_id: Test Run id. project_id: Project id. Defaults to POLARION_DEFAULT_PROJECT. limit: Maximum records to return.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
project_idNo
test_run_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'List' implies a non-mutating call and 'result summary' hints at the payload, but the description never says whether limit silently truncates results, whether pagination exists, or what access is required.

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?

Docstring format with the purpose sentence front-loaded, then a tight per-argument list. Every line is short and functional; the only weakness is that terseness tips into under-specification rather than waste.

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?

With only three simple params and an output schema handling the return shape, the definition is minimally adequate. It still leaves an agent guessing about truncation behavior and default project resolution nuance, which matters for a read of a potentially large record set.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 explain all three params, and it does attempt to: test_run_id and limit get thin glosses while project_id usefully discloses the POLARION_DEFAULT_PROJECT fallback, which the schema's null default alone does not convey. However 'Test Run id' and 'Maximum records to return' are near-tautological and the limit default of 300 goes unmentioned.

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: 'List test records of a Test Run with a result summary.' The scoping to a Test Run and the mention of a result summary make it distinguishable from polarion_get_test_run and polarion_add_test_record, though 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the phrase 'of a Test Run' — an agent can infer this is the read path for records belonging to an existing run. There is no explicit when-to-use, prerequisites, or pointer to alternatives such as polarion_get_test_run for run-level metadata.

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