Skip to main content
Glama
Mabus Mailroom

Mabus Mailroom

by dpdanpittman

get_thread

Read-onlyIdempotent

Reads a full email conversation from a Gmail account by thread ID, trimming long threads to a size budget so agents can review complete context without oversized output.

Instructions

Read a whole conversation. Long threads are cut to a size budget.

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": {
      "account": "<account>",
      "thread_id": "<thread_id>"
    },
    "name": "get_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYesAccount alias from list_accounts
thread_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds one genuinely non-obvious behavior — truncation of long threads to a size budget — but stops short of saying what the budget is, whether truncation is signaled in the response, or how to retrieve the remainder.

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?

Two short sentences, front-loaded with the primary action and followed immediately by the caveat about truncation. No filler, though the second sentence is vague enough that it borders on under-specification rather than tightness.

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?

With no output schema, the description carries the burden of describing what comes back, yet it never specifies the return shape (message list, ordering, participant metadata) or how truncation manifests. For a two-required-parameter thread reader the agent is left guessing about the most consequential behavior.

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 coverage is only 50%: 'account' is documented via the schema (alias from list_accounts) but 'thread_id' has no description in either place. The description says nothing about either parameter — no format, no id source, no constraint — so it does not compensate for the coverage gap.

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?

"Read a whole conversation" gives a specific verb (read) and resource (conversation/thread), and "whole" implicitly contrasts with the single-message sibling get_message. It does not name that sibling explicitly, so an agent must infer the boundary rather than being told it.

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: the word "whole" signals you fetch an entire thread instead of one message, but there is no explicit when-to-use statement, no mention of search or get_message as alternatives, and no prerequisites such as needing an account alias resolved first.

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