Skip to main content
Glama
YouTube Intelligence MCP

YouTube Intelligence MCP

yt_inspect_video_visuals

Extract key frames and OCR on-screen text from a local video or YouTube URL so AI can read slides, code, charts, and graphics shown in the video.

Instructions

Inspeciona visualmente o que aparece na tela do vídeo (slides, código no editor, gráficos, telas). Extrai frames-chave com FFmpeg, roda OCR com Tesseract para ler o texto da tela, e disponibiliza os frames para análise visual detalhada da IA. Suporta arquivo local na VPS ou URL do YouTube (requer cookies.txt na VPS para streams do YouTube).

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": {
      "video_source": "<video_source>"
    },
    "name": "yt_inspect_video_visuals"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_framesNo
video_sourceYes
interval_secondsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the underlying tooling (FFmpeg, Tesseract OCR), the two supported input modes (local file on the VPS or YouTube URL), and a concrete prerequisite — cookies.txt on the VPS is required for YouTube streams. It stops short of cost, runtime, or failure behavior for large frame counts, which is the only gap for a mutation-free but heavy processing tool.

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?

Four short sentences, front-loaded with what is inspected, followed by how it works and the input-mode prerequisite. No filler, though the pipeline sentence could be tightened without loss.

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?

An output schema exists, so return values need not be explained, and the source-type prerequisite is covered. However, for a three-parameter processing tool with zero schema documentation, the sampling parameters and any expected runtime limits are unaddressed, leaving the definition only partially complete.

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 0%, so the description must compensate. It clarifies the accepted forms of video_source (local VPS path vs. YouTube URL), but max_frames and interval_seconds are never mentioned, so their meaning (sampling density, key-frame cap) is left entirely to the bare schema titles and defaults.

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?

Opens with a specific verb and resource: visually inspecting what appears on screen (slides, editor code, graphs, screens), then names the concrete pipeline (FFmpeg frame extraction, Tesseract OCR, frames exposed for visual analysis). An agent can immediately tell this is the on-screen visual tool, distinct from transcript- or analytics-oriented siblings.

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?

Usage is only implied by the resource described (on-screen content requires visual inspection). There is no explicit 'use this when...' clause, no exclusion such as 'use yt_get_video_transcript for spoken content', and no guidance on choosing between this and a broader deep-dive tool.

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