Skip to main content
Glama

create_label

Idempotent

Create a new label on a project by name. If a label with the same name already exists (case-insensitive), the existing label is returned unchanged instead of creating a near-duplicate. The new label is appended at the end of the display order.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
project_idYesProject uid the label belongs to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already include idempotentHint=true, but the description expands on this by detailing the case-insensitive match and that the existing label is returned unchanged. It also discloses that the new label is appended to the end of the display order. This adds meaningful behavioral context beyond the annotations, though it does not cover error scenarios or permissions.

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?

Two sentences with no extraneous information. The primary purpose is stated first, followed by important idempotency and ordering details. The structure is efficient and front-loaded.

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 two-parameter create tool with annotations covering idempotency, the description provides sufficient context: what it does, the duplicate behavior, and ordering. It does not explicitly state the return value, but it is implied (the label or existing label). Given the simplicity, this is adequately complete.

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

Parameters2/5

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

Schema description coverage is 50% (project_id has a description, name does not). The description does not add any parameter-specific details; 'by name' merely restates the parameter's existence. It fails to compensate for the missing description of name (e.g., constraints, format, case sensitivity), leaving the agent without clear parameter semantics.

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?

States a specific verb and resource: 'Create a new label on a project by name.' The idempotency behavior is clearly described, and the tool is distinguishable from list_labels (which reads) and other create tools by its focus on label creation.

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?

Implied usage is to create a label, and the idempotency hint suggests it can be used safely without checking existence first. However, no explicit guidance is given about when to prefer this over alternatives like list_labels, and no exclusions or preconditions are stated.

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.

Resources