Skip to main content
Glama

create_label

Create a new label in a project with a name and optional color, description, parent, and sort order.

Instructions

Create a new label.

Args: project_id: UUID of the project name: Label name color: Label color (hex color code) description: Label description parent: UUID of the parent label (for nested labels) sort_order: Sort order for the label external_source: External system source name external_id: External system identifier

Returns: Created Label object

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
colorNo
parentNo
project_idYes
sort_orderNo
descriptionNo
external_idNo
external_sourceNo

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?

Annotations indicate readOnlyHint=false (write operation) and destructiveHint=false. The description adds that it 'creates' and 'Returns: Created Label object,' which is consistent but provides minimal extra context about side effects, authentication requirements, or rate limits. No behavioral details beyond the obvious creation action are disclosed.

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 and well-structured: a single introductory sentence followed by a bullet list of parameters with brief descriptions, and a return statement. It front-loads the purpose and uses space efficiently. Every sentence adds value without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 8 parameters and an output schema (implied by 'Returns: Created Label object'), the description covers all parameters with sufficient detail. It does not explain the return format, but output schema likely handles that. The description is complete enough for an agent to understand the tool's purpose and required inputs, though it could mention potential side effects or constraints like uniqueness of label names.

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?

Schema coverage is 0%, so the description carries full burden. It lists all 8 parameters with clear, meaningful descriptions (e.g., 'project_id: UUID of the project', 'color: Label color (hex color code)'). This adds significant value beyond the schema's type-only definitions. Could be improved by noting which parameters are required, but that is partially covered by the schema's required list.

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 clearly states 'Create a new label,' which is a specific verb+resource combination. It distinguishes itself from sibling tools like list_labels, retrieve_label, update_label, and delete_label by being the creation action. However, it could be improved by explicitly contrasting with manage_work_item_label or other label-related tools.

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?

No explicit guidance is provided on when to use this tool versus alternatives like update_label or delete_label. The description only lists parameters, implying the need for a project_id and name, but does not state prerequisites or conditions under which creation is appropriate. Sibling tools are numerous but no exclusions or context are given.

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/Bl4nk44/plane-ce-mcp'

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