Skip to main content
Glama
taylorwilsdon

Google Workspace MCP Server - Control Gmail, Calendar, Docs, Sheets, Slides, Chat, Forms & Drive

Manage Gmail Label

manage_gmail_label
Destructive

Create, update, or delete Gmail labels for a specified user. Control label visibility in the label and message lists to organize inbox workflows.

Instructions

Manages Gmail labels: create, update, or delete labels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoLabel name. Required for create, optional for update.
actionYesAction to perform on the label.
label_idNoLabel ID. Required for update and delete operations.
user_google_emailYesThe user's Google email address. Required.
label_list_visibilityNoWhether the label is shown in the label list.labelShow
message_list_visibilityNoWhether the label is shown in the message list.show

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the tool is known to be a mutating/destructive operation. However, the description adds no behavioral context beyond the raw actions—e.g., it doesn't disclose that deleting a label may remove it from all messages, that updates could affect visibility settings, or any side effects. With annotations present, the description should add such context but doesn't.

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?

The description is a single sentence with no fluff. It front-loads the resource (Gmail labels) and lists the three actions cleanly. Every word earns its place, achieving maximum conciseness.

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?

Given the tool's complexity (6 parameters, 3 actions, output schema present), the description is minimal but sufficient. The schema and output schema cover parameter details and return format, while annotations cover safety. The description only needs to convey the high-level CRUD nature, which it does. It could mention per-action requirements, but those are in the schema, so a score of 4 is appropriate.

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?

The input schema has 100% description coverage, with each parameter (name, action, label_id, user_google_email, label_list_visibility, message_list_visibility) already documented. The description adds no semantic value for parameters, only listing the actions. Since schema covers everything, the baseline of 3 is appropriate.

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 clearly states the tool 'Manages Gmail labels: create, update, or delete labels.' This distinguishes it from read-only sibling tools like list_gmail_labels and modify_gmail_message_labels, which operate on label assignments rather than label definitions. The verb 'manages' is generic, but the enumerated actions make the purpose explicit.

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?

The description implies usage for creating, updating, or deleting Gmail labels, but provides no explicit guidance on when to choose this tool over alternatives like list_gmail_labels for reading or modify_gmail_message_labels for altering message-label associations. It gives no exclusions or alternative references, so usage is only implied.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/taylorwilsdon/google_workspace_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server