Skip to main content
Glama

Release

gitlab_release
Destructive

Publish and manage GitLab releases with notes, milestones, and asset links. Requires an existing Git tag. Use to attach binaries, runbooks, or packages to a release, and batch link creation after CI builds.

Instructions

Example: {"action":"create","params":{...}} For the params schema of any action, read the MCP resource gitlab://schema/meta/gitlab_release/.

Manage GitLab releases and their asset links (binaries, packages, runbooks). Releases wrap a Git tag with notes, milestones and downloadable assets. Delete is destructive: it removes the release but preserves the underlying tag. When to use: publish a release for a tag, list/get/update releases, attach asset links to a release, batch-attach links after a CI build. NOT for: creating tags (use gitlab_tag create first — release_create requires an existing tag_name), uploading binaries to the package registry (use gitlab_package), milestones (use gitlab_project milestone_*).

Returns:

  • list: array of releases with pagination.

  • get / get_latest / create / update: release object {name, tag_name, description, released_at, assets: {sources, links}, evidences, milestones}.

  • link_list: array of {id, name, url, link_type, direct_asset_path}.

  • link_create / link_create_batch / link_get / link_update: link object(s).

  • delete / link_delete: {success: bool, message: string}. Errors: 404 not found (hint: tag_name must exist), 403 forbidden (hint: requires Developer+ for create, Maintainer+ for update/delete), 400 invalid params (hint: link url must be absolute https://).

Param conventions: * = required. All actions need project_id*. Release actions need tag_name*. Link actions need tag_name* + link_id* (except link_create / link_create_batch / link_list).

Releases:

  • create: project_id*, tag_name* (must exist), name, description (Markdown), released_at (ISO 8601), milestones ([]string)

  • get: project_id*, tag_name*

  • get_latest: project_id*

  • list: project_id*, order_by (released_at/created_at), sort (asc/desc), page, per_page

  • update: project_id*, tag_name*, name, description, released_at, milestones

  • delete: project_id*, tag_name*

Asset links:

  • link_create: project_id*, tag_name*, name*, url*, link_type (runbook/package/image/other), filepath, direct_asset_path

  • link_create_batch: project_id*, tag_name*, links* (array of {name, url, link_type, filepath, direct_asset_path})

  • link_get: project_id*, tag_name*, link_id*

  • link_list: project_id*, tag_name*, page, per_page

  • link_update: project_id*, tag_name*, link_id*, name, url, filepath, direct_asset_path, link_type

  • link_delete: project_id*, tag_name*, link_id*

See also: gitlab_tag (create the tag before the release), gitlab_package (upload binaries; link_create can point at the package URL), gitlab_project (milestones referenced by releases).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform. Pick exactly one of the values in `enum`. Each action expects its own `params` object — see the tool description for the per-action parameter list.
paramsNoAction-specific parameters as a JSON object. Required and optional fields differ per action; consult this tool's description for the chosen action. Send only the fields documented for that action — unknown keys are rejected with a validation error (only reserved meta keys like `confirm` are stripped before validation). For the JSON Schema of a specific action's `params`, read the MCP resource `gitlab://schema/meta/{tool}/{action}` (replace placeholders with the tool name and the chosen action).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
next_stepsNoOptional. Suggested follow-up actions or tool calls for the LLM, contextual to the result.
paginationNoPresent on list actions. Use `has_more` and `next_page` to paginate through results.
Behavior5/5

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

Beyond annotations indicating destructiveness (destructiveHint: true), the description adds crucial behavioral context: 'Delete is destructive: it removes the release but preserves the underlying tag.' This explains precisely what is destroyed. It also discloses error conditions, role requirements, and unknown key rejection, providing rich behavioral transparency.

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

Conciseness4/5

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

The description is well-structured with clear sections and front-loaded with a brief example, but the opening line 'Example: {"action":"create","params":{...}}' may confuse some agents as it's not immediately connected to the rest. Otherwise, every sentence earns its place, and the organization is logical.

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

Completeness5/5

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

Given the complexity (multiple actions, nested params, error conditions) and the existence of an output schema, the description covers everything needed: action list, parameter structures, return types, error hints, prerequisites, and references to related tools. It is thorough and self-contained.

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

Parameters5/5

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

Despite 100% schema description coverage, the description adds significant semantic value by listing required vs optional parameters per action, marking required fields with *, and providing conventions (e.g., 'tag_name must exist'). This goes well beyond the input schema which only defines action and a generic params object.

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 explicitly states that the tool manages GitLab releases and their asset links, and distinguishes itself from sibling tools by specifying it is not for creating tags (use gitlab_tag), uploading binaries (use gitlab_package), or managing milestones (use gitlab_project milestone_*). The verb 'manage' plus the specific resource and scope clarifies its purpose.

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

Usage Guidelines5/5

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

The description provides explicit when-to-use scenarios ('publish a release for a tag, list/get/update releases, attach asset links') and explicit when-not-to-use cases with alternatives (e.g., 'NOT for: creating tags (use gitlab_tag create first)'), fulfilling the highest bar for usage guidance.

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

Install Server

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/jmrplens/gitlab-mcp-server'

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