Skip to main content
Glama

update_draft

Destructive

Modify an existing Outlook draft by changing recipients, subject, body, importance, or attachments while leaving unspecified fields intact.

Instructions

Change a draft that is in a Drafts folder; only what you pass changes. to, cc and bcc replace the whole list. body replaces the whole body.

Args:
    add_attachments: Paths of files in the allowed folders.
    remove_attachments: Attachment names, or their indexes from read_message.

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": {
      "draft_id": "<draft_id>"
    },
    "name": "update_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNo
toNo
bccNo
bodyNo
subjectNo
draft_idYes
importanceNo
body_is_htmlNo
add_attachmentsNo
remove_attachmentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare this as a non-read-only, destructive, non-idempotent mutation, so the safety profile is covered structurally. The description adds real behavioral value beyond that: it explains merge-vs-replace semantics ('only what you pass changes', to/cc/bcc replace the whole list, body replaces the whole body) and clarifies that remove_attachments accepts indexes obtained from read_message. It does not say whether removal is reversible or what the response contains.

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

Conciseness4/5

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

The core semantics are front-loaded in the first sentence, and the Args block isolates the less obvious attachment parameters. The middle sentences are slightly fragmented and the Args section covers only two of ten parameters, so the structure is efficient but not fully leveraged.

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 10-parameter mutation with no output schema, the description covers the highest-risk semantics (list/body replacement, attachment removal by index) well. It is still incomplete: subject, importance, and body_is_html have no explanation anywhere, and the description says nothing about return values or what happens when draft_id is invalid.

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 0%, so the description must carry the parameter burden. It meaningfully documents five parameters (to/cc/bcc replacement, body replacement, add_attachments as paths in allowed folders, remove_attachments as names or read_message indexes) but leaves subject, importance, body_is_html, and draft_id entirely unaddressed, so the compensation is partial.

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?

The description uses a specific verb and resource ('Change a draft') and scopes it to drafts 'in a Drafts folder', which separates it from create_draft/send_draft by implication. It stops short of naming a sibling alternative explicitly, so a 4 rather than a 5.

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?

'only what you pass changes' clearly signals partial-update usage, which is helpful context for when to reach for this tool. However, there is no guidance on when to use update_draft versus create_draft, send_draft, or delete_messages, and no stated preconditions such as the draft needing to exist or be un-sent.

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