Skip to main content
Glama
outlook-mcp-server

outlook-mcp-server

by acangialosi

outlook-mcp-server

Un servidor MCP local que le da a Claude (Desktop o Code) acceso de lectura/escritura a un buzón personal de Hotmail / Outlook.com a través de la API de Microsoft Graph, usando el flujo de código de autorización OAuth 2.0 (con PKCE) contra la plataforma de identidad de Microsoft.

Expone seis herramientas: list_messages, get_message, search_messages, send_message, create_draft y list_folders.

Todo se ejecuta localmente a través de stdio — no hay ningún servicio alojado, y tu correo nunca pasa por nada más que tu máquina y la propia API de Graph de Microsoft.

Cómo funciona

  • Autenticación: MSAL Node ejecuta un flujo de código de autorización + PKCE contra https://login.microsoftonline.com/consumers (solo cuentas personales — consulta Elección de inquilino), usando un servidor HTTP local de corta duración como destino de redirección. Los tokens (incluido el token de actualización offline_access) se almacenan en caché y se renuevan silenciosamente en ejecuciones futuras.

  • Almacenamiento: la caché de tokens es serializada por MSAL, cifrada con AES-256-GCM usando una clave generada localmente, y escrita en ~/.outlook-mcp-server/token-cache.enc (modo 0600). La clave en sí reside en ~/.outlook-mcp-server/cache.key (también 0600). Consulta Notas de seguridad para conocer el modelo de amenazas que esto cubre (y no cubre).

  • Llamadas a Graph: un cliente delgado basado en fetch llama a https://graph.microsoft.com/v1.0/... con el token de acceso actual.

  • Servidor MCP: construido sobre @modelcontextprotocol/sdk, hablando stdio, por lo que puede ser lanzado directamente por Claude Desktop / Claude Code como un proceso hijo.

Related MCP server: Outlook MCP Python

Requisitos previos

  • Node.js 18+

  • Una cuenta de Microsoft (Hotmail, Outlook.com o Live) — el buzón al que quieres que Claude acceda.

  • Una cuenta gratuita de Azure para registrar la aplicación (cualquier cuenta de Microsoft puede hacer esto — no necesita ser una suscripción de Azure de pago).

1. Instalación

git clone <this repo>
cd outlook-mcp-server
npm install

2. Registrar una aplicación en el Portal de Azure

Este registro es lo que emite el ID de cliente que este servidor usa para hablar con Microsoft Graph en tu nombre. npm run setup (abajo) te guía a través de esto interactivamente, pero los pasos son:

  1. Ve a portal.azure.com e inicia sesión con cualquier cuenta de Microsoft.

  2. Busca Registros de aplicaciones → + Nuevo registro.

  3. Completa el formulario:

    • Nombre: cualquier cosa, por ejemplo outlook-mcp-server.

    • Tipos de cuenta admitidos: "Solo cuentas personales de Microsoft". Esto es lo que restringe la aplicación a cuentas de Hotmail/Outlook.com/Live en lugar de un inquilino de trabajo/escuela (Azure AD).

    • URI de redirección: plataforma "Cliente público/nativo (móvil y escritorio)", valor http://localhost:8765/callback (u otro puerto — solo sé consistente cuando el script de configuración lo pida).

  4. Haz clic en Registrar, luego copia el ID de aplicación (cliente) de la página de Información general.

  5. Ve a Permisos de API → + Agregar un permiso → Microsoft Graph → Permisos delegados, y agrega:

    • Mail.Read

    • Mail.ReadWrite

    • Mail.Send

    • offline_access (a menudo presente por defecto)

    Los permisos delegados de cuentas personales de Microsoft como estos no necesitan consentimiento de administrador — te das tu propio consentimiento durante el inicio de sesión en el paso 3 a continuación.

  6. (Opcional, avanzado) Si prefieres usar un cliente confidencial con un secreto de cliente en lugar del flujo PKCE de cliente público, agrega una URI de redirección de plataforma Web y crea un secreto en Certificados y secretos. La mayoría de las personas deberían omitir esto.

3. Ejecutar la configuración (autenticación + configuración)

npm run setup

