Skip to main content
Glama
Decodo

Decodo MCP Server

by Decodo

YouTube Subtitles

youtube_subtitles
Read-only

Fetch YouTube video subtitles by video ID through the Decodo Web Scraping API and return them as JSON to read or summarize spoken content; set language_code for a specific language.

Instructions

Fetch the subtitles of a YouTube video by video ID through the Decodo Web Scraping API (youtube_subtitles target) and return them as JSON. Use it to read or summarise what is said in a video; set language_code for a specific language. Docs: https://help.decodo.com/docs/web-scraping-api-youtube-subtitles

Input Schema

NameRequiredDescriptionDefault
queryYesYouTube video ID (e.g., "L8zSWbQN-v8")
language_codeNoLanguage code for subtitles (e.g., "en", "es")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds useful context — the third-party API dependency, JSON output, and a docs URL — but says nothing about missing/auto-generated captions, default language behavior when language_code is omitted, failure modes, or rate limits.

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?

Two tight sentences plus a docs link; the action and resource are front-loaded with no redundant restatement of the title. The docs URL is mildly extraneous but defensible as a pointer to deeper detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 should say more about the returned JSON structure (segments vs plain text, timestamps) and about the default-language behavior. It is adequate to invoke the tool but leaves meaningful gaps for interpreting results.

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 both parameters are already documented with examples, giving a baseline of 3. The description only reinforces language_code as the language selector and does not clarify what happens by default when it is omitted.

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 and resource ('Fetch the subtitles of a YouTube video by video ID') plus the transport ('through the Decodo Web Scraping API') and the return shape (JSON). An agent can distinguish this from youtube_metadata or youtube_channel 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear use context ('read or summarise what is said in a video') and a parameter-level hint for language selection. It does not name alternatives or state when not to use it (e.g., when a video has no captions, or when metadata is what you actually need), so it stops short of explicit routing.

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