Skip to main content
Glama

Faivelo Email

Get a conversation thread

get_thread
Read-only

Reconstruct the whole conversation a message belongs to (via Message-ID/References), including your own replies from the Sent folder, oldest first. Use read_message on the returned uids for full bodies. Works on agent inboxes only (a free address or an API-only inbox); a person's mailbox returns agent_inbox_only.

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": {
      "mailbox": "<mailbox>",
      "uid": "<uid>"
    },
    "name": "get_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesUID of any message in the conversation
folderNoFolder that message is in (default "INBOX")
mailboxYesFull mailbox address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this a safe, closed-world read, so the description adds real value on top: threading is reconstructed from Message-ID/References, Sent-folder replies are included, and results come back oldest first. It stops short of describing the returned structure (uid list vs. threaded objects) beyond hinting at "returned uids".

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?

Three sentences, no filler, with the purpose and mechanism front-loaded before the follow-up guidance and the eligibility caveat. Every clause carries information an agent would otherwise have to guess.

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?

For a three-parameter read tool with full schema coverage and no output schema, the description covers purpose, ordering, eligibility, and next step. The only gap is the shape of the response, which is implied ("returned uids") rather than specified.

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 coverage is 100%, so uid, folder default, and mailbox address are already documented. The description's only real addition is the constraint that mailbox must be an agent inbox, which is a meaningful but limited supplement (it clarifies the accepted value of one of three parameters).

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?

"Reconstruct the whole conversation a message belongs to (via Message-ID/References)" names a specific verb, resource, and mechanism, and immediately distinguishes itself from read_message, which only returns a single message. An agent can tell exactly which tool to pick without opening the schema.

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?

It states the follow-up action ("Use read_message on the returned uids for full bodies") and the hard precondition ("Works on agent inboxes only"), plus names the exact error an unsupported caller will see ("agent_inbox_only"). Both when-to-use and when-not-to-use are covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.