Skip to main content
Glama
MIT License
549
28
  • Apple
  • Linux

modify_thread

Update email thread labels by adding or removing specific label IDs. Use this tool to organize and manage Gmail threads efficiently with precise control over labels.

Instructions

Modify the labels applied to a thread

Input Schema

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

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "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" }

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

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