Skip to main content
Glama
Gmail MCP Server

Gmail MCP Server

by Abhitkumar89

get_email

Retrieve a complete Gmail message by its message ID after OAuth2 setup, so AI assistants can read full email content for inbox and outreach workflows.

Instructions

Retrieve a full email by ID (requires OAuth2 config)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesGmail message ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the OAuth2 configuration prerequisite, which is genuinely useful, but says nothing about whether retrieval marks the message as read, what 'full' includes (body, headers, attachments), or whether the call is read-only in effect.

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?

One short sentence with the action front-loaded and the auth prerequisite parenthetically appended; nothing is wasted and nothing important is buried.

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?

For a one-parameter read tool with no annotations and no output schema, the definition is callable but thin: it omits what 'full' returns and whether the read has side effects on message state, leaving an agent to guess at behavior that matters in Gmail contexts.

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% and the single 'id' parameter is already documented as a Gmail message ID. The description adds no format hints, ID-source guidance, or constraints beyond what the schema provides, so the baseline of 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('Retrieve a full email') and scopes it to ID-based lookup, which clearly separates it from list-style siblings like list_unread_emails. It stops short of naming a specific sibling to contrast with, so it lands just below the top band.

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 'by ID' implies the precondition for use (you must already have a message ID), but there is no explicit when-to-use guidance and no exclusion pointing to alternatives such as list_unread_emails for discovering IDs.

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