Esto hará lo siguiente:

  1. Imprimirá el tutorial anterior.

  2. Solicitará el ID de cliente (y opcionalmente el secreto / inquilino / URI de redirección), y lo guardará en ~/.outlook-mcp-server/config.json.

  3. Abrirá tu navegador para iniciar sesión y dar consentimiento.

  4. Verificará que el token funcione llamando a GET /me, imprimiendo tu nombre/correo.

  5. Imprimirá el fragmento JSON para agregar a tu configuración de Claude (ver abajo).

Para reautenticarte más tarde (token revocado, cambio de cuenta, etc.) sin volver a ingresar los detalles del registro de la aplicación:

npm run login

4. Compilar y registrar con Claude

npm run build

Claude Desktop — agrega a claude_desktop_config.json (~/Library/Application Support/Claude/claude_desktop_config.json en macOS, %APPDATA%\Claude\claude_desktop_config.json en Windows):

{
  "mcpServers": {
    "outlook": {
      "command": "node",
      "args": ["/absolute/path/to/outlook-mcp-server/dist/src/index.js"]
    }
  }
}

Claude Code:

claude mcp add outlook -- node /absolute/path/to/outlook-mcp-server/dist/src/index.js

Reinicia Claude Desktop / Claude Code. Las herramientas a continuación deberían estar disponibles ahora.

Herramientas

Herramienta

Descripción

list_messages

Lista mensajes de una carpeta (por defecto inbox), con filtros de fecha since/until, unreadOnly, ordenamiento y paginación.

get_message

Obtiene el contenido completo (cuerpo, todos los destinatarios) de un mensaje por ID.

search_messages

Búsqueda de texto libre ($search) en el correo, opcionalmente limitada a una carpeta.

send_message

Envía un correo inmediatamente (to/cc/bcc, asunto, cuerpo de texto o HTML).

create_draft

Crea un borrador en la carpeta Borradores sin enviarlo.

list_folders

Lista las carpetas de correo y sus IDs, para usar con el parámetro folder anterior.

Todas las herramientas devuelven JSON (como contenido de texto MCP) y muestran los errores de la API de Graph como errores de herramienta en lugar de bloquear el servidor.

Elección de inquilino

