Skip to main content
Glama
Alosies

GitLab MCP Server

by Alosies

list_project_labels

Retrieve all labels for a GitLab project to identify valid label names before applying them to issues or merge requests.

Instructions

List all labels available in a project. Useful for discovering valid label names before adding them to issues or merge requests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchNoSearch labels by name
project_idYesProject ID or path
with_countsNoInclude issue and merge request counts (default: false)
include_ancestor_groupsNoInclude labels from ancestor groups (default: true)
Behavior2/5

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

No annotations are provided, so the description must carry the burden of disclosing behavioral traits. It only states the basic listing operation and does not mention safety (e.g., read-only), potential side effects, auth requirements, pagination, or result limits, leaving the agent with insufficient behavioral context.

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 concise with two sentences, front-loading the main action and then providing a practical use case. No extraneous information, every sentence earns its place.

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?

The tool is simple (list labels) and the description covers purpose but lacks details on return format, pagination, or error handling. Given no output schema and typical use, it is adequate but has gaps for a fully informed invocation.

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?

The input schema has 100% coverage, meaning all parameters are described in the schema itself. The description adds no extra meaning or context beyond what the schema provides, so a baseline score of 3 is appropriate.

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 clearly states the action 'List all labels available in a project' and provides a specific use case 'discovering valid label names before adding them to issues or merge requests.' This distinguishes it from sibling tools that list other resources like issues or merge requests.

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

Usage Guidelines4/5

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

The description implies when to use the tool (before adding labels to issues or MRs) and its primary purpose. However, it does not explicitly mention when not to use it or contrast with alternative tools, though the context among siblings makes the purpose clear.

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

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