Skip to main content
Glama
yahoo-mail-mcp

yahoo-mail-mcp

by nx9161

ym_delete

Delete specified Yahoo Mail messages by UID, sending them to Trash or permanently deleting them if already there; requires explicit write approval.

Instructions

Delete messages (to Trash; permanent when already in Trash). WRITE.

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": {
      "uids": "<uids>",
      "write_ok": "<write_ok>"
    },
    "name": "ym_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidsYesMessage UIDs
folderNoFolder name (default INBOX)
write_okYesMust be true to perform any write (send, move, delete, …)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/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 does disclose the key behavioral trait: deletion is reversible (moves to Trash) unless the message already sits in Trash, in which case it is permanent. The 'WRITE.' marker flags the mutation class. It stops short of stating that this cannot be undone once permanent or what a partial-failure response looks like.

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?

Two compact clauses, front-loaded with the action and the safety-relevant nuance. Nothing is padded and the destructive condition is placed where it will be read first.

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 moderately simple three-parameter mutation with a fully described schema and no output schema, the essentials are present. It is still thin on routing guidance relative to the many sibling delete/purge tools and on the irreversibility of the Trash-resident case.

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 uids, folder, and the write_ok gate are already documented in structured form. The description adds no extra meaning to those parameters, which is acceptable given the schema does the work.

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 states a specific verb and resource (delete messages) and adds the two-stage scope note that soft-deletes to Trash but purges when the message is already in Trash. It does not name distinguishing siblings such as ym_expunge or ym_empty_trash, so an agent must infer the boundary between routine delete and a permanent purge tool.

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 the verb: call this to remove messages. There is no explicit when-to-use versus ym_expunge/ym_empty_trash, nor any statement about eligibility or preconditions beyond what the schema enforces. Adequate but leaves the agent to infer the destructive-permanent case.

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