Por defecto, esto usa el inquilino consumers (https://login.microsoftonline.com/consumers), que solo acepta cuentas personales de Microsoft (Hotmail/Outlook.com/Live) — una cuenta de trabajo/escuela será rechazada al iniciar sesión. Si necesitas admitir tanto cuentas personales como cuentas de Azure AD, establece el inquilino en common durante npm run setup (o mediante OUTLOOK_MCP_TENANT=common). Este proyecto está diseñado y probado para el caso de cuentas personales (consumers).

Referencia de configuración

Todo se puede configurar mediante npm run setup (escrito en ~/.outlook-mcp-server/config.json) o mediante variables de entorno, que tienen prioridad — consulta .env.example:

Variable

Propósito

OUTLOOK_MCP_CLIENT_ID

ID de cliente del registro de la aplicación de Azure.

OUTLOOK_MCP_CLIENT_SECRET

Solo si se usa un cliente confidencial (plataforma Web).

OUTLOOK_MCP_TENANT

consumers (por defecto) o common.

OUTLOOK_MCP_REDIRECT_URI

Debe coincidir con el registro de la aplicación de Azure.

OUTLOOK_MCP_CONFIG_DIR

Dónde se almacenan la configuración y la caché de tokens. Por defecto ~/.outlook-mcp-server.

Notas de seguridad

  • La caché de tokens está cifrada en reposo con una clave AES-256-GCM generada localmente (~/.outlook-mcp-server/cache.key, modo 0600). Esto protege contra la divulgación casual — commits accidentales, copias de seguridad, otros usuarios sin privilegios en una máquina compartida — pero no contra un atacante que ya tenga acceso de lectura a los archivos de tu cuenta de usuario, ya que la clave se encuentra junto a la caché cifrada. Para una protección más fuerte, reemplaza el ICachePlugin en src/auth/tokenCache.ts por uno respaldado por el llavero de tu sistema operativo (por ejemplo, mediante keytar) — la interfaz del plugin está intencionalmente aislada a ese único archivo.

  • Nunca hagas commit de ~/.outlook-mcp-server/ (está fuera del repositorio por defecto) ni de un archivo .env que contenga OUTLOOK_MCP_CLIENT_SECRET.

  • send_message envía inmediatamente sin paso de confirmación dentro de este servidor — se espera que Claude confirme la intención contigo antes de llamarlo para cualquier cosa sensible. Prefiere create_draft cuando quieras un paso de revisión.

  • Los ámbitos solicitados se limitan a Mail.Read, Mail.ReadWrite, Mail.Send y offline_access — sin calendario, contactos ni acceso más amplio a nivel de aplicación Mail.*.

Solución de problemas

  • AADSTS50020 / "la cuenta de usuario ... no existe en el inquilino" — estás accediendo a un inquilino que no acepta cuentas personales, o estás iniciando sesión con una cuenta de trabajo/escuela contra consumers. Confirma que los "Tipos de cuenta admitidos" del registro de la aplicación sean "Solo cuentas personales de Microsoft" y que OUTLOOK_MCP_TENANT sea consumers (o common si intencionalmente quieres ambos).

  • AADSTS50011 / discrepancia de URI de redirección — el redirectUri en ~/.outlook-mcp-server/config.json debe coincidir exactamente con una URI de redirección configurada en el registro de la aplicación de Azure, incluido el puerto.

  • Errores de herramienta "No has iniciado sesión" — ejecuta npm run login.

  • Puerto ya en uso durante la configuración/inicio de sesión — otro proceso está usando el puerto de la URI de redirección; detenlo, o reconfigura el registro de la aplicación y npm run setup con un puerto diferente.

Desarrollo

npm run dev     # run the MCP server directly from TypeScript (stdio)
npm run build   # compile to dist/
npm run clean   # remove dist/

Estructura del proyecto

src/
  index.ts            MCP server entrypoint (stdio transport)
  config.ts            Config loading (env + config file)
  auth/
    crypto.ts           AES-256-GCM file encryption helpers
    tokenCache.ts        MSAL ICachePlugin backed by crypto.ts
    msalClient.ts        MSAL app factory + silent token acquisition
    loginFlow.ts          Interactive loopback OAuth flow
  graph/
    client.ts            Generic Microsoft Graph fetch wrapper
    mail.ts               Mail-specific Graph calls
    types.ts              Graph response types
  tools/                 One file per MCP tool, registered in index.ts
scripts/
  setup.ts              Interactive one-time (and re-runnable) setup

Available Tools

6 tools
create_draftCreate a draft emailA

Create a draft message in the mailbox's Drafts folder without sending it. Prefer this over send_message whenever the user should review the email first.

NameRequiredDescriptionDefault
ccNoList of email addresses.
toNoList of email addresses.
bccNoList of email addresses.
bodyNoEmail body content.
subjectNoEmail subject line.
bodyTypeNoContent type of `body` (default text).

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description must convey behavioral traits on its own. It clearly discloses that the email is not sent and is instead stored in the Drafts folder. While it does not mention potential side effects (e.g., overwriting existing drafts) or required permissions, these are not critical for a draft-creation tool. The disclosure is sufficient for a simple operation, earning a 4 rather than 3.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences: the first states the core purpose, the second gives usage guidance. It is front-loaded and every word earns its place. No fluff or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is relatively simple with six well-documented parameters and no output schema. The description provides the essential purpose and usage context. It could mention what the tool returns (e.g., draft ID) but that is not crucial for the agent's selection decision. The description covers the action, location, and when to use it, making it mostly complete for this tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema already documents all six parameters (to, cc, bcc, body, subject, bodyType) with their types and semantics. The description adds no additional parameter details, but it also does not need to because the schema is complete. Baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action: 'Create a draft message in the mailbox's Drafts folder without sending it.' It specifies the verb (create), the resource (draft message), the location (Drafts folder), and the key distinction from sending. This unambiguously differentiates it from its sibling send_message.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says 'Prefer this over send_message whenever the user should review the email first.' This directly instructs when to use this tool versus an alternative, making the usage context crystal clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_messageGet full email messageA

Fetch the full content (including body, all recipients, and sender) of a single message by its Graph message ID, as returned by list_messages or search_messages.

NameRequiredDescriptionDefault
messageIdYesThe Graph message ID.

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the burden. It states the tool fetches full content, which implies a read operation, but does not disclose any side effects, permissions, or limitations. It adds some context (what is included in the content) but lacks details like whether it marks messages as read or requires specific scopes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, front-loaded with the action and resource, and includes the key detail about where the ID comes from. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool is simple (one parameter, no output schema, no nested objects), the description is complete enough. It explains what the tool does, what the parameter is, and how to obtain it. It could mention return format, but the absence of an output schema and the simplicity of the tool make this acceptable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100% (the only parameter messageId is described as 'The Graph message ID.'). The description adds that the ID is 'as returned by list_messages or search_messages', which provides useful context beyond the schema. However, the schema already covers the parameter meaning, so the description adds marginal value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool fetches full content of a single message by its Graph message ID, specifying the resource (message) and the action (fetch full content including body, recipients, sender). It also distinguishes from siblings by referencing list_messages or search_messages as sources for the ID.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage: use this tool when you have a message ID from list_messages or search_messages and need full content. It does not explicitly state when not to use it or mention alternatives, but the context is clear enough for an agent to decide.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_foldersList mail foldersA

List top-level mail folders in the mailbox (Inbox, Sent Items, Drafts, Archive, custom folders, etc.) along with their IDs and item counts. Use a returned folder ID with list_messages or search_messages to target that folder.

NameRequiredDescriptionDefault

No parameters

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description implicitly indicates a read-only operation via 'list', but lacks an explicit statement about no side effects or modifications. Since no annotations are provided, the description carries full burden, and this is a minor omission.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that conveys the essential information without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

While the description mentions IDs and item counts, it does not specify the exact return format (e.g., array, object) or potential errors. Given the absence of an output schema, a bit more detail on the return structure would be helpful, but the current level is adequate for a simple list operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are no parameters, so the description correctly omits any parameter details. The schema is empty, and no additional explanation is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists top-level mail folders with IDs and counts, and it distinguishes itself from sibling tools by focusing on folder enumeration rather than message operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly instructs to use the returned folder ID with list_messages or search_messages, providing clear when-to-use and how to chain with other tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_messagesList email messagesA

List messages from a mail folder (default: inbox), newest first by default. Supports date-range and read/unread filtering. Use list_folders first if you need a folder ID other than a well-known name like 'inbox', 'drafts', 'sentitems', 'archive', or 'junkemail'.

NameRequiredDescriptionDefault
topNoMax messages to return (default 25, max 100).
skipNoPagination offset.
sinceNoISO 8601 date-time; only messages received on/after this.
untilNoISO 8601 date-time; only messages received on/before this.
folderNoWell-known folder name (inbox, drafts, sentitems, deleteditems, archive, junkemail, outbox) or a folder ID. Defaults to inbox.
orderByNoField to sort by (default receivedDateTime).
unreadOnlyNoIf true, only unread messages. If false, only read ones.
orderDirectionNoSort direction (default desc, i.e. newest first).

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the burden. It does not explicitly state side effects or read-only nature, though listing is implicitly non-destructive. It lacks details on error handling or edge cases.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences, well-structured, and free of redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so return format is not required. The description covers main behavior and parameters, though it omits details like pagination mechanics beyond the parameters, but this is sufficient given the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All parameters are described in the schema, and the description adds helpful context about folder IDs and defaults, enhancing understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the tool lists messages from a folder, specifies default folder and ordering, and distinguishes from siblings by focusing on listing instead of searching or getting individual messages.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit guidance to use list_folders when needing a folder ID, and mentions filtering capabilities, but does not explicitly compare with search_messages or get_message for when to use them.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_messagesSearch email messagesA

Full-text search across mail (subject, body, sender, recipients, attachments) using Microsoft Graph's $search, ranked by relevance. Optionally scope the search to one folder. For structured filtering (date ranges, read/unread) without free-text search, prefer list_messages instead.

NameRequiredDescriptionDefault
topNoMax results to return (default 25, max 100).
queryYesFree-text search query.
folderNoOptional well-known folder name or folder ID to restrict the search to.

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the behavioral disclosure. It adds notable behaviors: full-text scope across fields, relevance ranking, optional folder scoping. It does not mention page limits, but the top parameter is documented. The description gives enough context for a search operation without contradicting any annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core function, and no redundancy. Every clause earns its place, making it an exemplar of concise tool documentation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a search tool with a simple parameter set and no output schema, the description covers the main functionality, adds an explicit alternative, and clarifies optional folder scoping. It omits pagination details, but the top parameter is documented in the schema, so the description is sufficiently complete for practical use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds context by noting 'Optionally scope the search to one folder,' giving extra meaning to the folder parameter. It does not elaborate on top or query beyond schema, but the added folder context justifies a 4.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it performs full-text search across mail fields (subject, body, sender, recipients, attachments) and specifies the ranking mechanism (relevance). It also distinguishes itself from sibling list_messages by contrasting free-text search against structured filtering, making the purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use (free-text search) and when not to (structured filtering without free-text) and names the preferred alternative (list_messages). This gives the agent clear decision-making guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

send_messageSend an emailA

Send a new email immediately from the signed-in mailbox. This sends right away — there is no confirmation step, so only call this once you (and the user, if appropriate) are sure about the recipients and content. Use create_draft instead if the message should be reviewed before sending.

NameRequiredDescriptionDefault
ccNoList of email addresses.
toYesList of email addresses.
bccNoList of email addresses.
bodyYesEmail body content.
subjectYesEmail subject line.
bodyTypeNoContent type of `body` (default text).
saveToSentItemsNoSave a copy to Sent Items (default true).

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, but the description discloses that sending is immediate and non-confirmatory: 'this sends right away — there is no confirmation step.' It also implies irreversibility by advising careful consideration. It does not mention failure handling or permissions, but it covers the core behavioral trait.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the purpose, and each sentence adds value: the first states the action, the second explains the immediate nature and gives an alternative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple send action with full schema and no output schema, the description covers the purpose, usage context, and behavioral nuance. It provides sufficient context for an agent to decide when to use this tool versus create_draft.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already describes all parameters with 100% coverage, so the description adds no additional parameter meaning. The description doesn't mention any parameter specifics, but the schema suffices.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the function: 'Send a new email immediately from the signed-in mailbox.' It distinguishes from sibling create_draft by referencing alternative usage, making the purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly provides when-not to use: 'Use create_draft instead if the message should be reviewed before sending.' It also advises certainty before calling: 'only call this once you (and the user, if appropriate) are sure about the recipients and content.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 6 tool updatesv1.0.0
    • First observedcreate_draft
    • First observedget_message
    • First observedlist_folders
    • First observedlist_messages
    • First observedsearch_messages
    • First observedsend_message

TDQS

A4.3/5.0

Scored across 6 tools

Disambiguation4/5

Most tools have clearly distinct purposes: listing, fetching, searching, folder enumeration, sending, and drafting. The only possible confusion is between list_messages and search_messages, but their descriptions clearly differentiate structured filtering from full-text relevance search.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: list_messages, get_message, search_messages, list_folders, send_message, create_draft. There are no style mixups or vague verbs.

Tool Count5/5

Six tools is a well-scoped set for an Outlook mail server. Each tool covers a distinct core email operation without unnecessary bloat or missing essentials.

Completeness4/5

The tool surface covers the primary mail workflows: listing, searching, reading, sending, drafting, and folder navigation. Some common operations like reply, forward, delete, move, or updating drafts are absent, but the core read/send workflow is solid.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A Python-based MCP server for Microsoft Outlook integration using Microsoft Graph API, enabling email reading/sending, calendar management, and contact operations through Claude Desktop.
    1
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server that enables Claude to manage Outlook emails, including reading, sending, organizing, drafting, and bulk operations via Microsoft Graph API.
    15 npm
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that gives Claude Code and Codex full control of a personal Outlook.com mailbox and calendar via the Microsoft Graph API, enabling mail, draft, folder, and calendar operations through natural language.
    31
    2
    MIT