Skip to main content
Glama
mambalabsdev

mcp-youtube-channel-transcript-extractor

by mambalabsdev

Get YouTube Channel Stats

get_youtube_channel_stats
Read-onlyIdempotent

Resolve a company domain or YouTube handle to a channel, returning subscriber count, channel ID, name, creation date, and description. Flags rounded subscriber counts and transcript availability.

Instructions

Resolve a company domain, or a YouTube handle, to that company's YouTube channel. Returns the subscriber count, the stable UC channel id, channel name, creation date and description, as one flat Clay ready row. Subscriber counts are rounded by YouTube above roughly a thousand subscribers, on the page and in its official API alike, and the row flags that. Optional transcript pulling is available and is CURRENTLY GATED by YouTube: the caption track list is readable and the caption content endpoint returns an empty body without a proof of origin token, which the row reports as not_extractable rather than as a video having no captions. No API key needed. Read only; requires an APIFY_TOKEN and consumes Apify credits per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handleNoOptional. A YouTube handle such as @shopify, or a full channel URL. Supplying it skips discovery and goes straight to the channel.
skipCacheNoWhen "false" (default) a successful lookup is cached for seven days and reused. Set "true" to force a fresh fetch. Sent as a string for Clay compatibility.
company_nameNoOptional. Improves search accuracy and is what the identity gate checks a discovered profile against, so supplying it reduces wrong matches.
company_domainNoBare company domain, for example shopify.com. Supply this or a handle. With a domain the actor runs full discovery; with a handle it skips straight to the fetch.
includeTranscriptsNoWhen "true", full timestamped transcripts are pulled for the most recent videos on the channel and returned as one row per video. Default is "false" because transcripts are the expensive half of this actor and most buyers want channel stats only. Sent as a string for Clay compatibility.
transcriptVideoCountNoHow many of the channel's most recent videos to pull transcripts for, when transcripts are on. Default 5. Each video is one extra fetch and one extra billable transcript event, so this is the dial that sets the cost of a transcript run.
includeFollowerCountsNoWhen "true" (default) the profile page is fetched and the counts are extracted. Set "false" to resolve the profile URL only, which is cheaper and needs no proxy. Sent as a string for Clay compatibility.
Behavior5/5

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

Far beyond the annotations (readOnlyHint, idempotentHint, destructiveHint=false), the description discloses non-obvious behaviors: YouTube rounds subscriber counts above ~1k and the row flags this; the caption content endpoint returns an empty body without a proof-of-origin token and is reported as not_extractable rather than no captions; and calls require an APIFY_TOKEN while no YouTube API key is needed. Nothing contradicts the annotations — 'Read only' actually reinforces readOnlyHint.

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?

The core purpose and return values are front-loaded in the first sentence, and every subsequent sentence carries a unique, essential caveat (rounding, transcript gating, auth/credits). At roughly 170 words it is longer than average, but there is no padding — each sentence earns its place by preventing a wrong interpretation.

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?

With no output schema to lean on, the description spells out the return payload and its quirks, the two resolution modes, the optional transcript behavior and its failure mode, and the auth/cost profile — everything an agent needs to invoke the tool correctly. The 7 optional parameters are fully handled by the schema, so no gap remains.

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?

All 7 parameters are documented at 100% coverage in the input schema with rich descriptions (handle 'skips discovery,' skipCache's 7-day caching, transcriptVideoCount as the 'billable transcript event' dial). The description itself adds little parameter-level detail beyond framing the domain-vs-handle choice, which the schema already states, so it sits at the high-coverage baseline of 3.

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 opens with a specific verb phrase — 'Resolve a company domain, or a YouTube handle, to that company's YouTube channel' — and enumerates the exact return fields (subscriber count, UC channel id, channel name, creation date, description). With no sibling tools to differentiate from, the specificity alone removes any ambiguity about what the tool does.

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?

The description frames the two supported lookup paths (domain vs handle) and clarifies which skips discovery, plus gives cost-aware guidance: transcripts are 'the expensive half' and each call 'consumes Apify credits.' It does not name exclusions or alternatives, but since no sibling tools exist there is nothing to exclude against.

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/mambalabsdev/mcp-youtube-channel-transcript-extractor'

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