Skip to main content
Glama

retrieve_label

Retrieve a label's details by supplying its label ID and the project ID. Returns the label object for further use.

Instructions

Retrieve a label by ID.

Args: project_id: UUID of the project label_id: UUID of the label

Returns: Label object

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
label_idYes
project_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
nameYes
colorNo
parentNo
projectNo
workspaceNo
created_atNo
created_byNo
deleted_atNo
sort_orderNo
updated_atNo
updated_byNo
descriptionNo
external_idNo
external_sourceNo
Behavior2/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 disclosing behavioral traits. It only states 'Retrieve a label by ID' without mentioning potential errors, permissions, side effects, or behavior when the label does not exist. The description adds minimal behavioral context beyond the operation itself.

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 exceptionally concise and well-structured, with a one-line summary followed by a clear Args/Returns section. Every sentence adds value, and there is no superfluous content.

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, has an output schema to cover return values, and the description explains the parameters. However, with no annotations and minimal behavioral disclosure, there are gaps such as error handling and prerequisites. It is minimally adequate but not fully complete for an agent to anticipate all outcomes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description compensates by explicitly explaining both parameters in an Args section: 'project_id: UUID of the project' and 'label_id: UUID of the label'. This adds semantic meaning and type information beyond the bare schema types of 'string'.

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 'Retrieve a label by ID.' using the specific verb 'retrieve' and names the resource 'label'. It distinguishes from sibling tools like list_labels, create_label, update_label, and delete_label by focusing on fetching a single label by its identifier.

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 usage for fetching a specific label by ID, but does not explicitly mention alternatives like list_labels for browsing labels or limitations such as requiring an existing label. It provides clear context but lacks explicit when-not-to-use or alternative guidance.

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/leigangzhang/plane-mcp-server-adapter'

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