Skip to main content
Glama
TranscriptFetch

Social Media Video Transcripts

Official

get_transcript

Fetch full transcripts from YouTube, TikTok, Instagram, X, Facebook videos or direct media URLs. When captions are absent, use AI to transcribe the audio.

Instructions

Fetch the full transcript for a video. Accepts a YouTube video ID or URL, plus TikTok, Instagram, X (Twitter), and Facebook video URLs and direct media file URLs. If no transcript comes back, the result says whether captions definitively do not exist (aiFallback.captionsUnavailable) and whether transcribing the audio would still work (aiFallback.available). When it does, call this tool again with ai_fallback: true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
videoYesVideo ID or URL, YouTube (dQw4w9WgXcQ, youtu.be/...), TikTok, Instagram, X, Facebook, or a direct media file URL.
ai_fallbackNoSkip captions and transcribe the audio with AI instead. Use this only after a previous call reported aiFallback.available, it starts an async job (1 credit on delivery) that takes 1-3 minutes.
Behavior5/5

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

With no annotations, the description discloses important behavioral traits: the result distinguishes between 'captions definitively do not exist' and 'transcribing audio would still work' via the aiFallback object. It also reveals that ai_fallback starts an async job costing 1 credit and taking 1-3 minutes. This goes well beyond a simple 'get transcript' statement and helps the agent anticipate edge cases.

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?

The description is a single dense paragraph that front-loads the purpose and then details formats and fallback behavior. It is slightly redundant with the schema but remains concise for the amount of context it provides.

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?

Despite lacking an output schema, the description explains key result fields (captionsUnavailable, available) and the async fallback process, which covers the main edge cases. It does not describe the full transcript structure, but for a two-parameter tool this is reasonable. The absence of annotations is compensated by the description's rich behavioral detail.

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?

The input schema already describes both parameters thoroughly (video formats, ai_fallback behavior, cost, timing). The description largely restates this information without adding new parameter-level meaning. Baseline is 3 due to 100% schema coverage, and this description does not elevate it.

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 clearly identifies the tool's function ('Fetch the full transcript for a video') and lists accepted input formats (YouTube ID/URL, TikTok, Instagram, X, Facebook, direct media URLs). This distinguishes it from sibling tools like search_videos or list_channel_videos, which focus on discovery rather than content retrieval.

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?

Provides explicit usage guidance for the fallback flow: if no transcript returns and aiFallback.available is true, call the tool again with ai_fallback: true. It does not explicitly compare to alternative tools, but the description makes the primary use case clear and the fallback condition is actionable.

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/TranscriptFetch/mcp-server'

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