Skip to main content
Glama
ShermanGu
by ShermanGu

edit_mail_draft

Update Exchange mail drafts via Exchange EWS MCP: edit recipients, subject, body, and append pre-validated local attachments; never sends. For meetings, use save_meeting.

Instructions

修改邮件草稿并可追加允许目录中的本地附件,绝不发送。

所有附件会在第一次 Exchange 写入前完成路径和大小校验。draft_ref 只能是 邮件草稿引用;会议必须使用 save_meeting。

Input Schema

NameRequiredDescriptionDefault
ccNo
toNo
bccNo
subjectNo
body_htmlNo
draft_refYes
importanceNo
attachmentsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations the description carries the full burden, and it delivers: it guarantees the draft is never sent and that all attachments undergo path and size validation before the first Exchange write, which is meaningful safety/consistency context. It omits auth requirements and what happens to fields not supplied.

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?

Three short sentences with the purpose, the no-send guarantee and the routing constraint front-loaded; little waste. It is efficient, though the second sentence could be tightened slightly.

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?

An output schema exists so return values need not be described, and the description covers the two non-obvious parameters plus the critical safety behavior. For an 8-param mutation tool with zero annotation coverage it is largely sufficient, though additional field-level context would help.

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% across 8 params, so the description must compensate. It adds real meaning for draft_ref (mail-draft reference only) and attachments (must live in allowed directories, size-checked), but says nothing about cc/to/bcc/subject/body_html/importance beyond their self-evident names, so half the parameters remain unelaborated.

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?

Names a specific verb (修改/edit) and resource (邮件草稿/mail draft), states the scope (may append local attachments, never sends), and explicitly separates itself from a sibling by declaring that meetings must use save_meeting. An agent can tell this apart from save_meeting without opening either 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 clear routing: draft_ref is only a mail-draft reference and meetings must go to save_meeting, which is a concrete alternative. However it does not clarify when to use this versus the sibling save_mail_draft (creating/persisting a draft), leaving that boundary to inference.

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