Skip to main content
Glama

Read Video Transcript

read_video_transcript
Read-onlyIdempotent

Fetch timestamped captions and track metadata from public YouTube, Bilibili, Facebook, Douyin, Xiaohongshu, or X videos to summarize, translate, or read paginated transcripts.

Instructions

Fetch timestamped subtitles/captions and track metadata for a public YouTube, Bilibili, Facebook, Douyin, Xiaohongshu, or X (Twitter) video via Vidleaf (https://vidleaf.app). Use when summarizing, translating, or reading full/paginated video transcripts. To locate specific quotes without loading the full track, use search_video_transcript instead; to generate a reader handoff link offline without network calls, use build_vidleaf_open_link instead. Never triggers paid audio transcription automatically: captionless videos return status='asr_confirmation_required' with an open_url where the user can confirm speech-to-text.

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_video_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic video URL, Bilibili BV/av ID, or full mobile share text (YouTube, Bilibili, Facebook/Reels, Douyin, Xiaohongshu/RedNote, or X/Twitter).
langsNoUp to 3 preferred BCP-47 language prefixes ordered by priority (e.g. ['zh', 'en']).
limitNoMaximum number of subtitle cues to return in this page (1–500).
formatNoFormatting style for `formatted_transcript`.timestamped
localeNoOptional Vidleaf UI locale for the returned `open_url` handoff link.
offsetNoZero-based cue index to start reading from when paginating long videos.

Output Schema

NameRequiredDescriptionDefault
cuesYesTimestamped subtitle segments.
langNoSelected subtitle track language code.
titleNoSource video title.
offsetNoStarting cue index of this page.
statusYesOutcome of caption retrieval.
messageNoGuidance message when ASR confirmation is required or an error occurred.
has_moreYesWhether additional cues remain after this page.
open_urlYesDirect Vidleaf deep-reading URL (`https://vidleaf.app/open?url=...`).
platformNoDetected video platform.
video_keyYesCanonical Vidleaf video identifier.
source_urlNoNormalized original video URL.
total_cuesYesTotal subtitle cues in the selected track.
next_offsetNoNext `offset` value if `has_more` is true, else null.
track_sourceNoTrack origin (official, auto, or cached ASR).
returned_cuesYesNumber of cues returned in this response.
available_tracksNoAll available subtitle tracks on this video.
duration_secondsNoVideo duration in seconds when known.
summary_open_urlYesDirect Vidleaf AI chapter-summary URL (`&goal=summary`).
formatted_transcriptYesReady-to-read transcript formatted per `format`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description goes further by disclosing a non-obvious behavioral guardrail: paid audio transcription is never triggered automatically. It also names the exact captionless-video response shape (`status='asr_confirmation_required'`) and the `open_url` handoff, which an agent could not infer from annotations or schema.

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 tight sentences, front-loaded with the capability and platforms before the routing and the ASR caveat. Every clause carries information; nothing is repeated from the name or 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?

An output schema exists, so return values need not be explained, and the description still covers the one return state an agent must handle (the ASR confirmation path with `open_url`). For a read-only, open-world fetch with six fully described parameters, nothing material is missing.

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 description coverage is 100%, so the schema already documents `langs`, `limit`, `format`, `locale`, and `offset` with defaults and bounds. The description adds only the pagination framing ("full/paginated video transcripts"); it gives no extra syntax or format detail beyond what the schema provides, 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?

States a specific verb+resource ("Fetch timestamped subtitles/captions and track metadata") and enumerates the six supported platforms, so its scope is unambiguous. It also names the two siblings it is not, letting an agent distinguish it without opening any schema.

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 positive when-to-use guidance ("summarizing, translating, or reading full/paginated video transcripts") and explicit routing rules: use `search_video_transcript` to locate quotes without loading the full track, and `build_vidleaf_open_link` for offline link generation. Both alternatives are named with the condition that selects them.

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