Skip to main content
Glama

Rename Tag

rename_tag
Idempotent

Rename a registered tag by updating its display name and slug; when the tag is in use, choose whether to cascade the change to all associated records.

Instructions

Rename a registered tag. Updates the display name and slug. If the tag is in use and propagate is not explicitly set, a conflict response is returned asking whether to propagate the rename. Set propagate=true or propagate=false to skip the conflict.

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>",
      "new_name": "<new_name>"
    },
    "name": "rename_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tag_idYesTag registry UUID.
cascadeNoIf true, rename the tag on all tasks/customers/financial records that use it. If false, rename only the registry entry. If omitted and the tag is in use, a conflict is returned asking the user to decide.
new_nameYesNew display name for the tag.
propagateNoDeprecated: use `cascade`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavior — a two-step conflict response when the tag is in use, and that the slug is also rewritten — but it attributes the conflict to `propagate` when the schema says `cascade` controls it and that `propagate` is deprecated, so the behavioral disclosure is partly stale.

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?

The text is short and the purpose is front-loaded, but two of the three sentences are devoted to a deprecated parameter, so a large share of the description's real estate argues for the wrong control. The conflict behavior itself is stated efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no output schema, fully documented parameters and decent annotations, the description should establish the conflict round-trip correctly. It conveys that a conflict can occur and must be resolved by an explicit boolean, but it never mentions `cascade`, which is the current and non-deprecated way to resolve it, leaving the agent with incomplete and partly incorrect operating instructions.

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 100%, which normally sets a baseline of 3, but the description does not merely omit parameter meaning — it actively misdirects. It instructs the agent to "Set propagate=true or propagate=false to skip the conflict," while the schema documents `propagate` as "Deprecated: use `cascade`" and defines `cascade` as the real propagation switch. An agent following the description would use the wrong parameter.

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?

"Rename a registered tag" is a specific verb+resource, and the second sentence clarifies the scope of the mutation (both display name and slug change). It is unambiguous against siblings like create_tag/remove_tag/list_tags, though it never states that distinction explicitly.

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?

It explains one important invocation branch: if the tag is in use and no propagation flag is given, the call returns a `conflict` rather than completing, and the agent must re-call with an explicit boolean. That is useful when-to-use context, but there are no exclusions or alternatives, and the guidance is attached to a parameter the schema marks deprecated.

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