Skip to main content
Glama

Create a label

create_label

Create a label that can be applied to issues. Pass a team to keep the label on that team only, otherwise it is available across the workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesLabel name.
teamNoTeam key, name or id to restrict the label to. Null or omitted keeps it workspace wide.
colorNoHex colour such as "#7c3aed".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations only set readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false. The description adds the team scoping behavior (workspace-wide vs team-specific) which is beyond annotations and useful. However, it does not disclose error handling (e.g., duplicate name) or idempotency, which are common gaps for a create operation. It adds some behavioral value but not extensive.

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 two sentences, front-loaded with the core purpose and then the key behavioral nuance. Every sentence earns its place, with no redundancy or filler. It is appropriately sized for the tool's simplicity.

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?

For a simple create tool with three parameters and no output schema, the description covers the purpose and the critical team scoping behavior. It does not mention duplicate name handling or the response object, but these are not essential given the schema and annotations. Overall, it is sufficiently complete for an agent to call it correctly.

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% for all three parameters, so the baseline is 3. The description clarifies the team parameter's effect (restricting to team vs workspace-wide) which slightly adds value beyond the schema's description, but it does not elaborate on name or color semantics. The added value is minimal, so a 3 is appropriate.

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 creates a label and explicitly says it can be applied to issues, distinguishing it from other creation tools like create_state or create_team. It is specific about the resource and does not merely restate the name.

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 gives clear context: it creates a label and explains the team scoping option. It does not explicitly name alternatives like update_label or delete_label, but the create action is self-evident and the team behavior clarifies when to use this tool. There are no exclusions stated, but the context is adequate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.