Skip to main content
Glama
rosauceda

cpanel-mail-mcp

by rosauceda

search_emails

Read-onlyIdempotent

Search emails by field (subject, body, from, to) in an IMAP folder using case-insensitive substring matching. Returns matching messages.

Instructions

IMAP SEARCH over one field. Wraps query in quotes for IMAP.

Note: IMAP SEARCH is substring, case-insensitive on most servers, and doesn't support boolean operators. For richer queries, chain calls.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldNoOne of FROM, TO, SUBJECT, BODY, TEXT.SUBJECT
limitNo
queryYesSearch term.
folderNoIMAP folder to search.INBOX
accountNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldYes
queryYes
folderYes
accountYes
resultsYes
Behavior5/5

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

Discloses key behavioral traits beyond annotations: IMAP SEARCH behavior (substring, case-insensitive, no boolean operators) and the fact that the query is wrapped in quotes. Annotations already indicate read-only and idempotent.

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?

Concise two-sentence structure with front-loaded purpose and behavioral note. Could include more detail without being verbose, but no wasted words.

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?

Adequate given existing annotations and output schema; covers search behavior limitations but does not explain the openWorldHint or parameter interactions.

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?

Does not add meaning beyond the input schema; schema coverage is 60% (3 of 5 params have descriptions), but the tool description provides no additional parameter details or clarifications.

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?

Clearly states it performs IMAP SEARCH over one field, specifying the resource (emails). However, it does not explicitly distinguish from siblings, though no other search tools exist.

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

Usage Guidelines4/5

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

Provides limitations (substring, case-insensitive, no boolean operators) and suggests chaining calls for richer queries, giving implicit guidance on when to use alternatives.

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/rosauceda/cpanel-mail-mcp'

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