Skip to main content
Glama
Sealjay

mcp-hey

hey_read_email

Read-only

Retrieve full content of an email thread with all messages, attachments, and calendar invites. Supports HTML or plain text output.

Instructions

Read an email thread's full content. Returns all messages in the thread via entries[] array (each with entryId, from, to, cc, date, body). Also returns attachments[] metadata and calendar_invites[] when present — use hey_download_attachment to save files to disk, or hey_get_calendar_invite to parse .ics details. Use format='html' (default) for rich content with thread entries, or format='text' for decoded RFC822 plain text of the first message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe topic/thread ID or entry ID to read (use topicId from list operations for full threads)
formatNohtml (default): rich HTML with all thread entries. text: decoded plain text of the first message only
force_refreshNoBypass cache and fetch fresh data (default: false)
Behavior5/5

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

Annotations (readOnlyHint, openWorldHint) indicate safe, non-destructive operation. Description reinforces read-only nature and details output structure (entries[], attachments[], calendar_invites[]) and format behavior, adding value beyond annotations.

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?

Three concise sentences, front-loaded with main purpose, then details on output and alternative tools. No wasted words; each sentence adds distinct value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, but description adequately explains return fields and links to sibling tools for next steps. With annotations, provides complete context for safe and effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but description adds context: explains id can be topicId or entryId, clarifies format default and behavior (html = full thread, text = first message only). Provides meaning beyond schema definitions.

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?

Description clearly states it reads an email thread's full content, using specific verb 'Read' and resource 'email thread'. It distinguishes from siblings like hey_download_attachment and hey_get_calendar_invite by mentioning them for further actions.

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?

Provides guidance on when to use format='html' vs 'text', and references sibling tools for attachments and calendar invites. Implies using topicId from list operations, but does not explicitly state when not to use this tool (e.g., for single messages vs threads).

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/Sealjay/mcp-hey'

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