Skip to main content
Glama

List Deployments

gitlab_list_deployments
Read-onlyIdempotent

List deployments in a GitLab project to review release history, filter by environment, ref, status, or date range, and track deployment activity.

Instructions

List deployments 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_deployments"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNo
shaNo
pageNo
sortNo
statusNo
order_byNo
per_pageNo
project_idNo
environmentNo
updated_afterNo
updated_beforeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changedv1.7.0
    • removedInput schema / properties / environment / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / environment / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / page / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / page / type
      Added value: +[
      +  "number",
      +  "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 / sha / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / sha / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / status / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / status / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / updated_after / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / updated_after / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / updated_before / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / updated_before / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is fully covered without the description. The one sentence adds nothing beyond that: no mention of default result set size, pagination behavior, default ordering, or that an empty/unlicensed deployments feature may return nothing.

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 sentence is front-loaded and free of filler, which is good structurally. However, at this length the brevity reflects under-specification rather than disciplined editing for an 11-parameter tool.

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?

With 11 optional parameters, zero schema descriptions, and no output schema, the description needed to explain filters, defaults, and return shape, and it explains none of them. An agent cannot call this tool with meaningful filters based on the definition alone.

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 11 parameters, so the description carries the full burden and it provides none of it. Filters like ref, sha, status, environment, and the updated_after/updated_before date formats, plus the exact meaning of order_by and sort, are left completely undocumented.

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?

The description pairs a specific verb ('List') with a specific resource ('deployments') and scopes it to a project, so there is no ambiguity about what the tool returns. It does not distinguish this from adjacent siblings such as gitlab_list_environments or gitlab_list_deployment_merge_requests, which keeps it from a 5.

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 guidance on when to use this tool, when to prefer another, or what prerequisites exist (for example, whether the caller needs deployment access on the project). The agent must infer usage 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