Skip to main content
Glama

Samuelz® Communications

Get selected communication thread

get_thread
Read-onlyIdempotent

Read the current visible messages of one communication thread before deciding or composing a reply. Pass communicationId from list_work_items or another current thread read; this is a message ID, not an operationId. Returns thread rows and their available work, source and delivery evidence, bounded to the existing visible context (at most 80 rows), not a complete history. Mail intake includes previously recorded hygiene and recovery evidence. Use get_communication_triage for current hygiene and recovery diagnostics for the selected head. Use get_reply_brief for response policy and preparation guidance; use get_operation for an already prepared reply. Current Communications read and actor visibility are rechecked. Missing or inaccessible threads fail without another workspace fallback. Reading neither resolves the inbox nor authorizes drafting, sending or retrying; provider submission or sent status alone never proves delivery.

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

Input Schema

NameRequiredDescriptionDefault
communicationIdYesExact communicationId returned by list_work_items, get_thread or get_reply_brief for this workspace; never a thread key or operation ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / communicationId / description
      Added value: +"Exact communicationId returned by list_work_items, get_thread or get_reply_brief for this workspace; never a thread key or operation ID."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds substantial behavior beyond them: results are bounded to at most 80 rows of visible context and are not a complete history, visibility and read permission are rechecked at call time, and missing threads fail rather than falling back to another workspace. It also clarifies that mail intake carries previously recorded hygiene/recovery evidence, which an agent could not infer from annotations.

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?

Front-loaded with the action and the precondition, then alternatives, then constraints — a sensible order for a dense definition. It is on the long side and the closing note that provider submission never proves delivery is only loosely tied to a read tool, so a small amount of trimming is possible.

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

Completeness5/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 return-value burden itself and does so: thread rows plus available work, source and delivery evidence, bounded to at most 80 rows. Combined with the fail-closed and no-side-effect statements, an agent has everything needed to call this correctly and interpret the result.

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% and the schema already states the parameter is an exact communicationId, never a thread key or operation ID. The description repeats that distinction and adds that the value comes from list_work_items or another current thread read, but contributes little meaning the schema does not already carry, so the baseline of 3 applies.

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 — 'Read the current visible messages of one communication thread' — and immediately scopes when in the workflow it belongs ('before deciding or composing a reply'). It differentiates from siblings by name (get_communication_triage, get_reply_brief, get_operation) rather than leaving the agent to guess.

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?

Explicitly routes the agent: triage for current hygiene/recovery diagnostics, get_reply_brief for response policy, get_operation for an already prepared reply. It also states a negative boundary — reading neither resolves the inbox nor authorizes drafting, sending or retrying — which prevents a common over-inference.

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