Skip to main content
Glama
mungowang
by mungowang

gitlab_commit_list

Read-only

List repository commits on a branch, tag, or SHA to inspect what a merge request's source branch contains beyond its diff.

Instructions

List repository commits on a ref. Use it to see what a merge request's source branch contains beyond the diff.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNobranch name, tag or commit SHA
pageNo1-based page number; see pagination.nextPage in the result
perPageNoitems per page, max 100 (GitLab default is 20)
projectYesproject id ('42') or full path ('group/subgroup/app'); a path is URL-encoded for you

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

The readOnlyHint annotation already declares the safety profile, so the description's job is lighter. It adds no detail about ordering, default ref behavior, or result size limits; the pagination hint lives only in the schema, not the description. Adequate but thin beyond annotations.

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

Conciseness5/5

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

Two sentences, zero filler, with the core action front-loaded before the usage hint. Every clause earns its place.

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?

An output schema exists, so return-value explanation is unnecessary, and the readOnly annotation covers the safety profile. What remains unstated — commit ordering and default-ref behavior — is minor for a simple list tool.

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?

Schema description coverage is 100%, with each parameter (ref, page, perPage, project) documented including encoding and page-size caps, so the baseline is 3. The description's phrase 'on a ref' adds no syntax or format detail beyond what the schema already provides.

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?

Specific verb ('List') plus resource ('repository commits') and scope ('on a ref') make the purpose unambiguous. It stops short of explicitly distinguishing itself from near siblings such as gitlab_mr_changes, though the 'beyond the diff' phrasing gestures at the boundary.

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?

The second sentence gives a concrete when-to-use scenario: inspecting a merge request's source branch contents beyond the diff, which implicitly positions it against gitlab_mr_changes. No explicit when-not or prerequisite guidance is offered, but the context is clear.

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