Skip to main content
Glama

mail_get

Read-only

Fetch a specific email by ID and unwrap forwarded messages to retrieve the original sender, subject, body, attachments, and threading information.

Instructions

Fetch a single email by ID. Unwraps forwarded messages to extract the original.

Returns dict with keys: id, thread_id, sender (the user who forwarded this message to Hermes — use as the to for replies), original_sender, original_subject, original_body (plain text), in_reply_to (Message-ID header for threading), forwarding_note (text the user wrote above the forward delimiter, or null), attachment_paths (list of local file paths in ~/.cache/hermes-google/).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
message_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is clear. Description adds valuable behavioral detail: unwraps forwarded messages to extract original. This goes beyond annotations. No contradiction.

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?

Concise two-paragraph structure. First sentence states core purpose. Second paragraph lists return keys clearly. No redundant information.

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

Completeness4/5

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

Given that an output schema exists (context signal), the description adequately explains the return values. However, it does not mention error handling (e.g., if ID not found). For a simple read tool, this is good but not perfect.

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

Parameters2/5

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

Schema has 0% description coverage, yet the description does not explain what message_id is (e.g., 'Gmail message ID'). While it may be obvious, the description fails to add meaning beyond the parameter name. Baseline 3 is reduced because the schema lacks descriptions and the tool description does not compensate.

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?

Clearly states it fetches a single email by ID. Distinguishes from sibling tools like mail_search (which searches) and mail_list_pending (which lists pending). The verb 'Fetch' and resource 'email' are specific.

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?

Implied usage: when you have an email ID and want full details. But no explicit guidance on when not to use it or alternatives. For example, could mention that mail_search is for finding emails by query.

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/jimmy-larsson/hermes-google'

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