Skip to main content
Glama
tumf

fastmcp-gsuite

by tumf

batch_modify_gmail_messages

Modify labels on multiple Gmail messages in one request. Add or remove labels for up to 1000 messages at once.

Instructions

Modify labels on multiple Gmail messages in a single batch request (max 1000).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYesThe EMAIL of the Google account. Choose from:
message_idsYes
add_label_idsNoLabel IDs to add to all messages.
remove_label_idsNoLabel IDs to remove from all messages.
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions 'modify labels' but does not clarify side effects (e.g., merging vs overwriting labels) or required permissions. It notes a max of 1000 messages, which is a constraint, but lacks details on failure modes, idempotency, or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence of 12 words, front-loading the core action ('Modify labels on multiple Gmail messages') and including a key constraint. Every word serves a purpose; no superfluous content.

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 the tool's moderate complexity and the presence of sibling tools for single-message modification, the description does not explain return values or error handling. It lacks information on how the batch result is returned. The constraint of 1000 messages is useful, but overall completeness is adequate but not thorough.

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

Parameters3/5

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

Schema coverage is high (75%), with descriptions for 3 of 4 parameters. The description adds no additional meaning beyond what the schema already provides. For high coverage, a baseline of 3 is appropriate; the description does not enhance parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explicitly states 'Modify labels on multiple Gmail messages in a single batch request (max 1000)', clearly identifying the verb (modify), resource (multiple Gmail messages), and key constraint (batch with size limit). It distinguishes from siblings like 'modify_gmail_message' (single message) and 'archive_gmail_message' (specific label action).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies batch usage but does not explicitly guide when to use this tool versus alternatives like 'modify_gmail_message' for single messages or other label modification tools. No exclusions or specific context are provided; the 'batch' hint is implicit but insufficient.

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/tumf/fastmcp-gsuite'

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