Skip to main content
Glama

get_pipeline_test_report

Fetch JUnit test report summary for a GitLab pipeline to quickly view passed, failed, and errored test suites and error details.

Instructions

Get JUnit test report summary (total, passed, failed test suites and error details)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically.
pipeline_idYesNumeric ID of the pipeline to fetch test results for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the return shape at a high level (counts plus error details), but says nothing about permissions, what happens when no test report exists, or pagination/truncation behavior.

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?

A single front-loaded sentence with no filler; the resource and the returned fields are stated up front. Slightly terse given the behavioral gaps, but no sentence is wasted.

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?

For a two-param read tool with full schema coverage and no output schema, the description is adequate: it conveys the key returned fields. It falls short on edge-case behavior (missing reports, empty results) that an agent would want before calling.

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 100%, so both project_id and pipeline_id are fully documented in the schema, including the string-or-numeric namespace format and URL-encoding note. The description adds no parameter-level detail, so the baseline of 3 applies.

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 (Get) and resource (JUnit test report summary), and even enumerates what the summary contains (total, passed, failed suites, error details). This distinguishes it from generic get_pipeline, though it never names that sibling explicitly.

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?

No when-to-use guidance and no alternatives named. An agent must infer that this is only relevant for pipelines that generate JUnit reports, and nothing says whether the pipeline must have completed or contain test artifacts. Pure statement of purpose with no routing information.

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