Skip to main content
Glama
imap-mail-mcp

imap-mail-mcp

by EastMG

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_accountsA

List configured mailboxes (网易/新浪/完美邮箱) with their IMAP/SMTP endpoints.

list_foldersB

List IMAP folders for one account.

search_messagesA

Search messages in a mailbox. Returns uid + envelope; use read_message for the body. Chinese folder names must match list_folders output exactly.

read_messageA

Read one message by uid: headers, decoded plain-text body, attachment list.

download_attachmentB

Save one attachment of a message to ./downloads and return the local path.

mark_readC

Mark a message read or unread.

send_messageA

SEND a real email. IRREVERSIBLE. Show the user account/recipients/subject/body first, get explicit approval, then call with confirmed=true. Every send is logged to sends.log.

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

Disambiguation5/5

Each tool maps to a distinct resource+action pair: accounts vs. folders vs. message search vs. message read, plus attachment download, read-state toggle, and send. The search/read split is explicitly clarified in the descriptions ('returns uid + envelope; use read_message for the body'), leaving no realistic overlap. Only mark_read and read_message share the 'read' word, but their actions are clearly different.

Naming Consistency5/5

All seven tools follow a strict snake_case verb_noun pattern (list_accounts, list_folders, search_messages, read_message, download_attachment, mark_read, send_message). Resource nouns are used consistently across list/search/read operations.

Tool Count5/5

Seven tools is a well-scoped surface for an IMAP/SMTP client: discovery (accounts, folders), retrieval (search, read, download), state change (mark_read), and the irreversible action (send_message). Nothing appears redundant or padded.

Completeness3/5

Core read/send workflows are covered, but the mailbox lifecycle has notable gaps: there is no delete_message, no move/copy-to-folder, and no folder creation, so an agent cannot archive, file, or clean up mail. Reply/forward also require the agent to reconstruct headers manually via send_message.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues