Skip to main content
Glama

Pipefetch

YouTube transcript

youtube_transcript
Read-only

Get the transcript (captions) of a public YouTube video as text, with its title, channel, length and chapters. Use it to read, summarize or quote what is said in a video. Costs 1 Pipefetch credit; a video without captions costs nothing.

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": "<video>"
    },
    "name": "youtube_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoPreferred caption language code, such as "en" or "pt-BR". Without it you get the video's original language.
videoYesA YouTube video ID or any YouTube video URL.
timestampsNoPut a time marker such as [0:12] in front of each line, to point at moments in the video.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the credit cost ('Costs 1 Pipefetch credit; a video without captions costs nothing') is genuine extra behavioral context an agent cannot get from structured fields. It still leaves the failure mode for caption-less or private videos ambiguous (empty result vs. error).

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 short sentences with the core deliverable front-loaded, followed by use cases and cost. Nothing is redundant or padded.

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?

With no output schema, the description usefully previews the returned fields and discloses the credit cost, which is what an agent needs to decide whether to call it. The remaining gap is the exact result when captions are absent, which matters for an open-world tool that can hit videos with no captions.

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%, so lang, video and timestamps are already documented in the input schema. The description adds only the public-video constraint on 'video'; it does not clarify language fallback behavior or how timestamps interact with chapter output beyond what the schema says. Baseline 3 applies when the schema does the heavy lifting.

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?

The description uses a specific verb ('Get') with a specific resource ('the transcript (captions) of a public YouTube video as text') and even enumerates the payload beyond the transcript (title, channel, length, chapters). It implicitly separates itself from the generic youtube_video sibling by naming captions as the deliverable, but never names an alternative tool 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?

'Use it to read, summarize or quote what is said in a video' gives intended use cases, and 'public YouTube video' implicitly excludes private ones. However, there is no when-not guidance and no routing to youtube_video or youtube_channel for cases where a transcript is not what the agent needs.

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.