Skip to main content
Glama

create_label

Create a new label in a repository to categorize issues. Provide owner, repo name, label name, and color hex code. Returns the label ID.

Instructions

Use this when you need to create a new label for organizing issues in a repository. Signs and broadcasts an on-chain transaction. Returns the label ID. Requires 'owner', 'name', 'label_name', and 'color' (hex code like 'FF0000'). Optional: 'description'. See also: list_labels, delete_label.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYesRepository owner (username or DAO name)
nameYesRepository name
label_nameYesLabel name (3-63 characters)
colorYesLabel color as hex code (e.g. FF0000)
descriptionNoLabel description (max 255 characters)
Behavior4/5

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

The description discloses that the tool 'Signs and broadcasts an on-chain transaction', which is a key behavioral trait beyond creation. Since annotations are absent, the description carries full burden and provides useful context about cost/confirmation time.

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 three concise sentences with no fluff. Each sentence adds value: usage context, behavioral trait, return value, required params, and sibling references. Front-loaded with 'Use this when...'.

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 no output schema, the description mentions return value (label ID). It covers purpose, usage, required params, and on-chain behavior. However, it lacks error handling or idempotency details, which would make it more complete for a creation tool.

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 coverage is 100%, so baseline is 3. The description restates required vs optional parameters and gives a color example (hex code like 'FF0000'), adding minimal value beyond the schema.

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 tool is for creating a label to organize issues in a repository, using specific verbs and resource. It distinguishes itself from siblings by listing 'See also: list_labels, delete_label'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description begins with 'Use this when you need to create a new label', directly stating usage context. It also mentions signing an on-chain transaction, implying it's a write operation, and references siblings for alternatives, though it doesn't explicitly state when not to use it.

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/gitopia/gitopia-mcp-server'

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