Skip to main content
Glama

gl_list_failed_pipelines

List recent failed GitLab CI pipelines for a project to help identify and investigate build failures.

Instructions

List recent failed GitLab CI pipelines for a project.

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": {
      "project": "<project>"
    },
    "name": "gl_list_failed_pipelines"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
projectYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not say what counts as "failed" (status=failed only, or also canceled/manual), what recency window applies, whether results are sorted or paginated, or what permissions the token needs. An output schema exists, so return-shape disclosure is not required, but the remaining gaps are substantial for a no-annotation tool.

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 scope qualifier "for a project" lands before any elaboration. Its brevity is close to under-specification rather than waste, which is penalized elsewhere.

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-parameter read-only listing tool with an output schema, the core intent is conveyed. Still missing are the recency definition, the `limit` semantics, and the expected `project` identifier format — details an agent needs to call it correctly.

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%, so the description must compensate. It implies the `project` parameter is a project selector but never states whether it accepts a numeric ID or a namespace/path string, and the `limit` parameter (default 10) is not mentioned at all.

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 ("List") and resource ("recent failed GitLab CI pipelines") scoped to a project, which is clearly distinct from gl_get_pipeline (single pipeline retrieval). It stops short of differentiating from the analogous gh_list_failed_runs, but the verb+resource combination is unambiguous.

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 statement of when to use this versus gl_get_pipeline or the GitHub/Jenkins equivalents, and no preconditions or exclusions. The only implicit guidance is the word "recent," which is never defined.

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