Skip to main content
Glama

list_test_records

Read-only

Fetch test record summaries from a Polarion test run, filterable by result status, returning record IDs and defect links.

Instructions

List execution records of one test run — one row per test case iteration. For run metadata use get_test_run.

Filter by result (e.g. 'failed') or omit for all; not-yet-executed records have empty result. Lucene query is NOT supported here. Returns summaries — id is the exact value update_test_records takes as record_id; defect_id links the failure work item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoFilter by result enum ID (e.g. 'passed', 'failed', 'blocked').
page_sizeNo
project_idYesPolarion project ID.
page_numberNo
test_run_idYesTest run ID (e.g. 'TR-2026-01').

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
itemsYes
has_moreNo
page_sizeYes
total_countYes
Behavior4/5

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

Annotations provide readOnlyHint=true. Description adds that return is summaries, id matches update_test_records record_id, and defect_id links failure work item. No contradictions.

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?

Five concise sentences, front-loaded with purpose, then guidelines, filter info, and output semantics. No wasted words.

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?

Given output schema exists and 5 parameters, description covers main use case, result filtering, and key output fields. Pagination is implicit via schema defaults, but sufficient.

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 60%. Description adds meaning to result parameter (filter by enum ID, empty for not executed) and explains output fields. Other parameters well-covered by schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool lists execution records of one test run, one row per test case iteration, distinguishing it from get_test_run (metadata) and update_test_records (which uses the record_id).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly directs to use get_test_run for run metadata, states Lucene query is not supported, and explains result filter behavior with empty result for not-yet-executed records.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/devemberx/mcp-server-polarion'

If you have feedback or need assistance with the MCP directory API, please join our Discord server