Skip to main content
Glama

get_tool_transcript

Read-onlyIdempotent

Read a thread's tool-call transcript by pairing each tool_use with its tool_result in call order, showing which tools ran and what they returned without message text or code.

Instructions

Read a thread's tool-call transcript: each tool_use block paired by id with its tool_result, in the order the calls were made, as entries with tool_use_id, name, input, the posting message and member, and the result (content and is_error) once one exists. Results whose call is outside the scanned window come back as orphan_results. Text and code blocks and message bodies are left out, which makes this much smaller than list_messages or get_thread_context when you only need what tools ran and what they returned. Tombstoned messages are skipped. Requires workspace:read.

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_tool_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many of the thread's oldest messages to scan for tool blocks. Defaults to 200, from 1 to 500. A longer thread is cut off at this count, so later calls are not included.
thread_idYesUUID of the thread to read. The caller must be able to read the thread's channel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv479.0.2
    • changedInput schema / properties / limit / description
      Previous value: -"max messages to scan"New value: +"How many of the thread's oldest messages to scan for tool blocks. Defaults to 200, from 1 to 500. A longer thread is cut off at this count, so later calls are not included."
    • addedInput schema / properties / thread_id / description
      Added value: +"UUID of the thread to read. The caller must be able to read the thread's channel."
  2. First observedv479.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: orphan_results for calls outside the scanned window, tombstoning skipped, text/code/message bodies omitted, truncation semantics, and the workspace:read auth requirement. Annotations already cover read-only/idempotent safety, so this is strong added value, though the exact response envelope (top-level keys, ordering guarantees of orphan_results) is not spelled out.

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 verb and the return shape, and the sibling comparison plus exclusions each earn their place. The first sentence is long and comma-chained, making it dense to parse, but no sentence is filler.

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 takes on the return-shape burden and does so: entry fields, the paired/orphan cases, exclusions, and truncation are all covered. Auth scope is also stated, leaving little an agent needs before invoking.

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 both parameters are documented in-schema, including the limit range and cutoff warning, so the schema carries the load. The description reinforces the windowing consequence ('outside the scanned window' produces orphans) but adds no new syntax or format detail for thread_id or limit.

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 a thread's tool-call transcript') and then enumerates the exact entry shape (tool_use_id, name, input, posting message and member, result content and is_error). This is far more precise than a generic 'get transcript' and clearly distinguishes it from message-listing siblings.

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: use this 'when you only need what tools ran and what they returned', and names the alternatives (list_messages, get_thread_context) it is smaller than. The condition and the alternative are both stated, not inferred.

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