Skip to main content
Glama

Get merge request pipelines

gitlab_get_merge_request_pipelines
Read-onlyIdempotent

Retrieve the pipelines associated with a GitLab merge request to inspect CI/CD status and results.

Instructions

List the pipelines of a merge request.

GET /projects/:id/merge_requests/:iid/pipelines.

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_get_merge_request_pipelines"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
per_pageNo
project_idNo
merge_request_iidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv27.3.26

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered without the description. The description adds nothing beyond them: no word on pagination behavior, result ordering, or what an empty list means. Restating the REST endpoint path is not behavioral context for an agent.

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?

Two short lines with the purpose front-loaded, so it is not bloated. But the second line is a raw endpoint path that largely repeats the first sentence and consumes the only room available for parameter or pagination detail.

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 simple read-only list operation with annotations covering the safety profile and no output schema required, the description is barely sufficient. It falls short on pagination and parameter meaning, which an agent needs to page results or supply project_id and merge_request_iid correctly. Hmm, adjust: given four undocumented parameters at 0% coverage, gaps are real.

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% across four parameters, so the description must compensate and does not. It never mentions page or per_page, leaving pagination semantics undocumented in both schema and description, and only implicitly maps :id to project_id and :iid to merge_request_iid through the endpoint string.

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 and resource: "List the pipelines of a merge request." An agent can tell it retrieves pipelines scoped to a single merge request, which separates it from the broader pipelines sibling. It does not name that sibling explicitly, so no credit for sibling differentiation.

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 exclusions. The description never contrasts this with gitlab_get_pipelines (project-wide) or explains what a caller should do if the merge request has no pipelines. Usage must be inferred entirely from the name.

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