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

Polarion MCP Server — 2023 兼容版

polarion_list_test_runs

List test runs in a Polarion project, filter them with optional Lucene queries, and control result limits or include templates when needed.

Instructions

List Test Runs in a project.

Args: project_id: Project id. Defaults to POLARION_DEFAULT_PROJECT. query: Optional Lucene query, e.g. 'status:inProgress' or 'title:"Release 2"'. limit: Maximum test runs to return. include_templates: Include Test Run templates (excluded by default).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
project_idNo
include_templatesNo

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 carries the burden, and it does disclose useful behavior: the project defaults to POLARION_DEFAULT_PROJECT, the query is Lucene syntax with worked examples, and templates are excluded unless requested. It does not mention pagination, ordering, or the fact that this is a read-only operation, leaving gaps for a tool with zero annotation coverage.

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?

Each line documents a distinct parameter or the core purpose; nothing is redundant, and the leading purpose sentence is front-loaded before the Args block. The docstring format is compact and skimmable.

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 the description covers purpose plus every parameter's meaning and defaults. It lacks only guidance on when to prefer this over sibling retrieval tools.

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 does: all four parameters are explained, including the Lucene query format with two concrete examples and the non-obvious default behavior of include_templates. Only the limit's interaction with pagination/return size is left unstated.

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?

"List Test Runs in a project" gives a specific verb (List) and resource (Test Runs) scoped to a project, which an agent can distinguish from polarion_get_test_run or polarion_create_test_run by name alone. It stops short of explicitly naming the sibling it differs from or stating scope limits (e.g., single-project only).

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 by the parameter docs — defaults to POLARION_DEFAULT_PROJECT, optional Lucene query, template exclusion — so an agent can infer when it applies. There is no explicit when-to-use vs. polarion_get_test_run/polarion_search_work_items guidance or exclusion statement.

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