Skip to main content
Glama

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

NameRequiredDescriptionDefault
actionYes
label_idNo
label_list_visibilityNolabelShow
message_list_visibilityNoshow
nameNo
user_google_emailYes

Input Schema (JSON Schema)

{ "properties": { "action": { "enum": [ "create", "update", "delete" ], "title": "Action", "type": "string" }, "label_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Label Id" }, "label_list_visibility": { "default": "labelShow", "enum": [ "labelShow", "labelHide" ], "title": "Label List Visibility", "type": "string" }, "message_list_visibility": { "default": "show", "enum": [ "show", "hide" ], "title": "Message List Visibility", "type": "string" }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Name" }, "user_google_email": { "title": "User Google Email", "type": "string" } }, "required": [ "user_google_email", "action" ], "type": "object" }

Other Tools from Google Workspace MCP Server

Related Tools

    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