Skip to main content
Glama

VideoDataAPI — YouTube Transcript, Subtitles & Comments MCP. Zero-signup x4

Search YouTube Videos & Shorts

youtube_search
Read-onlyIdempotent

Search YouTube videos, Shorts, channels, or playlists by keyword with type, sort order, and continuation pagination.

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_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoResult type filter (default video).
queryYesKeyword search query string.
tokenNoContinuation cursor token for loading the next page.
sort_byNoSort order for search results (default relevance).

Output Schema

NameRequiredDescriptionDefault
codeYesStatus code (0 on success).
dataYesPaginated YouTube search results.
metaNoGateway execution metadata including request ID, cache tier, and credits charged.
statusYesResponse status string (ok or error).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive behavior, so the safety profile is fully covered. The description adds only the notion of 'continuation pagination', which the token parameter schema already explains, and says nothing about result limits, rate limits, or how pages terminate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the resource list first and the filter/pagination capabilities after; every clause maps to an actual capability and nothing is padded.

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?

With a full output schema, rich annotations, and 100% parameter documentation, the description only needs to convey purpose and scope, which it does. It falls just short of complete because it never clarifies its relationship to the channel-scoped sibling tools that cover overlapping content.

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%, including descriptions and defaults for type and sort_by, so the schema carries the parameter burden. The description merely restates that type, sort order and pagination exist without adding semantics such as what 'all' returns or how tokens are obtained.

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 set ('Search YouTube videos, Shorts, channels, or playlists by keyword') and names the filter dimensions, so an agent knows exactly what the tool does. It does not explicitly distinguish itself from channel-scoped siblings like youtube_channel_videos or youtube_channel_shorts, which is the one thing that would push this to 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?

Usage is only implied: 'by keyword' suggests this is for open-ended discovery rather than enumerating a known channel's uploads. There is no explicit when-to-use statement, no exclusion of the channel-specific siblings, and no prerequisite or quota guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources