Skip to main content
Glama
bgalmes

rubit-mcp-mail

by bgalmes

read_message

Read-only

Retrieve a full email message—headers, body text, and attachment metadata—from a handle, converting HTML to text without marking it as read.

Instructions

Read one message in full: headers, body text, and attachment metadata.

HTML-only mail is converted to text. This does NOT mark the message as read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handleYesA handle from list_messages or search_messages.
accountNoAccount name. Optional when only one is configured.
max_charsNoTruncate the body beyond this many characters.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnlyHint and destructiveHint annotations, the description adds meaningful behavioral details: HTML-only mail is converted to text, and reading does not mark the message as read. This helps the agent predict side effects and format transformations.

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 two short, focused sentences with no filler. The core action is stated first, and behavioral caveats follow immediately, making it easy to scan and act on.

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?

For a read-only message-retrieval tool with fully documented parameters, a rich output schema, and safety annotations, the description covers the essential behavior and side effects. Nothing critical is missing for an agent to invoke it correctly.

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 schema already documents all three parameters. The description adds context about full-message content and truncation behavior but does not materially extend the parameter semantics 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 and resource: 'Read one message in full' with explicit content types (headers, body text, attachment metadata). This clearly distinguishes it from listing or searching messages and from fetching attachment content directly.

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?

The description clearly implies use when full message content is needed, and the handle parameter references list_messages/search_messages, grounding the workflow. It does not explicitly contrast with get_attachment for actual attachment bytes, but the scope is clear enough.

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