Skip to main content
Glama

mine_channel

Mine a YouTube channel's back catalog: list uploads and flag already-mined videos, or extract a video's captions into word-level transcripts for clip suggestions without downloading video.

Instructions

Mine a YouTube channel's back catalog for clip-worthy moments without downloading any video. action='list' lists a channel's uploads (title, duration, upload date), flagging ones already mined into clip_history so you don't re-suggest from them. action='mine' fetches one video's existing captions (never the video itself), preferring the original-language track over an auto-translated one, and converts them to podcli's word-level transcript format. Feed the result straight into the suggest_clips flow the same way import_transcript's output is used. Never downloads a full video; that only happens if you separately choose to render a clip from one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax uploads to list (action=list)
actionYes'list' = a channel's uploads, 'mine' = one video's captions
video_urlNoVideo URL (required for action=mine)
channel_urlNoChannel or uploads URL (required for action=list)
cookies_from_browserNoBrowser to read cookies from for members-only or unlisted content

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.8.0

TDQS

A4.3/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 behavioral burden and does well: it repeatedly clarifies that no full video is ever downloaded, that 'mine' only fetches existing captions, prefers the original-language track over auto-translated, and converts to podcli's word-level format. It omits error/permission behavior beyond the schema's cookies hint, so not a full 5.

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?

Well front-loaded, leading with the core purpose before detailing actions. The 'no download' point is restated three times ('without downloading any video', 'never the video itself', 'Never downloads a full video'), which is mild redundancy but the structure remains clear and scannable.

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?

For a dual-action tool with no output schema, the description covers mode semantics, side-effect avoidance, format conversion, and workflow integration. It leaves return-value shape and failure modes unspecified, but the essential call-time information is present.

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 100%, so the baseline is 3. The description adds meaning on top by elaborating what each action value does (listing uploads with title/duration/date and mined flags; fetching one video's captions) and how the output is consumed downstream, exceeding the schema's terse enum descriptions.

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?

The description names a specific verb+resource (mine a YouTube channel's back catalog for clip-worthy moments) and clearly delineates the two action modes. It references siblings (clip_history, suggest_clips, import_transcript) so an agent can place it in the workflow without opening the 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?

It explains when to use each action: 'list' to survey a channel's uploads and avoid re-suggesting already-mined videos, 'mine' to convert one video's captions into a transcript. It also routes the output into the suggest_clips flow. It stops short of explicit when-not-to-use conditions, keeping it at a strong 4.

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