Skip to main content
Glama

Get a session transcript

anam_session_transcript_get
Read-onlyIdempotent

Returns a session’s conversation, 50 messages at a time unless limit (up to 100) says otherwise: pass the returned nextOffset as offset until it is null. totalMessages counts them all. Zero-data-retention sessions have no transcript.

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": "anam_session_transcript_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
limitNoThe most messages to return, 1 to 100; 50 when left out.
offsetNoIndex of the first message to return.

Output Schema

NameRequiredDescriptionDefault
messagesYes
nextOffsetNo
resultTrimmedNo
totalMessagesNo
transcriptsEnabledNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description adds behavior beyond that: default page size of 50, a cap of 100, the iteration contract, totalMessages as a count, and the meaningful caveat that zero-data-retention sessions have no transcript at all.

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?

Three compact sentences, front-loaded with the return value and pagination rule, with no redundant restatement of the tool name. Every clause carries information an agent needs to page correctly.

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?

An output schema exists, so return shape need not be explained, and the description covers pagination, limits and the empty-transcript edge case. It could still note whether the transcript includes non-message events or metadata, but nothing required for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and the description compensates usefully by explaining the offset/nextOffset handshake and the limit ceiling of 100 with a default of 50, which is more than the schema states on its own. It does not describe the id parameter's role beyond 'session', which is the main remaining gap.

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?

States a specific verb and resource: returns a session's conversation. The pagination and transcript framing distinguishes it implicitly from siblings like anam_session_recording_get or anam_session_analytics_get, though no sibling is named explicitly.

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?

Gives clear operational guidance on how to page (pass nextOffset as offset until null) but no guidance on when to choose this tool over adjacent ones such as session_get or recording_get. Usage is implied by the noun 'transcript' rather than stated.

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