Skip to main content
Glama
xiaolai

claude-octopus

claude_code_transcript

Retrieve a full conversation transcript from Claude Code storage. Provide a session ID to get chronological user/assistant messages, useful for reviewing past interactions or debugging.

Instructions

Retrieve the full conversation transcript for a session from Claude Code's storage. Returns chronological user/assistant messages. Use session_id from a prior query or timeline lookup.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesSession ID to retrieve transcript for
limitNoMaximum number of messages to return
offsetNoSkip this many messages from the start
include_systemNoInclude system messages (default: false)
Behavior3/5

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

With no annotations, description carries the full burden. It discloses that the tool returns chronological user/assistant messages (a read operation) but does not mention authentication requirements, rate limits, or error handling for invalid session_ids.

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?

Extremely concise: two sentences, front-loaded with the primary purpose, no redundant words. Every sentence adds essential context.

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?

Provides sufficient context for a transcript retrieval tool: what it returns and how to get session_id. Lacks mention of pagination behavior or error handling, but given the schema parameters, it is mostly complete.

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?

Input schema has 100% description coverage, with each parameter clearly described (e.g., session_id, limit, offset, include_system). The description adds no new semantic information beyond the schema, meeting the baseline for high coverage.

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?

Description clearly states the verb 'retrieve' and the resource 'full conversation transcript', specifying it returns chronological user/assistant messages. It is distinct from siblings like 'claude_code_reply' and 'claude_code_timeline'.

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?

Explicitly advises using session_id from a prior query or timeline lookup, providing clear context for when to use this tool. However, it does not mention when not to use it or alternative tools beyond the implicit distinction.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xiaolai/claude-octopus'

If you have feedback or need assistance with the MCP directory API, please join our Discord server