Skip to main content
Glama
dockndevai

@dockndevai/mcp-outlook

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OUTLOOK_AUTHNoAuthentication mode. When not set, the mode is chosen automatically: interactive if only OUTLOOK_CLIENT_ID is set, client-credentials if OUTLOOK_CLIENT_SECRET is set, token if OUTLOOK_TOKEN is set.
OUTLOOK_MODENoAccess mode: read-only (default), read-write, or admin. Controls which tools are registered.read-only
OUTLOOK_USERNoThe mailbox to act on when using client-credentials authentication (app-only), since an app token has no signed-in user.
OUTLOOK_TOKENNoA pre-obtained Microsoft Graph bearer token for token-based authentication. Its presence selects token mode.
OUTLOOK_DRY_RUNNoSet to 'true' to validate and log writes without executing them. Defaults to 'false'.false
OUTLOOK_AUDIT_LOGNoSet to 'false' to disable JSON audit logging to stderr. Defaults to 'true'.true
OUTLOOK_CLIENT_IDNoThe Application (client) ID from your Entra (Azure AD) app registration. Required for interactive and client-credentials authentication.
OUTLOOK_TENANT_IDNoThe tenant ID (e.g., 'common' for Microsoft accounts) required for client-credentials authentication; also often set to 'common' in interactive mode.
OUTLOOK_ALLOW_SENDNoSet to 'true' to allow sending, replying, and forwarding messages (requires read-write mode). Defaults to 'false'.false
OUTLOOK_ALLOW_DELETENoSet to 'true' to allow deleting messages (requires admin mode). Defaults to 'false'.false
OUTLOOK_CLIENT_SECRETNoClient secret for app-only (client-credentials) authentication. Its presence selects client-credentials mode.
OUTLOOK_FOLDER_ALLOWLISTNoComma-separated list of folders that may be written to or moved into.
OUTLOOK_PROTECTED_FOLDERSNoComma-separated list of folders (e.g., 'sentitems', 'archive') that may be read but never modified.

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
whoamiA

Return the signed-in mailbox's identity (display name, user principal name, id). Use this to confirm which mailbox the server is operating on before reading or writing.

list_foldersA

List the mailbox's top-level mail folders with their ids, display names, and unread/total counts. Use a folder id or well-known name (inbox, sentitems, drafts, archive) with list_messages.

list_messagesA

List messages, most recent first. Optionally scope to a folder and/or only unread messages. Returns compact summaries (id, subject, from, received, isRead, hasAttachments, preview). Fetch full bodies with get_message.

search_messagesA

Full-text search across the mailbox (subject, body, sender, recipients) using Microsoft Graph $search. Example queries: "invoice", "from:alice@contoso.com", "subject:release". Returns compact summaries.

get_messageA

Fetch a single message by id with its full body, recipients (to/cc/bcc), importance, and conversation id. Get ids from list_messages or search_messages.

list_attachmentsA

List a message's attachments as metadata only (id, name, contentType, size, isInline). Attachment bytes are intentionally not returned.

list_contactsA

List the mailbox's personal contacts (display name, email addresses, company).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 7 tools

Disambiguation4/5

Each tool targets a distinct operation, and list_messages vs search_messages are differentiated by browsing a folder vs full-text search. The only mild ambiguity is that both return message summaries, but the descriptions clarify when to use each.

Naming Consistency4/5

Tools mostly follow a verb_noun snake_case pattern with list_/get_/search_ prefixes. whoami is the clear outlier and does not match the naming convention.

Tool Count5/5

Seven tools is an appropriate scope for an Outlook-focused server. Each tool has a clear role with no redundancy.

Completeness3/5

The set covers read-only mailbox navigation, message retrieval, search, attachment metadata, and contacts. However, there are no write/action tools such as send, reply, move, delete, or mark-as-read, and attachment bytes are intentionally unavailable, so the surface is incomplete for a full Outlook workflow.

Maintenance

ActivityMaintained
ResponsivenessNo issues