Skip to main content
Glama

Unprotect tag

gitlab_unprotect_tag
DestructiveIdempotent

Remove protection from a Git tag in a GitLab project to allow tag changes or deletion. Provide the project ID and tag name.

Instructions

Unprotect a tag in a project.

Args: **kwargs: Additional parameters for the request (e.g., project_id, name).

Returns: Response: A wrapper containing the original response (no data for successful deletion).

Raises: MissingParameterError: If the project_id or name is missing. ParameterError: If invalid parameters are provided.

Input Schema

NameRequiredDescriptionDefault
refNo
tagNo
pageNo
messageNo
per_pageNo
max_pagesNo
project_idNo
api_parametersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv27.3.13

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare this as destructive, idempotent, and open-world. The description adds useful return behavior (a wrapper with no data for successful deletion) and error conditions, but it also claims MissingParameterError occurs when 'project_id or name' is missing even though the schema has no required parameters and uses 'tag' rather than 'name', creating some confusion.

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 purpose is front-loaded and the Returns/Raises sections provide useful structure. However, the Args section is vague and partially misleading, adding little value while consuming space.

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

Completeness2/5

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

This is a destructive mutation tool with 8 undocumented parameters and no output schema. The description does not explain prerequisites, what protection rule is removed, or what each parameter does, leaving significant gaps for correct invocation.

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?

The schema has 8 parameters with 0% description coverage, so the description must compensate but does not. It only vaguely mentions kwargs such as 'project_id, name', while the actual schema uses 'tag' and includes unexplained parameters like ref, page, per_page, max_pages, message, and api_parameters.

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 states a specific verb and resource: 'Unprotect a tag in a project.' This clearly distinguishes it from protect_tag and get_protected_tag, though it does not explicitly name those siblings or clarify scope beyond the project level.

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 versus alternatives, no prerequisites such as required permissions, and no exclusions. The description only restates the core action without helping an agent decide if this is the right operation in context.

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