Skip to main content
Glama

Rename Gmail label

rename_gmail_label

Rename an existing Gmail label.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
labelIdYes
mailboxYesEmail address of the connected Gmail/Google Workspace mailbox to act on. Call list_authorized_mailboxes to see available options.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It communicates that this is a mutating operation, but gives no consequences such as whether message-label associations change, whether the operation is reversible, or what a successful response looks like.

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?

A single sentence with no filler; the operation and target are front-loaded. It is appropriately concise for a simple rename action.

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

Completeness2/5

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

The tool has three required parameters, no annotations, and no output schema, yet the description covers none of the missing operational details: how to obtain labelId, what happens after the rename, or expected success/failure behavior. It is adequate only for identifying the operation, not for safe invocation.

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?

The input schema only documents 'mailbox'; labelId and name are undocumented. The description adds only the implicit idea that the label must already exist, and does not explain that labelId should come from list_gmail_labels or that 'name' is the new display name. Low schema coverage is not compensated for.

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 uses a specific verb ('rename') and identifies an exact resource ('existing Gmail label'), which distinguishes it from create/delete/merge label siblings. It is unambiguous about the operation even though it does not name alternatives.

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 guidance on when to choose this over create_gmail_label, delete_gmail_label, or merge_duplicate_gmail_labels. The word 'existing' implies a precondition, but the description never states explicit when/when-not usage or mentions prerequisites such as listing labels first.

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