IMAP and SMTP via MCP Server - provides email management capabilities through the Model Context Protocol
Server has 8 tools with complete input schemas and descriptions present. Naming follows verb_noun convention (list_, add_, page_, send_, create_, copy_, move_). However, descriptions are generic and lack LLM-optimization guidance. Parameter descriptions exist but are minimal (avg ~40 chars). No output schemas documented. Error handling is absent, no recovery guidance, no categorization of retryable vs fatal errors. Security concern: add_email_account exposes credentials (password fields) as tool parameters, violating secret-injection pattern. Missing tool annotations (readOnlyHint, destructiveHint). Composition is reasonable, tools are single-purpose, but page_email has 11 parameters, exceeding best practice (p90=8). No pagination metadata (total_count, next_cursor) visible in EmailPageResponse.
Add a new email account
Copy emails to another folder. Emails are identified by their UIDs.
Create a new folder/mailbox in the email account.
List all available email accounts
List all available folders/mailboxes in the email account.
Move emails to another folder. Emails are identified by their UIDs.
Paginate emails, page start at 1, before and since as UTC datetime.
Credentials exposed as tool parameters: add_email_account accepts password fields in plaintext, violating secret-injection pattern. Passwords will be logged in agent traces and prompt history.
No error handling or recovery guidance. Tools lack descriptions of failure modes, retryable conditions, or actionable error messages. LLM cannot self-correct on failures.
Output schemas not documented. EmailPageResponse, EmailOperationResult, FolderInfo types are not visible in source. LLM cannot plan downstream tool calls or extract required fields.
page_email has 11 parameters (exceeds p90=8 baseline). Excessive parameters increase LLM reasoning overhead and error likelihood. Consider splitting into separate discovery and filtering tools.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | <=2025-11-25 | v2 |
Send an email using the specified account. Recipient should be a list of email addresses.
Missing tool annotations. No readOnlyHint, destructiveHint, or idempotentHint declared. LLM cannot distinguish safe reads from destructive writes (copy_emails vs move_emails both appear equivalent).