Skip to main content
Glama
leeguooooo

MCP Email Service

by leeguooooo

mark_emails

Mark emails as read or unread in single or multiple accounts, supporting batch operations with folder customization and validation options.

Instructions

Mark one or more emails as read or unread. Pass account_id when operating within a single account, or provide email_accounts mapping for mixed-account batches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
email_idsYesList of email IDs to mark
mark_asYesMark emails as 'read' or 'unread'
folderNoEmail folder (default: 'INBOX')INBOX
account_idNoSpecific account ID (recommended; required when not using email_accounts)
dry_runNoIf true, only validate without executing (default: false)
email_accountsNoOptional per-email account mapping for multi-account operations
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. While it mentions the core mutation action (marking emails), it doesn't address important behavioral aspects like whether this requires specific permissions, what happens if emails don't exist, whether changes are reversible, or any rate limits. The description provides basic operational context but misses critical behavioral details for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is perfectly concise with two sentences that each earn their place. The first sentence states the core purpose, and the second provides essential usage guidance about account handling. There's zero wasted text, and information is front-loaded appropriately.

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?

For a mutation tool with 6 parameters, no annotations, and no output schema, the description provides adequate basic information about what the tool does and account handling approaches. However, it lacks important contextual details about error conditions, permissions required, what the response looks like, or how it differs from similar sibling tools like 'batch_mark_read'.

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?

With 100% schema description coverage, the baseline is 3. The description adds some value by explaining the relationship between account_id and email_accounts parameters ('Pass account_id when operating within a single account, or provide email_accounts mapping for mixed-account batches'), which helps understand when to use each approach. However, it doesn't provide significant additional parameter meaning beyond what the comprehensive schema already documents.

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 specific action ('mark one or more emails as read or unread') and resource ('emails'), distinguishing it from siblings like 'batch_mark_read' by mentioning both read/unread operations and multi-account capabilities. It provides a complete picture of the tool's function beyond just the name.

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?

The description provides clear context for when to use different parameter approaches ('Pass account_id when operating within a single account, or provide email_accounts mapping for mixed-account batches'), giving practical guidance. However, it doesn't explicitly mention when NOT to use this tool or name specific alternatives among siblings like 'mark_email_read' or 'mark_email_unread'.

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/leeguooooo/email-mcp-service'

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