Skip to main content
Glama

Read a YouTube video

read_youtube_video
Read-onlyIdempotent

Read a public YouTube video from its link: title, length, chapters, the moments viewers replay most, and the transcript with a timestamp on every line. Use it to pick the strongest moments before cutting them with clip_youtube_video, or to answer what a video says. Free: costs no credits. Private, members-only and age-restricted videos cannot be read.

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": {
      "url": "<url>"
    },
    "name": "read_youtube_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoWhere the transcript stops, in seconds or as a timestamp.
urlYesLink to one YouTube video (youtube.com/watch, youtu.be, Shorts).
startNoWhere the transcript begins, in seconds or as a timestamp such as 12:30. Use it to read the next part of a long video.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered; the description adds genuine context beyond that: the call is free and consumes no credits, and access is limited to public videos. It does not cover failure modes (e.g., what happens on a region-blocked video or an over-long transcript), which keeps it short of a 5.

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?

Two sentences, both front-loaded and information-dense: the first covers inputs and outputs, the second covers routing and cost. No filler, no restatement of the title.

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, the description compensates by enumerating the returned fields, and it flags both the cost model and the access restrictions. Combined with a fully documented three-parameter schema, an agent has everything needed to call this correctly or decide against it.

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 explains url, start, and end — including that start/end accept seconds or timestamps and can be used to read the next part of a long video. The description adds nothing about parameter usage, so the baseline 3 applies.

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?

Names a specific verb and resource ("Read a public YouTube video from its link") and enumerates exactly what comes back: title, length, chapters, most-replayed moments, timestamped transcript. It is unmistakably a read/extract tool, distinguishable from clip_youtube_video and transcribe_media.

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?

Gives explicit when-to-use guidance with the downstream alternative named: "pick the strongest moments before cutting them with clip_youtube_video, or to answer what a video says." It also states a clear exclusion — private, members-only, and age-restricted videos cannot be read — so the agent knows when to bail out.

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