Skip to main content
Glama
mpalermiti

outlook-mcp

by mpalermiti

outlook_attach_to_draft

Add attachments to an existing Outlook draft. Files over 3MB switch to an upload session automatically, and attachment paths resolve safely within a configured folder.

Instructions

Add attachments to an existing draft; auto-switches to upload-session for files >3MB.

attachment_paths resolve inside the configured attachments directory (attachments_dir, an attachments folder in the settings directory by default) — a bare filename is looked up there, and a path outside it is refused. Returns new attachment IDs for later removal via outlook_remove_draft_attachment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
draft_idYes
attachment_pathsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnly=false and destructive=false, and the description goes well beyond that: it discloses the >3MB upload-session auto-switch, the path-resolution/security rule (bare filename looked up in attachments_dir, outside paths refused), and the return of new attachment IDs. That is substantive operational context.

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?

Front-loads the core action and size-threshold behavior before the pathing detail; every sentence carries information. The parenthetical about the default directory is dense but earns its place.

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?

With no output schema, the description usefully states what is returned (new attachment IDs) and how they feed into removal. Combined with the path and size behavior, an agent has enough to invoke it correctly, though draft_id semantics are not spelled out.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, the description compensates strongly for attachment_paths by explaining resolution rules, the bare-filename case, and the outside-path rejection. draft_id is only implied by 'existing draft', but it is a self-evident identifier, leaving only a minor gap.

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 — 'Add attachments to an existing draft' — which clearly separates it from siblings like outlook_send_with_attachments and outlook_create_draft. An agent can identify its scope without opening 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 Guidelines3/5

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

Usage is implied by 'existing draft' and it cross-references outlook_remove_draft_attachment for cleanup, but it never explicitly states when to prefer this over alternatives such as attaching at send time. Guidance is present but inferential.

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

Deploy Server

Other Tools