Skip to main content
Glama
Roundcube MCP

Roundcube MCP

by SK108045

get_email_thread

Find related email messages across folders using Message-ID, In-Reply-To, and References to reconstruct a thread from a specified folder and UID.

Instructions

Find related messages across folders using Message-ID, In-Reply-To and References.

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": {
      "folder": "<folder>",
      "uid": "<uid>"
    },
    "name": "get_email_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYes
folderYes
max_messagesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. 'Across folders' is the only scope signal; read-only nature, result ordering, deduplication, and the behavior of max_messages (default 30, truncation) are all undisclosed.

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?

A single tight sentence with no padding and the identifying detail front-loaded. It is efficient, though its brevity is achieved by omitting content rather than by pruning redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, but that is the only relief. For a threaded-lookup tool with three undocumented parameters, no annotations, and no usage routing, the description leaves critical invocation details unresolved.

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

Parameters2/5

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

Schema description coverage is 0% for all three parameters, so the description must compensate and does not. It names Message-ID/In-Reply-To/References, which are not parameters, and says nothing about folder, uid, or max_messages, potentially misleading an agent into thinking it can pass a Message-ID directly.

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

Purpose3/5

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

States a specific verb ('Find') and resource ('related messages') and adds the mechanism (Message-ID, In-Reply-To, References), so the operation is identifiable. However, it is not distinguished from the near-identical sibling 'get_thread_messages', leaving an agent unable to tell which thread-lookup to pick.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite, and no named alternative. The description never explains that folder+uid designate the seed message whose headers drive the search, nor what happens when no related messages exist.

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