Skip to main content
Glama

Rename a label

update_label
Idempotent

On one site of the account, named in site. A label renamed: every member who wears it shows the new name, and the automations that name it keep it.

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": {
      "site": "<site>",
      "label": "<label>",
      "name": "<name>"
    },
    "name": "update_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
siteYesThe site to work on, as list_sites names it
labelYesThe label's id or name, in any case

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), so the bar is lower. The description nonetheless adds genuinely useful non-obvious behavior: the new name propagates to every member wearing the label, and automations that reference the label keep working. It does not contradict the annotations and covers side effects well, though it omits error behavior for duplicate names.

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?

Only two sentences and no wasted words, with site scoping front-loaded. However, the first sentence is a verbless fragment ('On one site of the account, named in site.') and the second uses inverted, hard-to-parse syntax ('the automations that name it keep it'), which slows comprehension.

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 three-parameter mutation tool with annotations but no output schema, the definition covers scope and side effects adequately. It leaves open what happens on a name collision within the site, what permissions are required, and whether the response confirms the rename, which matters for a write operation.

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 67%, with site and label documented in the schema itself. The description reinforces that site scopes the operation and implies that one input is the new name, but it never explicitly states that the 'name' parameter is the replacement value, nor does it add format or uniqueness constraints. This is the expected baseline when the schema carries most of the load.

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?

The definition conveys a specific verb and resource: a label is renamed, scoped to one site of the account, and the effects on members and automations are spelled out. This contrasts with siblings like add_member_label, remove_member_label, and create_label, though the description never names those alternatives explicitly. The fragmented wording ('A label renamed:') costs it a point but the meaning is recoverable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of prerequisites or permission needs, and no routing to alternatives such as create_label or update_tag. The only usage signal is the implicit site scoping in 'On one site of the account, named in site'. An agent must infer everything else.

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