Skip to main content
Glama
gmail-tidy-mcp

gmail-tidy-mcp

update_label

Rename, recolor, or adjust a Gmail label's sidebar and message-list visibility, or move it under a parent label, by changing only the fields you specify.

Instructions

Changes a label: rename it (use "Parent/Child" to move it under another), recolor it, or choose whether it shows in the sidebar and in the message list. Only the fields you pass change. Colors must come from the Gmail palette, e.g. #fb4c2f red, #ffad47 orange, #16a766 green, #2da2bb teal, #4a86e8 blue, #a479e2 purple, #f691b3 pink, #666666 or #cccccc gray.

Input Schema

NameRequiredDescriptionDefault
textNoHex text color (default #ffffff); needs background
labelYesLabel name or ID
accountYesEmail address or label of the account (see list_accounts).
sidebarNoSidebar visibility; unread = only when it has unread mail
new_nameNo
backgroundNoHex color from the Gmail palette
in_message_listNoShow the label on messages in the list

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive mutation, so the bar is lower. The description still adds real value beyond them: partial-update semantics ("Only the fields you pass change") and the non-obvious side effect that a "Parent/Child" new_name relocates the label in the hierarchy rather than just renaming it. It does not cover permission requirements, whether existing filters referencing the renamed label are affected, or error behavior.

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?

Two sentences, front-loaded with the operation and its modes; the second sentence carries the constraints. The palette enumeration is long but every hex value prevents a failed call, so it earns its space. Slight overhead from listing colors inline.

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 7-parameter mutation with no output schema and clear annotations, the description covers mode, partial-update semantics, nesting behavior, and the color constraint. Remaining gaps are around failure modes and downstream effects on filters/rules, which are secondary for correct invocation.

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 86%, so the schema already carries most parameter meaning and the baseline is 3. The description fills the notable gaps the schema leaves: it supplies the concrete Gmail palette values for background/text (the schema only says "Hex color from the Gmail palette") and explains the "Parent/Child" convention for new_name, which the schema leaves completely undocumented.

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 description opens with a specific verb+resource ("Changes a label") and enumerates the three changeable facets: rename/move, recolor, and visibility. That distinguishes it from create_label and list_labels without naming them, but a one-line contrast with create_label would have made it a 5.

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 implied by the enumeration of editable facets, and "Only the fields you pass change" tells the agent partial updates are safe, which nudges toward preferring this over delete/recreate. It never states when not to use it, nor prerequisites such as whether the label must already exist.

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