Skip to main content
Glama

Search YouTube videos

search_youtube
Read-only

Search YouTube for videos, or search within one channel by passing its link or @handle. Returns video IDs, titles, channels, durations, and view counts. Free on paid plans; Free plan: 10 a day, then 1 credit. Use get_transcript on the videos you need.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum videos to return
queryYesSearch terms
channelNoOnly search this channel (URL, channel ID, or @handle)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds two things the annotations cannot: the return payload (video IDs, titles, channels, durations, view counts) and a cost/quota model ('Free on paid plans; Free plan: 10 a day, then 1 credit'), which is exactly the kind of budget constraint an agent needs before making repeated calls. The quota phrasing is slightly ambiguous about what happens after the 10th call.

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 with purpose, then output shape, then cost, then the sibling handoff — a sensible order with no filler. The channel-form detail mildly duplicates the schema, costing a perfect score, but nothing is wasteful.

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

Completeness5/5

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

There is no output schema, and the description compensates by enumerating the returned fields. Combined with read-only annotations, an open-world hint, and quota disclosure, an agent has everything needed to decide to call it and how to interpret results. Only the post-quota behavior is underspecified, which is minor.

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%, so the baseline is 3. The description restates the channel parameter's accepted forms (link or @handle), which the schema already documents as URL/channel ID/@handle, and says nothing about the limit parameter. No net meaning is added beyond the schema.

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?

States a specific verb and resource ('Search YouTube for videos') and immediately qualifies the scope with a second mode ('search within one channel by passing its link or @handle'). An agent can tell this is the discovery tool rather than a content-retrieval one, since the description explicitly hands off to get_transcript.

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

Usage Guidelines4/5

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

Gives a clear next-step routing rule ('Use get_transcript on the videos you need') that links search to the sibling retrieval tool, plus the channel-narrowing option. It stops short of naming when not to use it (e.g. when the user already has a URL or playlist, where get_transcript or list_playlist_videos would be the entry point).

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