Skip to main content
Glama

Read shared mailbox thread

get_shared_mailbox_thread
Read-onlyIdempotent

Reads a thread from the firm's configured shared mailbox, oldest first: headers, body (long bodies trimmed), links from HTML (http/https/mailto), and attachments with part_id. Read-only. Sign-in required.

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

Input Schema

NameRequiredDescriptionDefault
thread_idYesGmail thread id from search_shared_mailbox or get_shared_mailbox_thread.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, and non-destructive, and the description adds genuinely new behavior: oldest-first ordering, lossy trimming of long bodies, link extraction limited to http/https/mailto schemes, attachment part_id exposure, and a sign-in requirement. The trimming disclosure in particular warns the agent that body content may be incomplete.

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 compact sentences plus short fragments, front-loaded with the action and scope, then the payload details, then the operational constraints. Every clause carries information; nothing is repeated from the annotations or schema.

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 no output schema, the description compensates well by enumerating the returned fields and noting body trimming. The remaining gap is thread-size behavior: it does not say whether all messages are returned or how many, and no pagination or truncation limit is mentioned beyond long bodies.

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?

Only one parameter with 100% schema description coverage, so the schema already explains that thread_id is a Gmail thread id sourced from search_shared_mailbox or this tool. The description adds nothing further about the parameter, which is acceptable at this coverage level but not additive.

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?

States a specific verb and resource ('Reads a thread from the firm's configured shared mailbox') and scopes it away from the general Gmail/Outlook thread readers via the 'shared mailbox' qualifier. It also enumerates exactly what the read returns: headers, body, links, and attachments with part_id.

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 implied by the scoping language ('firm's configured shared mailbox') and the thread_id description pointing back to search_shared_mailbox, but there is no explicit when-to-use versus when-not-to-use statement or named alternative. The agent must infer that get_email_thread/get_outlook_thread cover non-shared mailboxes.

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.

Resources