Skip to main content
Glama
ration

mu-mcp

by ration

search_emails

Search emails using mu find query syntax with filters like sender, subject, and date range. Sort results by date, size, or other fields.

Instructions

Search emails using mu find query syntax.

Examples: 'from:alice subject:report date:2w..'

sort_field: one of date, from, to, subject, size, maildir (default: date) sort_order: "desc" for newest/largest first, "asc" for oldest/smallest first

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
sort_fieldNodate
sort_orderNodesc
max_resultsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided, so description must convey behavioral traits. It mentions query syntax and sort options, but fails to disclose key details such as whether the tool is read-only, pagination behavior, authentication needs, or what happens if max_results is exceeded. The destructive/read-only nature is not addressed.

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 concise with minimal waste. It starts with the main purpose and immediately provides examples and parameter details. Front-loaded, but could be slightly more structured for readability.

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?

Given 4 parameters and an existing output schema, the description covers query syntax and sort options but misses max_results. No guidance on result format or pagination, though output schema may partially compensate. Overlooks usage context relative to siblings.

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 0%, so description must compensate. It explains sort_field and sort_order with defaults and valid values, and gives examples for the query parameter. However, max_results is not mentioned at all, leaving one of four parameters undocumented.

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 clearly states 'Search emails using mu find query syntax', which is a specific verb+resource. The tool name search_emails is distinct from siblings like count_emails, get_email, find_contacts, and list_mailboxes, so purpose is well-differentiated.

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 provides examples and explains sort fields/order, implying usage, but does not explicitly state when to use this tool versus alternatives like get_email or count_emails. No 'when not to use' guidance is given.

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/ration/mu-mcp'

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