Skip to main content
Glama
c0webster

Hardened Google Workspace MCP

by c0webster

get_gmail_message_content

Retrieve the full content of a specific Gmail message including subject, sender, recipients, and body text from a security-hardened Google Workspace environment.

Instructions

Retrieves the full content (subject, sender, recipients, plain text body) of a specific Gmail message.

Args: message_id (str): The unique ID of the Gmail message to retrieve. user_google_email (str): The user's Google email address. Required.

Returns: str: The message details including subject, sender, date, Message-ID, recipients (To, Cc), and body content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
message_idYes
user_google_emailYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries full burden. It discloses the retrieval action and return format, but lacks details on authentication requirements, rate limits, error conditions, or whether it's read-only (implied but not stated). It adds some behavioral context but leaves gaps.

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 efficiently structured with a clear purpose statement, followed by Args and Returns sections. Every sentence adds value with no redundancy. It's appropriately sized for a 2-parameter retrieval tool.

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?

Given 2 parameters with 0% schema coverage and no annotations, the description does well by explaining parameters and return format. The output schema exists, so return values needn't be detailed. However, it could better address behavioral aspects like authentication or error handling.

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?

Schema description coverage is 0%, so the description must compensate. It explains both parameters: 'message_id' as 'unique ID of the Gmail message to retrieve' and 'user_google_email' as 'user's Google email address. Required.' This adds clear meaning beyond the bare schema.

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 specific action ('Retrieves'), target resource ('full content of a specific Gmail message'), and scope ('subject, sender, recipients, plain text body'). It distinguishes from sibling tools like 'get_gmail_messages_content_batch' (batch retrieval) and 'get_gmail_thread_content' (thread-level).

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 usage when needing detailed content of a single message, but doesn't explicitly state when to use this vs. alternatives like batch retrieval or thread-level tools. No guidance on prerequisites or exclusions is provided.

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/c0webster/hardened-google-workspace-mcp'

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