Skip to main content
Glama
yahoo-mail-mcp

yahoo-mail-mcp

by nx9161

ym_mark

Set or clear flags such as seen, flagged, answered, deleted, or draft on Yahoo Mail messages, with writes requiring explicit approval.

Instructions

Set/clear a flag (seen, flagged, answered, deleted, draft) on messages. 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>",
      "flag": "<flag>",
      "write_ok": "<write_ok>"
    },
    "name": "ym_mark"
  }
}

Input Schema

NameRequiredDescriptionDefault
onNo
flagYes
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

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It signals mutation with "WRITE." but does not state that write_ok must be true, what happens when `on` is omitted, whether re-applying a flag is idempotent, or what permissions are needed.

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?

Two short sentences, the operation and the flag vocabulary front-loaded, with no filler. The terse "WRITE." fragment is efficient but slightly cryptic.

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 five-parameter write tool with no annotations and no output schema, the definition covers purpose and flag values but omits the write_ok gate, default behavior for the optional `on` and `folder` parameters, and any effect/response detail. Adequate to attempt a call, thin for calling it safely.

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 only 60% schema coverage and no enum on `flag`, the parenthetical list of flag values (seen, flagged, answered, deleted, draft) is the single most valuable piece of semantics in the definition and is nowhere in the schema. It still leaves `on` (set vs clear) and `folder` undiscussed, which keeps it below 5.

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?

"Set/clear a flag (seen, flagged, answered, deleted, draft) on messages" gives a specific verb pair, resource, and the vocabulary of values, so an agent knows this mutates message state rather than moving or deleting messages. It does not name a sibling to contrast with, so a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this versus ym_delete, ym_move, or ym_expunge, even though the 'deleted' flag here is easy to confuse with the dedicated deletion tools. The only usage signal is the bare word "WRITE."

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