Skip to main content
Glama

list_project_variables

List GitLab CI/CD project variables with keys, types, protected/masked flags, and environment scopes for auditing or configuring pipelines.

Instructions

List CI/CD project variables with keys, types, protected/masked flags, and environment scopes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYesPage number for pagination (default: 1)
per_pageYesNumber of variables per page (default: 50, max: 100)
project_idYesProject numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. 'List' implies a safe read operation and the description usefully names the returned fields (keys, types, protected/masked flags, environment scopes), but it omits pagination behavior, permissions, and any ordering or total-count semantics.

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 that conveys the core action and returned data with zero filler. Every word earns its place.

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

Completeness4/5

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

With no output schema and no annotations, the description does well to name the key return fields. It is nearly complete for a simple list tool, though it could add a note on pagination behavior or expected result ordering to fully compensate for the missing output schema.

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 100%, so the schema fully documents project_id, page, and per_page with defaults and max values. The description adds no parameter-level detail beyond what the schema already provides, which is the expected baseline when schema coverage is high.

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 ('List') and resource ('CI/CD project variables') and enumerates the returned fields, clearly distinguishing collection retrieval from singular get_project_variable. However, it does not explicitly name the sibling it is not, so the differentiation is implicit rather than explicit.

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?

The description only states what the tool does, with no when-to-use guidance, no conditions, and no mention of alternatives like get_project_variable or search. An agent must infer usage entirely from the name and schema.

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