Skip to main content
Glama

create_label

Create new labels to organize repository issues by specifying name, color, and optional description, with on-chain transaction signing for decentralized Git management.

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?

No annotations provided, so description carries full burden. Critically discloses 'Signs and broadcasts an on-chain transaction'—essential for blockchain tools as it implies gas costs and irreversibility. Also states return value ('Returns the label ID'). Does not cover idempotency or error cases (e.g., duplicate names), but covers the primary behavioral risk.

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?

Highly efficient: front-loaded with usage intent, followed by behavioral mechanics, return value, parameter requirements, and sibling references. Every clause earns its place; no redundant or filler text despite high information density.

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?

Adequate for a 5-parameter creation tool with no output schema. Compensates for missing annotations by disclosing the write-operation nature (on-chain transaction). Minor gap regarding error handling or duplicate creation behavior, but sufficient for safe invocation.

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 100%, establishing baseline 3. Description adds value by explicitly distinguishing required vs optional parameters and providing format example ('hex code like FF0000') that clarifies expected syntax beyond the schema's generic 'hex code' description.

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?

Clear specific verb ('create') + resource ('label') + scope ('organizing issues in a repository'). Distinguishes from siblings by referencing list_labels and delete_label, establishing this as the creation operation in the CRUD set.

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?

Explicitly states when to use ('when you need to create a new label') and references related tools ('See also: list_labels, delete_label'). Lacks explicit 'when not to use' guidance (e.g., if label already exists), but sibling references provide adequate navigational context.

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