Skip to main content
Glama
mailbox-org-mcp
by getrdone

Read a message

mailbox_get_message
Idempotent

Read a single email by UID to retrieve headers, plain-text body, attachments, and unsubscribe options without marking it read by default.

Instructions

Read one message: headers, plain-text body (HTML converted), attachment list, and unsubscribe options. Does not mark it read unless mark_read is true.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "uid": "<uid>"
    },
    "name": "mailbox_get_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesMessage UID from mailbox_search_messages (UIDs are per folder)
folderNoFolder path, e.g. "INBOX", "Archive", "INBOX/newsletters". Names like archive, trash, junk, sent, drafts also work.INBOX
mark_readNo
include_htmlNoAlso return the raw HTML body
shorten_linksNoReplace very long (tracking) links with <link: host>
max_body_charsNo
include_headersNoAlso return every header
response_formatNo'markdown' for readable text (default), 'json' for complete structured datamarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

The most valuable disclosure is that the call is non-mutating by default and only marks the message read when mark_read is true, which usefully reconciles the readOnlyHint=false annotation. It also notes HTML is converted for the body and that unsubscribe options are surfaced, but says nothing about size limits, attachment payload handling, or what happens with large bodies.

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?

Two tight sentences: the return payload first, the side-effect caveat second. Nothing is redundant and the important mutation caveat is placed prominently rather than buried.

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?

With eight parameters and no output schema, the description carries real weight and does enumerate the return shape, which is the right call. Gaps remain around body truncation (max_body_chars has no schema description either) and how attachments are retrieved, but the core read semantics are covered.

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 75%, so the baseline is 3; the description earns a bump by explaining the body is converted to plain text, which clarifies the relationship between the default body and include_html, and by implying headers are opt-in. It still doesn't clarify undocumented parameters such as max_body_chars or shorten_links defaults.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource ("Read one message") and enumerates what comes back: headers, plain-text body, attachment list, unsubscribe options. The singular "one message" implicitly distinguishes it from list/search siblings, but no sibling is named explicitly, so it falls just short of 5.

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?

Usage is only implied — an agent infers it should call this when it has a single message UID, which the schema's uid description ("Message UID from mailbox_search_messages") reinforces. The description itself offers no when-to-use, prerequisites, or alternative routing, such as using mailbox_get_thread for conversations or mailbox_download_attachments for files.

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