Skip to main content
Glama

List Pipeline Jobs

gitlab_list_pipeline_jobs
Read-onlyIdempotent

Retrieve and filter jobs from a GitLab pipeline by status, including retried jobs, to inspect execution results and troubleshoot failures.

Instructions

List jobs in a pipeline.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pipeline_id": "<pipeline_id>"
    },
    "name": "gitlab_list_pipeline_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
scopeNo
per_pageNo
project_idNo
pipeline_idYes
include_retriedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.7.0
    • removedInput schema / properties / include_retried / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / include_retried / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / page / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / page / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / per_page / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / per_page / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered structurally. The description adds nothing beyond that: no pagination behavior, no note on default ordering, no mention of what the retried-job filtering does.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The sentence is short and free of padding, but its brevity is under-specification rather than efficient communication. There is no structure because there is essentially no content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter list tool with an enum filter, pagination controls, and no output schema, one sentence is wholly inadequate. An agent cannot know how to page, which scope to choose, or how project_id interacts with pipeline_id.

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

Parameters1/5

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

Schema description coverage is 0% across six parameters, so the description carries the full burden and fails. It never explains scope values, page/per_page pagination, project_id scoping, or the meaning of include_retried.

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

Purpose2/5

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

The description 'List jobs in a pipeline' merely paraphrases the tool name and title 'List Pipeline Jobs' without adding distinguishing detail. It does not separate this tool from the closely named sibling gitlab_list_pipeline_trigger_jobs, so an agent cannot tell which one returns which kind of job.

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?

There is no when-to-use guidance, no stated prerequisites, and no mention of alternatives such as gitlab_get_pipeline_job or gitlab_list_pipeline_trigger_jobs. The only implied usage is 'when you want jobs', which the name already conveys.

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