Skip to main content
Glama

list_labels

Retrieve and filter labels for a GitLab project, optionally including issue counts, merge request counts, and ancestor group labels to organize and categorize project items.

Instructions

List labels for a project

Input Schema

NameRequiredDescriptionDefault
project_idYesProject ID or URL-encoded path
with_countsNoWhether or not to include issue and merge request counts
include_ancestor_groupsNoInclude ancestor groups
searchNoKeyword to filter labels by

Input Schema (JSON Schema)

{ "properties": { "include_ancestor_groups": { "description": "Include ancestor groups", "type": "boolean" }, "project_id": { "description": "Project ID or URL-encoded path", "type": "string" }, "search": { "description": "Keyword to filter labels by", "type": "string" }, "with_counts": { "description": "Whether or not to include issue and merge request counts", "type": "boolean" } }, "required": [ "project_id" ], "type": "object" }

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

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