Skip to main content
Glama
gfam-git

Simple IMAP MCP Server

by gfam-git

Fetch Email

fetch_email

Retrieve complete email content by message UID, including headers, body, and optional attachments, from any IMAP folder.

Instructions

Fetch full email content including headers, body, and attachments

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYesMessage UID in the folder
folderNoIMAP folder, default "INBOX"
include_bodyNoInclude parsed body, default true
include_attachmentsNoInclude attachment data, default false
Install Server

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the burden of behavioral disclosure. It does not state whether fetching affects read/unread state, what the default attachment behavior is, or what the response looks like; 'including attachments' is also stronger than the include_attachments default of false.

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 front-loaded sentence with no wasted words. It puts the core action and resource first.

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?

There is no output schema or annotations, and the description does not clarify that attachments are off by default or explain how this tool relates to get_email_body/get_email_headers. An agent selecting among the many email siblings gets minimal decision-relevant context.

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 the baseline is 3. The description lightly maps output content (headers, body, attachments) to the include_body and include_attachments parameters but adds no syntax or additional meaning 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 uses a specific verb ('Fetch') and resource ('full email content') and enumerates the components (headers, body, attachments). This distinguishes it from the sibling granular tools get_email_body and get_email_headers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'full email content' implies you should use it when needing a complete message, but the description never explicitly states when to prefer it over get_email_body or get_email_headers, nor does it state exclusions. The guidance is only implicit.

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