Skip to main content
Glama
bajor

gmail-mcp-send-to-list-only

by bajor

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GMAIL_TOKEN_FILEYesPath to the token file where OAuth token is stored.
GMAIL_SENDER_EMAILYesGmail address that is authorized and used as sender.
GMAIL_MAX_ATTACHMENTSNoMaximum number of attachments per message.10
GMAIL_ALLOWED_RECIPIENTSYesComma-separated list of allowed recipient email addresses.
GMAIL_CLIENT_SECRET_FILEYesPath to the Google OAuth client secret JSON file.
GMAIL_MAX_ATTACHMENT_BYTESNoMaximum size per attachment in bytes.25000000
GMAIL_ALLOWED_ATTACHMENT_ROOTSNoOptional comma-separated list of directories from which attachments can be sent.
GMAIL_MAX_TOTAL_ATTACHMENT_BYTESNoMaximum total size of all attachments in one message in bytes.25000000

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
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
gmail_list_allowed_recipientsA

List the only recipient IDs and addresses that this process can use.

gmail_send_emailC

Send one email to a non-empty allowed subset in visible To.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 2 tools

Disambiguation5/5

The two tools are clearly distinct: one lists allowed recipients, the other sends an email. There is no overlap in their purposes, so an agent would not confuse them.

Naming Consistency5/5

Both tool names follow the same pattern: 'gmail_' prefix, then a verb ('list' or 'send') and an object. This consistent snake_case naming makes the toolset predictable.

Tool Count4/5

With only 2 tools, the set is minimal, but the server's narrow purpose (send to a restricted list) justifies this. It is slightly under the typical 3-15 range but reasonable for the scope.

Completeness5/5

The domain is fully covered: the list tool lets the agent discover allowed recipients, and the send tool performs the actual email sending. No essential operations are missing for a 'send-to-list-only' server.

Maintenance

ActivitySlowing
ResponsivenessNo issues