Skip to main content
Glama
CTDO YTB MCP

CTDO YTB MCP

by thanhdo1110

yt_search

Search YouTube videos, Shorts, channels, playlists, trending charts, and categories with or without an API key, then filter results by date, views, subscribers, and region.

Instructions

Search YouTube videos, Shorts, channels, playlists, trending charts, or categories (works with 0 API key or API v3).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "yt_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
queryNoSearch keywords (omit only for trending/categories)
formatNo
targetNoDefault: video
maxSubsNo
minSubsNo
durationNo
categoryIdNo
maxResultsNo1-50 (default 15)
regionCodeNoISO country e.g. US, VN, JP
creatorOnlyNo
publishedAfterNoISO 8601 date
uniqueChannelsNo
publishedBeforeNoISO 8601 date

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and mostly fails it: nothing about result caps, pagination, quota/rate limits, or what the response contains. The only disclosure is that it works with zero API key or API v3, which is setup context rather than runtime behavior.

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?

A single front-loaded sentence with no filler; the resource enumeration leads and the API-key note trails. It is efficiently written, though brevity here comes at the cost of coverage rather than through disciplined editing.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter tool with no annotations and no output schema, one sentence is far short of what an agent needs to invoke it confidently. Guidance on filter interaction (e.g. minSubs vs creatorOnly, sort semantics) and result limits is absent.

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

Parameters2/5

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

Schema coverage is only 43% across 14 parameters, so the description needs to compensate and does not. Beyond implicitly naming what `target` can select, it says nothing about sort, minSubs/maxSubs, creatorOnly, uniqueChannels, duration, regionCode, or the published-date filters, leaving over half the inputs undocumented.

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 uses a specific verb ('Search') plus an explicit enumeration of resources (videos, Shorts, channels, playlists, trending charts, categories) that maps to the `target` enum, so an agent knows what the tool retrieves. It does not distinguish itself from siblings such as yt_channels, yt_videos, or yt_playlists, which plausibly cover adjacent ground.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no statement of when to use this search versus the sibling retrieval tools, no exclusion of cases, and no prerequisites beyond a parenthetical about API keys. 'Omit only for trending/categories' appears in the schema, not the description, so the description itself offers no routing guidance.

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