Skip to main content
Glama

get_pipeline

Retrieve a GitLab pipeline's status, duration, and commit details by project and pipeline ID to track CI/CD execution.

Instructions

Get detailed status, duration, and commit info for a pipeline

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

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?

No annotations are provided, so the description carries the burden. 'Get' implies a safe read and it discloses what information is returned, but it says nothing about authentication, rate limits, error behavior for unknown IDs, or whether the call is idempotent.

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 a specific verb and enumerated return content. It is efficient, though terse enough to leave gaps in usage guidance.

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?

For a simple two-parameter read tool with fully documented schema and no output schema, the description adequately conveys what the call returns. The main shortfall is lack of usage/alternative context, which is minor for such a straightforward lookup.

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%, with project_id accepting numeric ID or namespace path and pipeline_id documented as numeric, so the schema does the heavy lifting. The description adds no parameter detail beyond what the schema already states, making the baseline 3 appropriate.

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?

The description gives a specific verb (Get) plus resource (pipeline) and even enumerates the returned fields (status, duration, commit info). It clearly distinguishes a single-pipeline lookup from sibling list_pipelines, though it does not explicitly reference any sibling by name.

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, no prerequisites, and no mention of alternatives such as list_pipelines or get_job. The usage is only implied by the 'get detail for a pipeline' framing.

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