Skip to main content
Glama
ZatesloFL

Google Workspace MCP Server

by ZatesloFL

manage_gmail_label

Create, update, or delete Gmail labels for organized email management. Specify label visibility in lists and messages for custom organization. Enhances email workflow efficiency directly from Google Workspace MCP Server.

Instructions

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

Args: user_google_email (str): The user's Google email address. Required. action (Literal["create", "update", "delete"]): Action to perform on the label. name (Optional[str]): Label name. Required for create, optional for update. label_id (Optional[str]): Label ID. Required for update and delete operations. label_list_visibility (Literal["labelShow", "labelHide"]): Whether the label is shown in the label list. message_list_visibility (Literal["show", "hide"]): Whether the label is shown in the message list.

Returns: str: Confirmation message of the label operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
label_idNo
label_list_visibilityNolabelShow
message_list_visibilityNoshow
nameNo
user_google_emailYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states the tool performs create/update/delete operations (implying mutations) and mentions what parameters are required for which actions, but doesn't disclose important behavioral traits like authentication requirements, error conditions, whether operations are reversible, rate limits, or what happens to existing messages when labels are deleted. For a mutation tool with zero annotation coverage, this leaves significant gaps.

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?

The description is well-structured and appropriately sized. It begins with a clear purpose statement, then provides organized parameter explanations in an 'Args:' section, and concludes with return information. Every sentence earns its place, though the 'Returns:' section could be slightly more informative beyond just 'confirmation message'.

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?

Given this is a mutation tool with 6 parameters, 0% schema description coverage, no annotations, but with an output schema, the description is moderately complete. It explains parameters well and mentions the return type, but lacks important context about authentication, error handling, and behavioral constraints. The presence of an output schema helps, but doesn't compensate for missing mutation-related disclosures.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides excellent parameter semantics beyond the schema. With 0% schema description coverage, the description fully compensates by explaining: 1) which parameters are required for which actions, 2) the meaning of visibility parameters ('label_list_visibility' and 'message_list_visibility'), and 3) the purpose of each parameter. This adds substantial value over the bare schema which only shows titles and types.

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's purpose: 'Manages Gmail labels: create, update, or delete labels.' This specifies the verb ('manages') and resource ('Gmail labels') with the three specific actions. However, it doesn't distinguish this tool from sibling tools like 'modify_gmail_message_labels' or 'list_gmail_labels' which also handle Gmail labels in different ways.

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?

The description provides no guidance on when to use this tool versus alternatives. There's no mention of prerequisites, when to choose create vs update vs delete, or how this differs from sibling tools like 'modify_gmail_message_labels' or 'list_gmail_labels'. The agent must infer usage from the action parameter alone.

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/ZatesloFL/google_workspace_mcp'

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