Skip to main content
Glama
fuyouai

@fuyouai/email-mcp

Official
by fuyouai

search_messages

Search emails in a mailbox using IMAP SEARCH with filters like sender, subject, date range, and unread status.

Instructions

按条件搜索邮件(IMAP SEARCH)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromNo发件人包含的字符串
limitNo返回条数,默认 20
sinceNo起始日期,ISO 8601,如 2025-01-01
folderNo文件夹路径,默认 INBOX
subjectNo主题包含的字符串
unseen_onlyNo仅未读
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the tool performs an IMAP SEARCH, but does not disclose whether it is read-only, what the return format is, or any limitations. This lack of behavioral context is a significant gap.

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?

The description is a single concise phrase that conveys the core purpose without wasted words. It is appropriately front-loaded, though it could potentially include more detail without becoming verbose.

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?

Given the lack of an output schema and annotations, the description is expected to compensate for missing behavioral details. It fails to explain what the search returns, how results are ordered, or any constraints beyond the parameter schema. This makes it incomplete for a tool that likely has nuanced behavior.

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 the schema already documents all 6 parameters. The description does not add any meaning beyond what the schema provides, which matches the baseline of 3 for high coverage.

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?

The description '按条件搜索邮件(IMAP SEARCH)' clearly states the verb 'search', the resource '邮件' (emails), and the scope '按条件' (by conditions). It distinguishes this tool from siblings like list_messages and get_message by emphasizing conditional search, which is a unique capability.

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 description implies usage when a user needs to search emails by specific criteria, but it does not explicitly state when to use this tool versus alternatives. There is no mention of alternatives or exclusions, so the guidance remains implicit rather than explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fuyouai/email-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server