Skip to main content
Glama
Aftab-web-dev

Email MCP Server

email_cleanup

Archive old emails and newsletters, social notifications. Preview with dry run before committing changes.

Instructions

Clean up inbox by archiving old emails, removing newsletters, and organizing. Returns actions taken for review before committing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNoIf true, only report what would be done (don't actually move/delete)
archive_socialNoArchive social media notifications
older_than_daysNoArchive emails older than N days
archive_newslettersNoArchive newsletter/promotional emails
Behavior3/5

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

The description mentions returning actions for review before committing, hinting at a dry-run mode. However, it does not explicitly explain how to execute the actual cleanup (setting dry_run=false) or clarify that it archives rather than deletes emails.

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?

Two sentences, front-loaded with purpose. No wasted words, though 'organizing' is vague. Concise overall.

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?

Missing details on how to commit the cleanup (dry_run=false), no description of return format, and vague 'organizing' action. Incomplete for a tool with no output schema and many 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 coverage is 100%, so baseline is 3. The description adds marginal value by linking 'archive old emails' and 'removing newsletters' to parameters, but does not explain 'organizing' or add nuance beyond the schema.

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 the tool's purpose: archiving old emails, removing newsletters, and organizing. It distinguishes itself from single-action siblings like email_archive by being a batch cleanup operation.

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 tool versus alternatives (e.g., email_archive, email_trash) or when not to use it. Missing context about prerequisites or typical scenarios.

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/Aftab-web-dev/email-mcp-server'

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