Skip to main content
Glama
outlook-mcp

outlook-mcp

by Pepebits

send_mail

Destructive

Send an email immediately through Microsoft 365 or Outlook.com with recipients, subject, body, and attachments; large files upload first so nothing sends if an upload fails.

Instructions

Send an email immediately. This cannot be undone. Attachments that do not fit the ~3 MB inline budget (up to 150 MB each) are uploaded in chunks first; if an upload fails nothing is sent.

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": "send_mail"
  }
}

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
saveToSentItemsNoDefault true

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.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the irreversibility warning is partly redundant, but the description adds real behavioral detail annotations cannot express: chunked upload of large attachments and the atomic guarantee that a failed upload results in nothing being sent. It still omits return behavior (e.g., whether a message id comes back) and any rate or quota limits.

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?

Three short sentences, each carrying distinct information: the action, the irreversibility, and the attachment/atomicity behavior. The most consequential facts are front-loaded with zero filler.

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 10-parameter destructive mutation tool with no output schema, the description covers the two things an agent most needs to reason about (irreversibility and partial-failure semantics). Remaining gaps are modest — no mention of what the call returns or sender-identity constraints, the latter being handled in the schema.

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 coverage is 60%, so the schema already documents from, fromName, bodyType, saveToSentItems, and attachments. The description restates the attachment size/chunking semantics but adds nothing about recipient fields (to/cc/bcc), subject, or body, so it neither compensates for the gap nor goes meaningfully beyond the schema.

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

Purpose4/5

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

States a specific verb and resource ('Send an email') with immediate timing, which clearly separates it from draft-oriented siblings like create_draft. It does not explicitly name alternatives such as create_draft or reply_message, so the differentiation is inferred rather than stated.

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?

The word 'immediately' implies this is the direct-send path rather than a draft path, but no explicit when-to-use/when-not-to-use guidance or named alternative appears. An agent must infer from sibling names that create_draft is the non-sending option.

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