Skip to main content
Glama
david-strejc

Gmail MCP Server

by david-strejc

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GMAIL_EMAILYesYour Gmail email address.
GMAIL_PASSWORDYesYour Gmail password or App Password if 2FA is enabled.
GMAIL_SMTP_PORTNoSMTP port (587 for TLS, 465 for SSL).587
GMAIL_IMAP_SERVERNoIMAP server for Gmail.imap.gmail.com
GMAIL_SMTP_SERVERNoSMTP 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

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 15 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness3/5

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.

Maintenance

ActivityInactive
ResponsivenessNo issues