Skip to main content
Glama

Draft an Outlook reply

draft_outlook_reply

Saves a draft reply to a message in the signed-in person's Outlook mailbox, in the same conversation. 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": {
      "message_id": "<message_id>",
      "body": "<body>"
    },
    "name": "draft_outlook_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesPlain-text reply. The quoted original is added by Outlook.
confirmNofalse or omitted returns a preview; true applies the change identified by preview_id.
reply_allNoReply to everyone on the message. Defaults to false.
message_idYesThe message to reply to, from search_outlook_email or get_outlook_thread.
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.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, but leave the write path ambiguous. The description fills that gap by clarifying nothing is sent, that writes go through a preview/confirm gate, and that authentication is required. It adds real behavior beyond the annotations without contradicting any of them.

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 with zero redundancy, front-loaded with the core action, then the safety-relevant call pattern, then the auth prerequisite. Every sentence carries distinct 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?

For a 6-parameter mutation with full schema coverage and no output schema, the description covers what matters: it is a draft not a send, the write requires a preview/confirm round trip, and sign-in is needed. Only minor gaps remain, such as what the preview response contains or whether drafts are capped.

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 body, message_id, confirm, preview_id, reply_all and idempotency_key are all already documented. The description reinforces the preview_id/confirm pairing but contributes no format, constraint or default information the schema does not already carry. Baseline 3 applies when the schema does the heavy lifting.

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?

Opens with a specific verb and resource ('Saves a draft reply to a message ... in the signed-in person's Outlook mailbox') and adds two scope boundaries that separate it from plain email drafting: 'in the same conversation' and 'Does not send the message.' An agent can identify this as a threaded reply-draft operation without inspecting the schema.

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?

Gives explicit operational guidance for the two-step flow: a first call previews, a second call with confirm true plus preview_id applies the change. It also states 'Sign-in required.' It stops short of naming when to prefer this over siblings like draft_outlook_email or reply_to_matter_email, so no exclusions are stated.

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