Skip to main content
Glama
praneethpalla

Yahoo Mail MCP Server

update_draft

Revise an existing draft in Yahoo Mail's Drafts folder by changing only the fields you pass; the message stays unsent and gets a new UID.

Instructions

Revise an existing draft in the Drafts folder. Only the fields you pass are changed; everything else (recipients, subject, reply threading, attachments) is kept. IMPORTANT: the draft gets a NEW UID on every update. Always use the UID returned by the most recent create/update call. The old version is removed. The email is NOT sent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoNew Cc address(es) (replaces the existing list; pass [] to clear)
toNoNew recipient address(es) (replaces the existing list)
bccNoNew Bcc address(es) (replaces the existing list; pass [] to clear)
uidYesUID of the draft to revise (from the latest create_draft, create_reply_draft, or update_draft result)
bodyNoNew plain-text body (replaces the whole body)
htmlNoNew HTML body. Pass an empty string to remove the HTML version.
subjectNoNew subject line
addAttachmentsNoPaths of local files to add as attachments
removeAttachmentsNoFilenames of existing attachments to remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A4.4/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 behavioral burden and does so well: it discloses partial-update semantics, the critical UID-reassignment on every update, removal of the old version, and the fact that no email is sent. It omits permission/auth requirements and error behavior for a stale UID, which is the only notable gap.

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, all load-bearing: purpose first, then update semantics, then the UID lifecycle warning marked IMPORTANT, then the non-send guarantee. No filler.

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 9-parameter mutation tool with no annotations and no output schema, the description covers the behaviors an agent most needs: merge semantics, UID churn, and the no-send guarantee. The remaining omissions (authorization, stale UID handling) are minor but real.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds value beyond the schema by clarifying that untouched fields such as recipients, subject, reply threading, and attachments are preserved, and by warning that the uid must come from the most recent create/update result.

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 (revise) plus resource (existing draft in the Drafts folder), immediately distinguishing it from create_draft and create_reply_draft among its siblings. An agent can tell it is a mutation of an existing draft 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 Guidelines4/5

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

Clearly establishes context: it operates on an existing draft and only touches fields you pass, implying that new drafts should go through create_draft. It does not explicitly name the alternative tools or state preconditions (e.g. draft must exist), so it stops short of full routing guidance.

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