Skip to main content
Glama
yahoo-mail-mcp

yahoo-mail-mcp

by nx9161

ym_expunge

Permanently removes \Deleted messages from a specified mail folder, requiring explicit write approval. Use to irreversibly purge marked emails.

Instructions

Expunge \Deleted messages in a folder. WRITE (irreversible).

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

Input Schema

NameRequiredDescriptionDefault
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.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does deliver the most important fact: this is a WRITE operation and it is irreversible. It does not say whether expunging applies to every \Deleted message in the folder or only a subset, nor what happens to unmarked messages, so some behavioral detail is still missing.

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 short sentences with no waste: the action is front-loaded and the risk warning follows immediately. Nothing redundant or padded.

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 low-complexity, two-parameter tool with a fully documented schema and no output schema, the description covers what it does, where it acts, and that it is irreversible. Adding the precondition that messages must already be flagged \Deleted, and whether the operation is folder-wide, would make it complete.

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 both parameters (folder with INBOX default, write_ok gate) are already fully documented in the schema. The description only echoes the folder concept and adds no syntax, defaults, or error semantics beyond the structured data, warranting the baseline.

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?

States a specific verb (expunge) and a precise resource (\Deleted messages in a folder), which tells an agent this permanently removes already-flagged messages rather than deleting arbitrary ones. It does not explicitly contrast with siblings like ym_delete or ym_empty_trash, so an agent must infer the distinction from IMAP semantics.

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?

The phrase 'Expunge \Deleted messages' implies the precondition that messages must first be marked \Deleted and that this is the follow-up to a mark/delete step, but no explicit when-to-use, when-not-to-use, or named alternative is given. Guidance is implied rather than stated.

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