Skip to main content
Glama
YouTube Intelligence MCP

YouTube Intelligence MCP

yt_search_flexible

Search YouTube with precise filters for upload date, view count, duration, content type, and Shorts exclusion to find videos, channels, or playlists matching niche research needs.

Instructions

Motor de busca completo e ultra-flexível do YouTube sem limite de cota de API. Permite filtrar exatamente o que você precisa:

  • sort_by: 'relevance', 'upload_date' (mais recentes primeiro), 'view_count' (mais vistos), 'rating'

  • upload_period: 'hour', 'today', 'this_week', 'this_month', 'this_year', ou None (todos)

  • duration: 'short' (<4 min), 'medium' (4-20 min), 'long' (>20 min), ou None (qualquer)

  • content_type: 'video', 'channel' (procurar criadores), 'playlist'

  • min_views: filtrar apenas vídeos acima de X visualizações

  • max_views: filtrar canais gigantes para achar canais pequenos/médios

  • exclude_shorts: True para ignorar Shorts (vídeos <= 60s) e focar em conteúdo longo

  • limit: quantidade de resultados (padrão 20)

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": "yt_search_flexible"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
sort_byNorelevance
durationNo
max_viewsNo
min_viewsNo
content_typeNovideo
upload_periodNo
exclude_shortsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure, and it does contribute one real trait: no API quota limit. It implies a read-only search with no side effects. It says nothing about pagination, result caps beyond 'limit', error behavior, or whether any auth is required, so the behavioral picture is partial.

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?

Front-loaded one-line purpose followed by a scannable bullet per parameter; each bullet carries information. Minor waste in restating limit's default (20) already in the schema, and the bullets repeat the parameter name rather than integrating it, but overall it is tight.

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 9-parameter search tool with an output schema and no annotations, the definition covers all filter parameters plus the quota-free trait, which is enough to invoke it correctly. Remaining gaps are how results are paged/returned and how it relates to the sibling analytics tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the schema contains no enums, so the description does all the semantic work: it defines every accepted value for sort_by, upload_period, duration, and content_type, explains min_views vs max_views usage, the Shorts threshold (<=60s), and the limit default. This is meaning well beyond what the schema conveys.

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?

States a specific verb and resource: a YouTube search engine with ultra-flexible filtering, and enumerates the facet dimensions (sort, upload period, duration, content type, view ranges). An agent can tell it is the general-purpose search tool rather than an analytics tool, though no sibling is named explicitly.

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 hints exist at the parameter level ('max_views: filter out giant channels to find small/medium ones', 'exclude_shorts: True to skip Shorts'), which implies intent. However, there is no guidance on when to pick this over yt_search_trends, yt_niche_radar, or yt_channel_audit_report, and no stated exclusions or prerequisites.

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