Skip to main content
Glama

CI/CD variables

gitlab_ci_variables
Destructive

Manage GitLab project CI/CD variables: list, retrieve, create, update, or delete them. Configure masking and protection to secure sensitive values.

Instructions

Manages project CI/CD variables. Values of masked variables are not returned by GitLab.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNo
valueNo
actionYes
maskedNo
protectedNo
project_idNoProject id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID.
variable_typeNo
environment_scopeNo
Behavior4/5

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

The description adds a non-obvious behavioral trait: values of masked variables are not returned by GitLab. This is useful context beyond the annotations, which already indicate destructive potential. It helps the agent set correct expectations for create/update/read operations.

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?

The description is two short sentences, front-loaded with the primary purpose. There is no redundant or filler content, and it earns its place as a concise summary.

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?

Given the tool's complexity (8 parameters, multiple actions, no output schema) and limited parameter description coverage, this description is insufficient. It does not explain return values, required fields for each action, or variable types, making it hard for an agent to invoke correctly without further assumptions.

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

Parameters2/5

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

Schema description coverage is only 13%, and the description does not compensate. Only project_id is explained in the schema, while key, value, action, protected, variable_type, and environment_scope remain undefined. The mention of masked variables is not a parameter description.

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 clearly identifies the resource as 'project CI/CD variables' and states a general management capability. The verb 'manages' is broad but the action enum in the schema specifies the operations. It is distinguishable from sibling tools, which handle other GitLab resources.

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

Usage Guidelines3/5

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

The usage context is implied by the name and resource reference; an agent would infer it when needing to manage CI/CD variables. However, there is no explicit guidance on when to use this tool versus alternatives, nor any exclusions or prerequisites.

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

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