Skip to main content
Glama

Get Label

gitlab_get_label
Read-onlyIdempotent

Retrieve a specific GitLab label by ID, with optional inclusion of ancestor group labels.

Instructions

Get one label by ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
label_idYes
project_idNo
include_ancestor_groupsNo
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive nature. The description adds no new behavioral details but does not contradict annotations. The existing annotations provide sufficient transparency for a read operation.

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 a single, focused sentence with no unnecessary words. It is front-loaded with the key information and earns its place without waste.

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 presence of optional parameters (project_id, include_ancestor_groups) and no output schema, the description is too sparse. It does not explain how label_id is used in relation to the other fields, nor what the return value contains. A more complete description would help an agent understand when to use these parameters.

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?

With 0% schema description coverage, the description only clarifies the primary parameter label_id ('by ID'), but fails to explain the purpose of project_id or include_ancestor_groups. This leaves ambiguity for useful optional scoping fields.

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 (get), resource (label), and identifier method (by ID), distinguishing it from siblings like list_labels (multiple), create, update, or delete labels.

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 description implies this tool is for fetching a single label by its ID, but it does not explicitly mention when to use it versus alternatives such as gitlab_list_labels for listing labels or gitlab_update_label for modifications. Usage context is implicit but not elaborated.

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

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