Skip to main content
Glama
taylorwilsdon

Google Workspace MCP Server - Control Gmail, Calendar, Docs, Sheets, Slides, Chat, Forms & Drive

get_gmail_messages_content_batch

Retrieve multiple Gmail message contents in one batch request. Supports up to 100 messages, with options for full body or metadata-only formats, streamlining email data extraction.

Instructions

Retrieves the content of multiple Gmail messages in a single batch request.
Supports up to 100 messages per request using Google's batch API.

Args:
    message_ids (List[str]): List of Gmail message IDs to retrieve (max 100).
    user_google_email (str): The user's Google email address. Required.
    format (Literal["full", "metadata"]): Message format. "full" includes body, "metadata" only headers.

Returns:
    str: A formatted list of message contents with separators.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNofull
message_idsYes
serviceYes
user_google_emailYes
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses key behavioral traits: batch processing capability, 100-message limit, and Google's batch API usage. However, it doesn't mention authentication requirements, rate limits, error handling, or whether this is a read-only operation (though 'retrieves' implies reading).

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 perfectly structured and front-loaded: purpose statement first, then key constraints, followed by parameter explanations and return value. Every sentence adds value with zero waste or redundancy.

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

Completeness4/5

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

For a 4-parameter tool with no annotations and no output schema, the description provides good coverage of purpose, constraints, and most parameters. The main gap is the undocumented 'service' parameter and lack of output format details beyond 'formatted list with separators'.

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

Parameters4/5

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

With 0% schema description coverage, the description compensates well by explaining all 4 parameters: message_ids (list of IDs, max 100), user_google_email (required), and format (with clear enum explanations). However, it doesn't mention the 'service' parameter that appears in the schema, leaving one parameter undocumented.

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 tool's purpose with specific verbs ('retrieves', 'content of multiple Gmail messages') and distinguishes it from sibling tools like get_gmail_message_content (singular) and get_gmail_thread_content. It explicitly mentions batch processing capabilities.

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

Usage Guidelines4/5

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

The description provides clear context about when to use this tool (retrieving multiple messages in batch) and mentions the 100-message limit. However, it doesn't explicitly contrast with alternatives like get_gmail_message_content for single messages or get_gmail_thread_content for thread-based retrieval.

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

Related 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/taylorwilsdon/google_workspace_mcp'

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