Skip to main content
Glama

Create Tag

create_tag

Register a new tag in the tag registry with a unique slug per company, returning an error if that slug already exists.

Instructions

Register a new tag in the tag registry. The slug (lowercase, hyphenated form) must be unique per company. Returns an error if a tag with the same slug already exists.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "create_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name for the tag (e.g. 'Q2 2026', 'Fundraising').
colorNoHex color for UI rendering (e.g. '#4A90D9'). Optional.
scopeNoTag scope. Defaults to 'org'.
descriptionNoWhat this tag means or when to use it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and a closed-world scope, so the description only needs to add context. It does: it discloses a failure mode ('Returns an error if a tag with the same slug already exists') and the uniqueness constraint that is not derivable from annotations, which directly explains the non-idempotent hint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: purpose first, then the constraint, then the error behavior. Minor redundancy in 'tag ... in the tag registry', but nothing that costs the agent comprehension.

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 four-parameter create tool with full schema coverage and a defined annotation profile, the description covers what the tool does, the uniqueness rule, and duplicate handling. The only gap is the success return shape (no output schema, and nothing says what a created tag looks like), which is a small omission for a tool this simple.

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 description coverage is 100%, so all four parameters (name, color, scope, description) are already documented, and the enum/default for scope is in the schema. The description's only extra semantic content is that the slug is a lowercase hyphenated derivative of the name rather than a supplied parameter — a modest but real addition.

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 opens with a specific verb and resource ('Register a new tag in the tag registry'), which is unambiguous against siblings like list_tags, rename_tag, remove_tag, and preview_tags. An agent can tell this is the creation path without opening the schema.

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?

Usage is only implied by the verb 'Register' — the description never states when to create versus rename an existing tag or how this relates to preview_tags/list_tags. It does supply one genuine precondition (slug uniqueness per company), which helps, but there is no explicit when/when-not guidance.

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

Deploy Server

Other Tools