Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

gitlab_list_tags

Retrieve and organize repository tags with commit details on MCP GitLab Server. View sorted tags by name, date, or semantic version to identify releases and versions efficiently.

Instructions

List repository tags Returns: Tags with commit info Use when: Finding releases, version tags Sorting: By name, date, semver

Example response: [{ "name": "v2.0.0", "message": "Version 2.0.0 release", "commit": { "id": "abc123...", "short_id": "abc123", "title": "Prepare 2.0.0 release" }, "release": { "tag_name": "v2.0.0", "description": "Major release with new features..." } }]

Related tools:

  • gitlab_list_releases: Full release info
  • gitlab_create_tag: Create new tag

Input Schema

NameRequiredDescriptionDefault
order_byNoTag ordering field Type: string (enum) Options: - 'name': Alphabetical order - 'updated': Last updated first - 'version': Version string comparison - 'semver': Semantic version sorting Default: 'updated' Examples: - 'name': a-tag, b-tag, c-tag - 'semver': v1.0.0, v1.1.0, v2.0.0updated
project_idNoProject identifier (auto-detected if not provided) Type: integer OR string Format: numeric ID or 'namespace/project' Optional: Yes - auto-detects from current git repository Examples: - 12345 (numeric ID) - 'gitlab-org/gitlab' (namespace/project path) - 'my-group/my-subgroup/my-project' (nested groups) Note: If in a git repo with GitLab remote, this can be omitted
sortNoSort direction Type: string (enum) Options: 'asc' | 'desc' Default: Varies by context (usually 'desc' for time-based) Examples: - 'asc': A→Z, oldest→newest, smallest→largest - 'desc': Z→A, newest→oldest, largest→smallestdesc

Input Schema (JSON Schema)

{ "properties": { "order_by": { "default": "updated", "description": "Tag ordering field\nType: string (enum)\nOptions:\n - 'name': Alphabetical order\n - 'updated': Last updated first\n - 'version': Version string comparison\n - 'semver': Semantic version sorting\nDefault: 'updated'\nExamples:\n - 'name': a-tag, b-tag, c-tag\n - 'semver': v1.0.0, v1.1.0, v2.0.0", "enum": [ "name", "updated", "version", "semver" ], "type": "string" }, "project_id": { "description": "Project identifier (auto-detected if not provided)\nType: integer OR string\nFormat: numeric ID or 'namespace/project'\nOptional: Yes - auto-detects from current git repository\nExamples:\n - 12345 (numeric ID)\n - 'gitlab-org/gitlab' (namespace/project path)\n - 'my-group/my-subgroup/my-project' (nested groups)\nNote: If in a git repo with GitLab remote, this can be omitted", "type": "string" }, "sort": { "default": "desc", "description": "Sort direction\nType: string (enum)\nOptions: 'asc' | 'desc'\nDefault: Varies by context (usually 'desc' for time-based)\nExamples:\n - 'asc': A→Z, oldest→newest, smallest→largest\n - 'desc': Z→A, newest→oldest, largest→smallest", "enum": [ "asc", "desc" ], "type": "string" } }, "type": "object" }

Other Tools from MCP GitLab Server

Related Tools

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/Vijay-Duke/mcp-gitlab'

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