Skip to main content
Glama
Decodo MCP Server

Decodo MCP Server

by Decodo

YouTube Subtitles

youtube_subtitles
Read-only

Fetch a YouTube video's subtitles as JSON by video ID to read or summarize spoken content. Set language_code to retrieve subtitles in a specific language.

Instructions

Fetch the subtitles of a YouTube video by video ID through the Decodo Web Data 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

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": {
      "query": "<query>"
    },
    "name": "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.5/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 safety is covered. The description adds that results come back as JSON from the Decodo Web Data API and that language can be selected, but silent on failure modes such as videos with no captions or unavailable translations, which matters for an open-world scraping call.

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 sentences plus a docs link, front-loaded with the core action and the return format. No filler, though the trailing documentation URL is informational rather than operative for tool selection.

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?

For a simple two-parameter read tool with full schema coverage and no output schema, the description covers what it does, the transport, and the return shape (JSON). Only missing piece is behaviour when subtitles don't exist for the requested language, which is a minor gap.

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 `query` (video ID) and `language_code` are already documented in the schema. The description only restates the language_code behaviour without adding format detail such as default language or fallback, so it stays at the schema-backed baseline.

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 opens with a specific verb and resource: 'Fetch the subtitles of a YouTube video by video ID' via the Decodo `youtube_subtitles` target. The resource is clearly distinct from other YouTube siblings like metadata, channel and search, though the description never names a sibling to contrast against, which keeps it just below a 5.

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?

It gives an intended purpose ('read or summarise what is said in a video') and a conditional tip to set `language_code` for a specific language. There is no statement about when not to use it or which sibling to prefer for related needs (e.g. metadata vs subtitles), so guidance is implied rather than explicit.

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