Skip to main content
Glama

list_commit_statuses

Read-only

Fetch CI/CD commit statuses from a GitLab project by commit SHA, with filters for ref, stage, pipeline, and pagination to review build results.

Instructions

List statuses for a commit. Use this for a collection of resources; choose the corresponding get tool when you already know the single resource to inspect. It is read-only and does not mutate GitLab data; missing resources, invalid identifiers, insufficient permission, and rate limits are returned as errors. When project_id or group_id is accepted, provide the numeric ID or complete URL-encoded path described by the schema; use required identifiers and pagination fields exactly as documented.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNoReturn all statuses, not only latest ones
refNoFilter statuses by Git ref
shaYesThe commit hash or name of a repository branch or tag
nameNoFilter statuses by status name or context
pageNoPage number for pagination (default: 1)
sortNoSort direction
stageNoFilter statuses by build stage
order_byNoField to order statuses by
per_pageNoNumber of items per page (max: 100, default: 20)
project_idYesProject ID or complete URL-encoded path to project
pipeline_idNoFilter statuses by pipeline ID
Install Server

TDQS

A4.1/5.0
Behavior5/5

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

The description explicitly states 'It is read-only and does not mutate GitLab data' and lists error conditions ('missing resources, invalid identifiers, insufficient permission, and rate limits are returned as errors'). This goes beyond the readOnlyHint annotation and provides concrete behavioral expectations.

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

Conciseness2/5

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

The description is verbose and repetitive. For example, it states 'It is read-only and does not mutate GitLab data' and later repeats similar guidance about identifiers. It could be shortened to the core purpose and a brief usage note. The lack of conciseness reduces clarity.

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

Completeness4/5

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

It covers the key aspects: purpose, usage distinction, read-only nature, error behavior, and parameter handling. It does not explain the return format, but since no output schema is provided, that's acceptable. It is relatively complete given the tool's scope.

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

Parameters3/5

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

The schema covers 100% of parameters with descriptions, so the baseline is 3. The description adds only a generic reminder about project_id/group_id and pagination, which is largely redundant with the schema. It does not clarify any parameter semantics beyond what the schema already provides.

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 description clearly states 'List statuses for a commit' – a specific verb, resource, and scope. It also explicitly contrasts with a 'get tool' for a single resource, distinguishing it from potential sibling tools like get_commit or get_merge_request_status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides direct guidance: 'Use this for a collection of resources; choose the corresponding get tool when you already know the single resource to inspect.' This is helpful, though it doesn't name a specific alternative tool. It also mentions pagination and required identifiers, but in a generic way.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zereight/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server