Skip to main content
Glama

Update Tag Tool

update-tag-tool
DestructiveIdempotent

Overwrites the given fields; previous values are not kept. Update an existing tag's name and color. Every field is optional, so send only the fields to change; a field that is omitted keeps its current value. Names are unique per project, case-insensitive, so renaming to a duplicate (in any casing) returns an error.

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": {
      "tag_id": "<tag_id>"
    },
    "name": "update-tag-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe tag label (max 64 characters). Names are unique per project, case-insensitive, so "Branded" and "branded" collide.
colorNoThe tag color. Must be one of: gray, red, orange, amber, green, teal, blue, indigo, violet, pink.
tag_idYesThe numeric id of the tag to update.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description adds real value by explaining the partial-update rule (omitted fields are preserved) and the case-insensitive uniqueness error condition, which the caller could not infer from annotations alone. The opening line is slightly at odds with the partial-update semantics until the third sentence corrects it.

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

Conciseness3/5

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

It is brief and mostly front-loaded, but the first clause ("previous values are not kept") reads as a full overwrite and requires the later "omitted keeps its current value" sentence to undo the impression. Merging those two statements would remove the redundancy and the momentary ambiguity.

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 3-parameter mutation with annotations and no output schema, the description covers the important behavioral facts: partial updates, uniqueness collisions, and error on duplicate rename. Not explaining what the tool returns is the main remaining gap, which is minor here.

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 name, color enum, and tag_id are already fully documented, including the case-insensitivity note. The description restates the uniqueness/casing rule rather than adding new meaning, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Update an existing tag's name and color" gives a specific verb and resource, and the lead sentence frames it as an overwrite of supplied fields. It does not explicitly contrast with create-tag-tool, delete-tag-tool, or get-tag-tool, but the name and description make the mutation target unmistakable.

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?

"Send only the fields to change" is practical partial-update guidance, and the uniqueness rule tells the caller when the operation will fail. However, there is no statement of when to use this versus delete-tag-tool or create-tag-tool, nor any prerequisite (permission, ownership) context.

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