Skip to main content
Glama
jeffmm

gmail-fast-mcp

by jeffmm

batch_modify_emails

Apply or remove Gmail labels across multiple emails in one batch operation. Specify message IDs and label changes to efficiently categorize or clean up your inbox.

Instructions

Modify labels for multiple emails in batches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
batch_sizeNoNumber of messages per batch (default: 50)
message_idsYesList of message IDs to modify
add_label_idsNoLabel IDs to add to all messages
remove_label_idsNoLabel IDs to remove from all messages

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only restates that labels are modified in batches, without mentioning side effects, partial failure behavior, idempotency, permission requirements, or what happens when both add and remove label IDs are supplied. The batched behavior is useful but the description is too thin for a mutation tool.

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, focused sentence that front-loads the core action and scope. Every word earns its place, and there is no redundant or filler content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a batch mutation tool with four parameters and no annotations, the description is too minimal. It does not explain how batch_size affects execution, whether add and remove operations are applied together, or how this compares to modify_email and batch_trash_emails. The schema covers parameters, but the behavioral and usage context is missing.

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 description coverage is 100%, so the parameters are already well-documented in the schema. The description adds no additional parameter-level meaning beyond 'labels', so the baseline of 3 is appropriate.

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 clearly states the action ('Modify'), the target ('labels for multiple emails'), and the distinctive scope ('in batches'). This distinguishes it from the sibling tool modify_email, which presumably handles a single email, so an agent can select it based on the description alone.

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 phrase 'multiple emails in batches' implies this is the right choice when operating on many emails at once. However, it does not explicitly name modify_email as the single-message alternative, nor does it provide any exclusion conditions or guidance about when not to use the tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.