Skip to main content
Glama
gfam-git

Simple IMAP MCP Server

by gfam-git

Mark as Read

mark_as_read

Change an email's read status by providing its UID and a boolean flag. Set read to true to mark as read, false to mark as unread, optionally within a specific folder.

Instructions

Mark messages as read or unread using IMAP FLAGS

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYesMessage UID
readYestrue = mark read, false = mark unread
folderNoIMAP folder
Install Server

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the burden, and it does reveal that this mutates IMAP flags and supports both read and unread states, implying reversibility via the read parameter. However, it does not disclose required permissions, whether marking read affects list_unread or other views, or what is returned on success or failure.

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 a single action-first sentence with no filler. Every word contributes to the operation ('Mark', 'messages', 'read or unread', 'IMAP FLAGS').

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 simple mutation with two required parameters, the schema plus description is mostly usable. Gaps include behavior when the optional folder is omitted, whether the change affects unread lists, and any return or error contract, especially since no output schema or annotations are provided.

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?

The input schema covers all three parameters with descriptions (100% coverage), including the UID, the read boolean meaning true/false, and the folder. The description restates the read behavior and adds the IMAP FLAGS context, but it does not add syntax details, defaults, or edge-case semantics beyond the schema.

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?

The description names a specific action ('Mark'), a resource ('messages'), and the possible states ('read or unread'), and adds the protocol mechanism 'using IMAP FLAGS.' It is unambiguous against siblings like fetch_email or list_unread, but it does not explicitly call out alternative tools or scope boundaries, so it stops short of the top score.

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?

The description provides no guidance on when to use this tool versus siblings such as list_unread or fetch_email, nor any prerequisites, exclusions, or when-not-to-use conditions. The only inferable usage context is a direct restatement of the action itself.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/gfam-git/Imap-server'

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