Skip to main content
Glama

batch_modify_messages

Modify labels on multiple Gmail messages simultaneously by adding or removing label IDs from selected message batches.

Instructions

Modify the labels on multiple messages

Input Schema

NameRequiredDescriptionDefault
idsYesThe IDs of the messages to modify
addLabelIdsNoA list of label IDs to add to the messages
removeLabelIdsNoA list of label IDs to remove from the messages

Input Schema (JSON Schema)

{ "properties": { "addLabelIds": { "description": "A list of label IDs to add to the messages", "items": { "type": "string" }, "type": "array" }, "ids": { "description": "The IDs of the messages to modify", "items": { "type": "string" }, "type": "array" }, "removeLabelIds": { "description": "A list of label IDs to remove from the messages", "items": { "type": "string" }, "type": "array" } }, "required": [ "ids" ], "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/HitmanLy007/gmail-mcp'

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