Skip to main content
Glama
atesahmet0

metu-webmail-mcp

by atesahmet0

read_email

Retrieves the full content and details of a specific email message by ID from a specified folder, optionally marking it as read.

Instructions

Read the full content and details of a specific email message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderNoMailbox folder containing the message (default: 'INBOX').INBOX
message_idYesThe ID of the message to read (from list_emails or search_emails).
mark_as_readNoWhether to automatically mark the email as read (Seen). Default is True.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoCC recipients
idYesMessage sequence ID in the mailbox
bccNoBCC recipients
uidNoUnique IMAP UID
dateYesDate header
flagsNoIMAP flags (e.g. \Seen, \Flagged)
folderYesMailbox folder name
senderYesSender name and email (From header)
headersNoSelected email headers
is_readNoWhether email has been read
subjectYesEmail subject
reply_toNoReply-To address
body_htmlNoRaw HTML body if available
body_textNoPlain text body or converted markdown body
is_flaggedNoWhether email is starred
message_idNoMessage-ID header
recipientsNoRecipients (To header)
attachmentsNoList of attached files
in_reply_toNoIn-Reply-To header
sender_emailNoClean sender email address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It omits a meaningful side effect: mark_as_read defaults to true, meaning this 'read' operation mutates mailbox state (marks the message Seen) unless overridden. Permissions, error behavior on a bad message_id, and the side effect of reading are all undisclosed.

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?

A single focused sentence with no filler, and the purpose is front-loaded. It is efficient, though arguably too thin given the side-effect behavior it leaves unstated.

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?

An output schema exists, so return values need not be explained. However, with zero annotations and a default-true mutation (mark_as_read), the description should disclose the state-changing side effect and permission expectations to be fully adequate.

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 description coverage is 100%, so all three parameters (folder, message_id, mark_as_read) are already documented in the schema, including defaults. The description adds no parameter meaning beyond what the schema provides, so the baseline of 3 applies.

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 states a specific verb+resource ('Read the full content and details of a specific email message'), which is unambiguous. However, it does not distinguish itself from siblings such as list_emails or search_emails; the required message_id in the schema implies the distinction, not the description itself.

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?

There is no explicit guidance on when to use this tool versus search_emails or list_emails, nor any prerequisites or exclusions. The only hint of usage context ('from list_emails or search_emails') appears in the schema parameter description, not in the tool description.

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