Skip to main content
Glama

Get pipeline jobs

gitlab_get_pipeline_jobs
Read-onlyIdempotent

Retrieves all jobs for a specific GitLab pipeline in a project, with pagination and filtering options. Use it to inspect pipeline job statuses, scopes, and retried jobs.

Instructions

Get jobs associated with a specific pipeline within a project.

Args: **kwargs: Additional parameters for the request (e.g., project_id, pipeline_id).

Returns: Response: A wrapper containing the original response and a list of Job models.

Raises: MissingParameterError: If the project_id or pipeline_id is missing. ParameterError: If invalid parameters are provided.

Input Schema

NameRequiredDescriptionDefault
pageNo
scopeNo
job_idNo
per_pageNo
max_pagesNo
project_idNo
pipeline_idNo
total_pagesNo
api_parametersNo
include_retriedNo
job_variable_attributesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv27.3.13

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior. The description adds useful behavioral details beyond annotations: the response wrapper contains the original response plus Job models, and it names MissingParameterError for missing project_id/pipeline_id and ParameterError for invalid parameters. It still omits pagination and filter behavior, so it is not a 5.

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?

The front-loaded first sentence states the core operation, and the Args/Returns/Raises structure is easy to scan. The **kwargs line is somewhat generic and redundant given the explicit schema properties, but overall the description is not bloated.

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 an 11-parameter read tool with no output schema and 0% schema descriptions, the description covers purpose, return shape, and two error conditions. It is still incomplete because most parameters and pagination/filter semantics are undisclosed, and usage relative to sibling job endpoints is not explained.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and there are 11 parameters; the description mentions only project_id and pipeline_id as effectively required and otherwise defers to **kwargs. It does not explain page, scope, job_id, per_page, max_pages, total_pages, api_parameters, include_retried, or job_variable_attributes, so it only partially compensates for the schema gap.

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?

The first sentence names a specific verb ('Get') and resource ('jobs associated with a specific pipeline within a project'), which distinguishes it from broader job-listing siblings such as gitlab_get_project_jobs by scoping to a pipeline. It is clear enough to select without opening the schema.

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?

The description gives no explicit when-to-use guidance, alternatives, or exclusions. It only states the resource, leaving the agent to infer that this is for pipeline-scoped job lists rather than project-wide jobs.

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

Deploy Server

Other Tools