Gmail MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GMAIL_EMAIL | Yes | Your Gmail email address. | |
| GMAIL_PASSWORD | Yes | Your Gmail password or App Password if 2FA is enabled. | |
| GMAIL_SMTP_PORT | No | SMTP port (587 for TLS, 465 for SSL). | 587 |
| GMAIL_IMAP_SERVER | No | IMAP server for Gmail. | imap.gmail.com |
| GMAIL_SMTP_SERVER | No | SMTP server for Gmail. | smtp.gmail.com |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search-emailsC | Search emails within a date range and/or with specific keywords |
| get-email-contentB | Get the full content of a specific email by its ID |
| count-daily-emailsB | Count emails received for each day in a date range |
| forward-emailA | Forward an email with its attachments to new recipients. Required fields: email_id and recipients (to). Optional: subject_prefix, additional_message, and CC recipients. |
| send-emailA | CONFIRMATION STEP: Actually send the email after user confirms the details. Before calling this, first show the email details to the user for confirmation. Required fields: recipients (to), subject, and content. Optional: CC recipients. |
| list-labelsA | List all available Gmail labels/folders |
| create-labelB | Create a new Gmail label/folder |
| apply-labelB | Apply a label to an email |
| remove-labelB | Remove a label from an email |
| move-emailB | Move an email to a specific folder/label |
| delete-labelA | Delete a Gmail label/folder entirely. Cannot delete system labels. |
| rename-labelA | Rename an existing Gmail label/folder. Cannot rename system labels. |
| apply-label-batchA | Apply a label to multiple emails using their sequence IDs (from search results) |
| remove-label-batchA | Remove a label from multiple emails using their sequence IDs (from search results) |
| move-email-batchB | Move multiple emails to a specific folder/label using their sequence IDs (from search results) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 15 tools
Each tool has a clearly distinct purpose: individual vs batch operations are separated, and all actions (apply label, remove label, move, etc.) target different aspects of Gmail management. No overlap that would cause confusion.
Tool names follow a consistent verb_noun pattern (e.g., apply-label, create-label, search-emails). Batch variants include '-batch' suffix, and 'count-daily-emails' is the only slight deviation but still clear. Overall predictable and uniform.
With 15 tools covering email search, retrieval, sending, forwarding, label management (CRUD plus batch operations), and counting, the scope is well-balanced for a Gmail server. Each tool serves a distinct purpose and the count feels right.
The tool set covers core operations like sending, forwarding, searching, and label management, but lacks common email actions such as marking as read/unread, trashing, archiving, or managing drafts. Batch operations are a plus, but some expected Gmail features are missing.