Skip to main content
Glama
InfiniteRoomLabs

gmail-ai-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GMAIL_AI_BROKER_CONFIGNoPath to a specific config file for gmail-ai-broker. If not set, uses XDG default.

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": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
download_attachmentA

Download a message attachment to a local file path.

Writes the attachment bytes to out and returns {path, bytes_written}. Bytes are never returned inline.

get_raw_messageC

Fetch a message's full raw RFC822 MIME to a local file path.

Writes the raw bytes to out and returns {path, bytes_written}.

list_filtersA

List all Gmail filters as JSON resources.

get_filterA

Get a single Gmail filter resource by id.

create_draftA

Stage a draft (optionally with local-file attachments). Does NOT send.

attachments are local file paths. Returns the draft resource. Sending is intentionally unavailable here; review and send the draft from the CLI.

create_filterA

Create a Gmail filter from a declarative spec object.

spec is {criteria: {...}, action: {...}} (snake_case keys, e.g. add_label_ids). Validated before submission. forward actions are rejected over MCP -- create forwarding filters with the CLI instead.

delete_filterA

Delete a Gmail filter by id. Returns {deleted: }.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 7 tools

Disambiguation4/5

Most tools have clear boundaries: filter CRUD is distinct, and create_draft is separate. The only potential confusion is download_attachment vs get_raw_message, but their descriptions specify attachment vs full MIME bytes.

Naming Consistency5/5

All tools use a consistent verb_noun pattern in snake_case (download_, get_, list_, create_, delete_). There are no mixed casing styles or vague generic verbs.

Tool Count5/5

Seven tools is well within the ideal 3-15 range, and each tool serves a distinct function in the advertised workflow. The count feels neither bloated nor thin for the server's focused scope.

Completeness2/5

The set covers filter CRUD (minus update), draft creation, and message extraction, but omits core Gmail operations like listing/searching messages, getting a parsed message, updating/deleting drafts, and appending labels. This leaves significant gaps for a general Gmail MCP, especially since there is no way to move a conversation forward past draft creation.

Maintenance

ActivitySlowing
ResponsivenessNo issues