Skip to main content
Glama

process_episode

Transcribe a podcast episode, rank key moments, render captioned clips, and write titles, descriptions, and tags in one job; poll job_status until done.

Instructions

One-shot episode job: transcribe, rank moments, render clips, write titles/descriptions/tags. Returns { job_id } immediately. Poll with job_status until done; the result is the same JSON podcli process --json prints (clip paths, durations, scores, titles, captions).

Does not require the web studio. For a shortlist without rendering, use rank_clip_candidates instead.

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": {
      "video_path": "<video_path>"
    },
    "name": "process_episode"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoHow many clips to export. Default 5.
cropNo
fastNo
engineNo
formatNo
outputNoOutput directory
qualityNo
languageNo
transcriptNoExisting transcript path (.srt, .vtt, .txt, .json)
video_pathYesAbsolute path to the episode video or audio
caption_styleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.9.0
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "vertical",
      -  "horizontal",
      -  "square"
      -]New value: +[
      +  "vertical",
      +  "horizontal",
      +  "square",
      +  "topic"
      +]
  2. Addedv2.8.2

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the async contract (returns { job_id } immediately, poll with job_status) and describes the result payload (clip paths, durations, scores, titles, captions). It omits operational concerns such as runtime expectations, whether output directories are overwritten, and whether certain engines need API credentials (assemblyai), which matters for an 11-param job.

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?

Three tight sentences: what it does, how the async flow works, and the alternative. Front-loaded with the job summary and the return contract. No wasted marketing language.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

It adequately covers the async job lifecycle and return shape for a tool with no output schema, which is the hardest part for an agent. However, for an 11-param pipeline with 36% schema coverage, the description leaves how to choose engines, formats, crop modes and quality levels entirely unexplained, so an agent can invoke it but not tune it.

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

Parameters2/5

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

Schema description coverage is only 36% across 11 parameters, so the description needs to compensate and does not. Five enum parameters (crop, engine, format, quality, caption_style) and booleans like 'fast' have no explanation of their tradeoffs or meanings, and the description adds no parameter detail beyond mentioning that titles/descriptions/tags are produced.

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 chain and resource: 'One-shot episode job: transcribe, rank moments, render clips, write titles/descriptions/tags.' It also explicitly contrasts itself with rank_clip_candidates, so an agent can distinguish it from the shortlist sibling without opening either schema.

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?

Gives clear context ('Does not require the web studio') and names the alternative with the condition that selects it ('For a shortlist without rendering, use rank_clip_candidates instead'). It doesn't address when not to use it otherwise, such as batch or existing-transcript workflows, but the routing guidance is explicit.

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