Skip to main content
Glama
yahoo-mail-mcp

yahoo-mail-mcp

by nx9161

ym_search

Search a Yahoo Mail folder by sender, recipient, subject, body text, date, or flags, or pass raw IMAP criteria to locate matching emails.

Instructions

Search a folder (from/to/subject/text/date/flags or raw IMAP criteria)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ym_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
rawNo
seenNo
textNo
from_No
limitNoMax results (default 20)
sinceNo
beforeNo
folderNoFolder name (default INBOX)
unseenNo
flaggedNo
subjectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it never states that this is a read-only operation, whether results are ordered or paginated, what happens when no criteria are supplied, or how 'raw' interacts with the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single parenthetical sentence with zero filler, so it is compact and front-loaded. However, the terseness crosses into under-specification for a 12-parameter tool rather than earning its brevity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter, zero-annotation, no-output-schema search tool, the definition leaves key behaviors (default scope across folders, criteria combination, result shape, 'raw' precedence) undocumented. It is a bare summary rather than a complete calling guide.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 17% across 12 parameters, so the description must compensate and largely does not. It names from/to/subject/text/date/flags but doesn't clarify that 'from_' is the sender field, what date syntax 'since'/'before' accept, or what 'raw' replaces or overrides.

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+resource ('Search a folder') and enumerates the searchable fields in a parenthetical, so the agent knows this is a filtering/search tool. It does not distinguish itself from siblings like ym_list or ym_read, which likely also enumerate messages.

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?

No guidance on when to use this versus ym_list or ym_read, and no note on whether criteria combine with AND or OR. The agent must infer that this is the filtered-list option from the name alone.

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