Skip to main content
Glama
hgn

Notmuch

by hgn

Read mail message

mail_read_message
Read-only

Retrieve a single message's headers and body using its Message-ID. Pick between concise and detailed response formats.

Instructions

Return a single message's headers and body.

Use this for one specific message. For an entire conversation in order, use mail_read_thread instead.

Args: message_id: A Message-ID as seen in mail_search/mail_read_thread output, with or without angle brackets or the 'id:' prefix. response_format: 'concise' (From/Date/Subject, short body) or 'detailed' (full headers, full body up to the configured limit).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
message_idYes
response_formatNodetailed
Behavior4/5

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

Annotations already indicate readOnlyHint=true, and the description adds meaningful behavioral context beyond that: it describes the response_format behaviors ('concise' vs 'detailed') and discloses that the detailed body is truncated by a configured limit. This goes beyond the annotations, though it could have mentioned error handling or idempotency.

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?

The description is moderately sized and well-structured, starting with a one-line summary, then a usage note, then an Args list. Every sentence contributes value with no fluff, though it is slightly longer than the minimal needed.

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?

Given only two parameters and no output schema, the description adequately covers what the tool returns (headers and body), the output format choices, and how it relates to sibling tools. It provides enough information for an agent to invoke the tool correctly.

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

Parameters5/5

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

The input schema has zero property descriptions (0% coverage), but the description's Args section fully compensates. It explains message_id format (with/without angle brackets or 'id:' prefix) and the two response_format options with their effects. This adds substantial 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 clearly states the tool returns a single message's headers and body, using a specific verb and resource. It also distinguishes itself from the sibling mail_read_thread by explicitly noting the difference between a single message and an entire conversation.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool ('for one specific message') and names the alternative for conversations (mail_read_thread). It also includes parameter-specific usage details, such as how to format message_id and the two response_format options.

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/hgn/mcp-server-notmuch'

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