Skip to main content
Glama

youtubeSearch

Search YouTube for videos, channels, or playlists by query, then return up to a specified number of matching results.

Instructions

Search YouTube videos, channels, or playlists (type: video, channel, or playlist).

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

Input Schema

NameRequiredDescriptionDefault
typeNovideo
queryYes
max_resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the entire behavioral burden and says almost nothing: no result ordering, no pagination or quota/rate-limit note, no indication of whether missing types are skipped. The only clue is the type enumeration, which is closer to parameter documentation than 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?

One short front-loaded sentence with the resource and the type options in the opening position; nothing is padded. The trailing parenthetical duplicates the type values slightly awkwardly but is not wasteful.

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?

For a three-parameter read tool with no annotations and no output schema, the definition covers the core what but leaves gaps: how many results come back, what max_results actually bounds, and what a result record contains. No output schema exists, so some description of the result shape would have helped.

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 does add real value by enumerating the legal values for type (video, channel, playlist), which the schema leaves as an unconstrained string. However, max_results is never explained (default, cap, or effect) and query semantics are only implied.

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 ('Search YouTube videos, channels, or playlists') and scopes the searchable entity types. It does not explicitly contrast with retrieval siblings like youtubeGetVideoDetails or youtubeGetChannelDetails, so sibling differentiation is left implicit.

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?

The word 'Search' implies a discovery/lookup use case and the parenthetical clarifies that all three entity kinds are searchable from one tool. There is no statement about when to prefer this over the detail-fetching siblings, nor any prerequisite or exclusion guidance.

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