Skip to main content
Glama

List Pipelines

gitlab_list_pipelines
Read-onlyIdempotent

List pipelines for a GitLab project, filtering by status, scope, ref, or source to monitor CI/CD activity and troubleshoot build results.

Instructions

List pipelines for a project.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gitlab_list_pipelines"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNo
shaNo
pageNo
sortNo
scopeNo
sourceNo
statusNo
order_byNo
per_pageNo
usernameNo
project_idNo
yaml_errorsNo
updated_afterNo
updated_beforeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changedv1.7.0
    • 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"
      +]
    • removedInput schema / properties / sha / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / sha / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / source / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / source / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / updated_after / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / updated_after / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / updated_before / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / updated_before / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / username / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / username / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / yaml_errors / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / yaml_errors / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

C2.1/5.0
Behavior2/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is fully covered. The description adds nothing beyond that: no pagination behavior (despite page/per_page parameters), no default sort order, no statement about result ordering or volume, and no hint that stale or running pipelines are included.

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 single sentence is front-loaded and free of padding, so it is not verbose. But its brevity comes from omission rather than efficiency — there is no structure to help an agent choose parameter values.

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?

A 14-parameter, filter-heavy list tool with no output schema and no parameter documentation requires far more than one sentence. The description leaves the agent without the information needed to page results or filter correctly, making it inadequate for the tool's complexity.

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?

With 14 parameters at 0% schema description coverage, the description carries the full burden, yet it only implicitly references project_id. Nothing explains ref, sha, scope, source, status, username, yaml_errors, updated_after/updated_before, order_by, sort, or pagination semantics, even though the enums alone leave meanings ambiguous (e.g. how scope 'branches' interacts with ref).

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

Purpose3/5

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

The description states a specific verb and resource ("List pipelines") and the entity it is scoped to (a project), so the basic purpose is clear. However, it does nothing to separate this tool from close siblings such as gitlab_list_merge_request_pipelines or gitlab_list_pipeline_schedule_pipelines, and it never mentions that the listing can be scoped by status, source, scope, or ref.

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 or when-not-to-use guidance, no mention of alternatives, and no indication of prerequisites such as access level or project visibility. An agent must infer everything about applicability from the tool name alone.

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