Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IMAP_HOSTYesThe hostname of the IMAP server
IMAP_PORTYesThe port of the IMAP server
IMAP_USERYesThe email address for IMAP authentication
IMAP_PASSWORDYesThe password for IMAP authentication

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_foldersB

List all IMAP mailbox folders

list_messagesC

List recent messages in a folder with subject, from, date. Default folder is INBOX.

get_messageA

Fetch a single email by UID. Returns headers and text body (prefers plain text).

search_messagesC

Search messages in a folder by criteria (subject, from, since date, unseen only)

mark_messageC

Set or remove flags on a message (e.g., mark as read/unread, flag/unflag)

move_messageC

Move a message to another folder

delete_messageA

Delete a message (move to Trash or permanently delete)

create_reply_draftB

Create a reply draft on an existing email thread. Finds the message by UID, sets In-Reply-To and References headers to keep it in the same thread.

create_draftC

Create a draft email in the Drafts folder

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 9 tools

Disambiguation5/5

Every tool has a clearly distinct purpose with no ambiguity. Tools like create_draft and create_reply_draft are closely related but serve different functions (new draft vs. reply), while others like delete_message, move_message, and mark_message each handle specific message operations without overlap.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with snake_case throughout (e.g., create_draft, list_folders, search_messages). There are no deviations in naming conventions, making the set predictable and readable.

Tool Count5/5

With 9 tools, the count is well-scoped for an IMAP email server. Each tool earns its place by covering essential email operations like listing, creating, managing, and searching messages, without being excessive or too sparse.

Completeness5/5

The tool set provides complete CRUD/lifecycle coverage for email management: create (drafts/replies), read (get/list/search), update (mark/move), and delete (delete_message). It covers all core workflows from folder listing to message handling with no obvious gaps.

Maintenance

ActivityInactive
ResponsivenessNo issues