Skip to main content
Glama

modify_thread

Add or remove labels from Gmail threads to organize and categorize email conversations for better inbox management.

Instructions

Modify the labels applied to a thread

Input Schema

NameRequiredDescriptionDefault
idYesThe ID of the thread to modify
addLabelIdsNoA list of label IDs to add to the thread
removeLabelIdsNoA list of label IDs to remove from the thread

Input Schema (JSON Schema)

{ "properties": { "addLabelIds": { "description": "A list of label IDs to add to the thread", "items": { "type": "string" }, "type": "array" }, "id": { "description": "The ID of the thread to modify", "type": "string" }, "removeLabelIds": { "description": "A list of label IDs to remove from the thread", "items": { "type": "string" }, "type": "array" } }, "required": [ "id" ], "type": "object" }

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/HitmanLy007/gmail-mcp'

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