Skip to main content
Glama

Draft an Outlook email

draft_outlook_email

Saves a new email as a draft in the signed-in person's Outlook Drafts folder. Does not send the message. A first call returns a preview; a second call with confirm true and that preview_id applies the change. Sign-in required.

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

Input Schema

NameRequiredDescriptionDefault
ccNoOptional CC addresses.
toYesRecipient email addresses.
bodyYesPlain-text body.
confirmNofalse or omitted returns a preview; true applies the change identified by preview_id.
subjectYesSubject line.
preview_idNopreview_id is the id returned by this tool's preview call. Required when confirm is true.
idempotency_keyNoOptional. Same key on a retry replays the first save without writing twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / confirm / description
      Previous value: -"true only on the second call, after the person agreed to the preview."New value: +"false or omitted returns a preview; true applies the change identified by preview_id."
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Optional. Same key on a retry replays instead of saving twice."New value: +"Optional. Same key on a retry replays the first save without writing twice."
    • changedInput schema / properties / preview_id / description
      Previous value: -"preview_id from the preview call. Required with confirm: true."New value: +"preview_id is the id returned by this tool's preview call. Required when confirm is true."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare the safety profile (not read-only, not destructive, openWorld=false), so the description usefully adds that nothing is sent, that sign-in is required, and that the write is gated behind a preview/confirm cycle. The idempotency_key behavior is documented only in the schema, but the description's added behavioral context is still substantial.

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?

Four short sentences, front-loaded with what the tool does and the non-sending guarantee, followed by the workflow and the auth prerequisite. Nothing redundant.

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 7-parameter mutation with no output schema, the description covers the effect, the safety gate, and the auth requirement. It stops short of saying what the preview or the saved draft object contains, but the preview/confirm contract is clear enough to call correctly.

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 100%, so the schema already explains every parameter including confirm, preview_id, and idempotency_key. The description reinforces the confirm/preview_id linkage, which is mildly helpful, but adds no format or constraint details beyond the schema baseline.

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?

States a specific verb and resource ('Saves a new email as a draft in the signed-in person's Outlook Drafts folder') plus an explicit negative scope ('Does not send the message'), which separates it from send-style or reply-style siblings.

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 two-phase preview-then-confirm workflow is spelled out, which is real usage guidance, but nothing states when to pick this over draft_matter_email, draft_outlook_reply, or reply_to_matter_email. The agent must infer the new-email-vs-reply distinction from the name alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources