Skip to main content
Glama
rokrokss
by rokrokss

get_label

Retrieve a single GitLab project label by ID or title, with optional inclusion of ancestor group labels. Fetch label details directly to support issue and merge request management.

Instructions

Get a single label from a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
label_idNoThe ID or title of a project's label
project_idNoProject ID or URL-encoded path
include_ancestor_groupsNoInclude ancestor groups

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.0.35

TDQS

C2.9/5.0
Behavior2/5

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

Annotations are absent, so the description carries the full burden of behavioral disclosure. 'Get' implies a read-only operation and is unlikely to be destructive, but nothing is said about permissions, error behavior, ancestor-group scoping, or whether the label is matched by ID or title. The description adds minimal behavioral context beyond the operation name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short sentence with no filler or redundancy. It is front-loaded with the key action and resource. It is slightly too sparse to be excellent, but it is appropriately concise for a simple getter.

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?

For a tool with no annotations and no output schema, the description should explain more than just the base operation. It omits the meaning of include_ancestor_groups, the need for label_id/project_id, and any return or error expectations. The available schema and sibling context fill some gaps, but the description itself is incomplete for safe autonomous 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?

Schema description coverage is 100%, so the schema already documents all three parameters. The description itself adds no parameter-specific meaning, which matches the baseline of 3. However, it does not clarify whether label_id and project_id are effectively required despite the schema listing zero required parameters, which is a notable semantic gap.

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 clear verb ('Get') and resource ('a single label from a project'), which distinguishes it from label-list and label-mutation siblings like list_labels, create_label, update_label, and delete_label. It could be slightly stronger by explicitly noting the label_id-based lookup, but the basic purpose is unambiguous.

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?

There is no guidance on when to choose this tool over alternatives such as list_labels, nor any mention of exclusions or prerequisites. The only implicit signal is the word 'Get', which suggests retrieval, but the description does not help an agent decide between single-label retrieval and label listing or other label operations.

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

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