Skip to main content
Glama

Create Tag

gitlab_create_tag

Create a GitLab repository tag from a branch, commit SHA, or existing tag to mark a specific point in project history for releases or versioning.

Instructions

Create a repository tag from a branch, commit SHA, or another tag.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tag_name": "<tag_name>",
      "ref": "<ref>"
    },
    "name": "gitlab_create_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes
messageNo
tag_nameYes
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.7.0
    • removedInput schema / properties / message / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / message / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, open-world, non-idempotent, non-destructive mutation, so the safety profile is covered. The description adds that the source ref may be a branch, commit SHA, or tag, but says nothing about failure modes (e.g., a tag that already exists, given idempotentHint=false), required permissions, or the difference between a lightweight and annotated tag via the message field.

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?

A single front-loaded sentence with zero filler; nothing could be removed without losing content.

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

Completeness3/5

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

For a four-parameter mutation with no output schema and no annotation detail on failure behavior, the description is adequate but thin. It omits error conditions, permission requirements, and the significance of the message parameter, which an agent would need to invoke it confidently.

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 0%, so the description must carry the load; it does explain the semantic meaning of the required `ref` parameter (branch, commit SHA, or tag), which is the least obvious input. However, `tag_name`, `message`, and `project_id` get no explanation at all — notably `message` being what makes the tag an annotated tag, and project_id's scope.

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?

Names a specific verb and resource ("Create a repository tag") and enumerates the accepted ref sources (branch, commit SHA, or another tag), so the operation is unmistakable. It does not explicitly differentiate itself from siblings such as gitlab_protect_tag or gitlab_create_branch, relying on the name for that separation.

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 or when-not guidance, no prerequisites, and no pointer to alternatives like gitlab_get_tag or gitlab_protect_tag. An agent must infer the usage context entirely from the tool 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