Skip to main content
Glama

read_thread

Read-only

Read an email's full conversation oldest first, with each message cleaned and a shared character budget split across messages. Use it instead of multiple single-email reads to review a whole thread in one call.

Instructions

Read the whole conversation an email belongs to, oldest first, each message cleaned. Cheaper than several read_email calls: the char budget is split across messages.

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": {
      "id": "<id>"
    },
    "name": "read_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
max_charsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful behavior beyond that: message ordering is oldest-first, bodies are returned 'cleaned', and the char budget is shared across messages, which tells an agent to expect truncation with long threads.

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 short sentences that front-load the core action and follow with the differentiating cost/budget detail. No filler and nothing 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?

For a two-parameter read-only tool with no output schema, the definition covers ordering, cleaning, and budget behavior well enough to call it correctly. Minor gaps remain around what 'cleaned' means and error behavior for an invalid id.

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 description coverage is 0%, so the description must carry parameter meaning. It does explain that max_chars is a budget split across messages, which is more than the schema says, but the required 'id' parameter and its '^.+:\d+$' pattern are never explained, and 'cleaned' is left undefined.

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 states a specific verb and resource ('Read the whole conversation an email belongs to'), plus ordering ('oldest first') and post-processing ('each message cleaned'). It implicitly separates itself from read_email by framing the call as a cheap way to get the entire thread rather than one message.

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

Usage Guidelines4/5

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

'Cheaper than several read_email calls' gives clear context for when to prefer this tool over the single-message sibling. It stops short of an explicit when-not (e.g., when you only need one message's body), so the guidance is clear but not exhaustive.

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

Deploy Server

Other Tools