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

Read a conversation

mailbox_get_thread
Read-only

Retrieve every message in a conversation from a given mailbox UID, searching INBOX, Sent, Archive, and the source folder to return the full thread oldest first.

Instructions

Find every message in the same conversation as one message (by Message-ID, In-Reply-To and References) across INBOX, Sent, Archive and the message's own folder, oldest first.

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_thread"
  }
}

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
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.9/5.0
Behavior4/5

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

Annotations already establish this is a read-only, open-world operation, so the description's job is to add scope detail — and it does: it discloses the cross-folder sweep (INBOX, Sent, Archive, plus the message's own folder) and the oldest-first ordering. It stops short of describing result limits, whether the anchor message is included, or behavior when headers are missing.

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?

A single dense sentence that front-loads the operation, then the matching mechanism, then scope, then ordering. Nothing is padded and no clause is redundant.

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 only three fully documented parameters, no output schema and read-only annotations, the description supplies the parts structured data cannot: cross-folder scope, thread-matching headers, and ordering. Only edge-case behavior (broken threads, size limits) is absent, which is a minor gap.

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%, so baseline is 3, but the description adds real meaning: the folder parameter is implicitly the message's home folder rather than a search restriction, since the sweep also covers INBOX, Sent and Archive. That resolves a genuine ambiguity the schema text alone leaves open.

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?

The description opens with a specific verb and resource ('Find every message in the same conversation as one message') and names the threading headers used. It implicitly separates itself from single-message reads like mailbox_get_message by emphasizing 'every message', but never names an alternative tool outright.

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 inferable ('I have one message and want its thread') rather than stated. There is no explicit when-to-use or when-not-to-use guidance, and no pointer to mailbox_get_message for the single-message case or to search tools for discovery.

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