Skip to main content
Glama
outlook-mcp

outlook-mcp

by Pepebits

create_draft

Creates unsent Outlook email drafts in the Drafts folder, supporting recipients, subject, body, and attachments up to 150 MB with chunked uploads for large files.

Instructions

Create a draft message in the Drafts folder (not sent). Attachments of 3 MB or more (up to 150 MB) are uploaded in chunks.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "to": "<to>",
      "subject": "<subject>",
      "body": "<body>"
    },
    "name": "create_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toYesTo recipients
bccNo
bodyYes
fromNoFrom address: must be the signed-in mailbox or one of its aliases / SendAs identities
subjectYes
bodyTypeNoDefault text
fromNameNoDisplay name shown with the From address (e.g. Fox); requires from. Outlook.com may replace it with the account name when from is the primary address
attachmentsNoLocal files inside OUTLOOK_ATTACH_DIRS (default: download dir, ~/Documents, ~/Desktop); hidden files are refused. Up to 150 MB each; files that do not fit the ~3 MB inline budget go through an upload session

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.0.0
    • changedInput schema / properties / attachments / description
      Previous value: -"Local files (up to 150 MB each; files of 3 MB or more are sent through an upload session)"New value: +"Local files inside OUTLOOK_ATTACH_DIRS (default: download dir, ~/Documents, ~/Desktop); hidden files are refused. Up to 150 MB each; files that do not fit the ~3 MB inline budget go through an upload session"
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "From address: must be the signed-in mailbox or one of its aliases / SendAs identities",
      +  "format": "email",
      +  "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / fromName
      Added value: +{
      +  "description": "Display name shown with the From address (e.g. Fox); requires from. Outlook.com may replace it with the account name when from is the primary address",
      +  "maxLength": 100,
      +  "type": "string"
      +}
  2. First observedv1.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the description's job is to add context beyond that. It does so usefully by disclosing the chunked-upload behavior for attachments of 3 MB or more and the 150 MB ceiling, which tells the agent the call may be long-running or multi-step. It stops short of saying what a failure or partial upload does, or that a draft identifier is produced.

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 short sentences, front-loaded with the core action and the non-delivery constraint before the attachment detail. No filler or redundant restatement of the tool name.

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

Completeness3/5

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

For a 9-parameter mutation with no output schema, the definition is thin: it never says what the call returns (draft id, message object), how sending addresses are validated, or what happens when an attachment path falls outside OUTLOOK_ATTACH_DIRS beyond the schema's own note. Annotations cover the safety profile and the schema covers some params, so the gap is real but not severe.

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 56%, so several parameters (to, subject, body, cc, bcc) carry no descriptions in either place. The description only touches attachments, and largely restates what the schema already says about the ~3 MB inline budget and 150 MB limit rather than clarifying the semantics of path resolution or the required body/subject handling. Baseline 3 is appropriate given the schema does part of the work.

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 gives a specific verb and resource ('Create a draft message') plus a destination ('Drafts folder') and an explicit scope clarification ('not sent') that separates it from send_mail without needing the sibling named. An agent can immediately tell this persists a draft rather than delivering mail.

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

Usage Guidelines3/5

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

Usage is only implied through the parenthetical '(not sent)', which signals this is the non-delivering path, but there is no explicit when-to-use statement, no prerequisites (e.g., authentication / signed-in mailbox), and no named alternative such as send_mail for delivery. Adequate but leaves routing inference to the agent.

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