Skip to main content
Glama

Get the transcript for a podstow episode

get_episode_transcript
Read-only

Given a transcriptHandle from list_episodes, return the transcript URL plus an inline preview suitable for use as immediate assistant context. By default the preview is the leading slice of the transcript (up to 8000 UTF-8 bytes); totalBytes reports the full size. When truncated is true, either fetch the full transcript from transcriptUrl or page through it with repeated calls, passing each response's nextOffset as the next call's offset (optionally with a larger maxBytes). Read calls do not decrement the article quota. Errors: a refusal from this tool is a result with isError: true whose text block is a JSON object carrying class, code and message; a request refused before the tool runs (sign-in, scope, rate limit) is a JSON-RPC error carrying the same object as its data. Retries: up to 3 attempts with exponential backoff starting at 500ms, capped at the error's retryAfterMs when present. Retry only when class === "retriable". Surface fatal errors (class === "fatal") to the user without retry. On code === "quota_exceeded" the user is at their article limit: say when it lifts (resetsAt, an ISO instant, over a periodDays-day window covering allowance articles) and how to lift it sooner (unblock — "upgrade" to a larger plan, "pack" to buy extra articles), at upgradeUrl.

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": {
      "transcriptHandle": "<transcriptHandle>"
    },
    "name": "get_episode_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
offsetNoByte offset into the UTF-8 transcript where the returned slice starts. Defaults to 0. When paging, pass the previous response's `nextOffset` — slice edges are snapped to character boundaries, so arithmetic on `offset + maxBytes` can skip a character.
maxBytesNoMaximum UTF-8 bytes to return in `preview`. Defaults to 8000; values above 100000 are clamped to that ceiling.
transcriptHandleYesOpaque handle from a `list_episodes` item's `transcriptHandle` field.

Output Schema

NameRequiredDescriptionDefault
previewYesSlice of the transcript starting at `offset`, up to `maxBytes` UTF-8 bytes (default 8000). Cut at character boundaries — never produces a mojibake replacement character.
truncatedYes`true` when the transcript extends beyond the end of the returned slice.
nextOffsetYesPass as `offset` on the next call to continue reading. `null` when the slice reached the end of the transcript.
totalBytesYesTotal size of the full transcript in UTF-8 bytes.
transcriptUrlYesURL of the full transcript object. One way to get the rest when `truncated` is `true`; paging with `offset`/`maxBytes` is the other.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish read-only, non-destructive, closed-world behavior, and the description goes well beyond them: quota non-consumption, truncation semantics with `totalBytes`, the `isError` JSON error envelope vs JSON-RPC error distinction, retry counts/backoff, and the `quota_exceeded` recovery path. This is unusually rich behavioral disclosure.

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 core purpose in the first sentence, then ordered from default behavior to fallbacks to error handling. It is dense and long — the error/retry/quota passage is packed into two very long sentences — but nearly every clause carries actionable information.

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?

An output schema exists, so return values needn't be explained; the description nonetheless covers truncation, paging, error shapes, retry policy, and quota remediation. Nothing an agent needs to call this correctly or handle failures is missing.

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 documents `offset`, `maxBytes`, and `transcriptHandle` in detail. The description's paging sentence largely restates the schema's own `offset` guidance, so it adds workflow context but little parameter meaning beyond what is already structured.

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 — return the transcript URL plus an inline preview — and anchors the input to a `transcriptHandle` from `list_episodes`, which distinguishes it from the sibling list tool without opening a schema.

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 covers the default path (leading slice preview), the when-not path (fetch full transcript from `transcriptUrl`), and the paging alternative with concrete instructions to pass `nextOffset` as `offset`. It also gives retry and error-triage rules, so an agent knows exactly which route to take.

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