Skip to main content
Glama

List Commits

gitlab_list_commits
Read-onlyIdempotent

List commits in a GitLab project with filters for branch, file path, author, and date range to inspect project change history.

Instructions

List commits in 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_commits"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNo
pageNo
pathNo
orderNo
sinceNo
untilNo
authorNo
per_pageNo
ref_nameNo
trailersNo
project_idNo
with_statsNo
first_parentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changedv1.7.0
    • removedInput schema / properties / all / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / all / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / author / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / author / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / first_parent / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / first_parent / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / page / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / page / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / path / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / path / type
      Added value: +[
      +  "string",
      +  "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 / since / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / since / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / trailers / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / trailers / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / until / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / until / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / with_stats / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / with_stats / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

D1.7/5.0
Behavior1/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 covered, but the description adds nothing on top: no default ref/branch behavior, no pagination semantics for page/per_page, no default ordering, and no indication of result volume. For a 13-parameter listing tool this is a pure restatement of the annotations with zero added behavioral context.

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 short sentence contains no filler and is front-loaded, but its brevity comes from under-specification rather than economy. There is no structure to help an agent scan the available filter categories.

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?

Given 13 optional parameters at 0% schema coverage, one enum, no output schema, and no annotations explaining GitLab-specific filtering semantics, the description is far too thin to support a correct invocation. An agent cannot tell which filters combine, which are mutually exclusive, or what a default call returns.

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?

Schema description coverage is 0% across 13 parameters, so the description carries the full burden of explaining filters such as since/until, path, author, ref_name, all, first_parent, with_stats, trailers, order and per_page. It explains none of them, leaving ambiguities like whether 'all' means all branches or all commits, and what date format since/until expect.

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

Purpose2/5

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

The description is essentially a restatement of the tool name/title ("gitlab_list_commits" / "List Commits") plus a minimal scope note ("in a project"). It gives no indication of what a commit listing contains or how it differs from nearby siblings such as gitlab_list_commit_statuses, so an agent gains almost nothing beyond the name itself.

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 guidance, no mention of alternatives, and no statement of prerequisites (e.g., project_id being optional here due to a default context). The agent must infer everything from the tool name and the sibling list.

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