Skip to main content
Glama
searchapi-mcp
by sudo-dk

YouTube Search

youtube_search

Search YouTube videos and return titles, channels, views, length, publish time, and links; use next-page tokens to fetch more results.

Instructions

Search YouTube videos. Returns title, channel, views, length, publish time and link. If the response contains next_page, pass those parameters back to get more results.

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": {
      "q": "<q>"
    },
    "name": "youtube_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesThe search query.
glNoTwo-letter country code, e.g. "us", "fi".
hlNoInterface language code, e.g. "en", "fi".
page_tokenNoToken from a previous response's next_page to fetch more videos.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the return shape (title, channel, views, length, publish time, link) plus a pagination continuation mechanism. It omits anything about result counts per page, rate limits, ordering, or empty-result behavior, which are the remaining behavioral gaps.

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?

Three short sentences, front-loaded with purpose, then return contents, then pagination advice. Every sentence earns its place, with no filler or redundancy.

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?

There is no output schema, but the description compensates by listing the returned fields, and it explains the pagination loop. For a simple four-parameter search tool this is close to complete, with only per-page result counts left unspecified.

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 coverage is 100%, so all four parameters (q, gl, hl, page_token) are already documented with examples in the schema itself. The description's only added meaning is restating that `next_page` values round-trip into `page_token`, which the schema already conveys, so the baseline 3 applies.

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 opens with a specific verb+resource ("Search YouTube videos") and enumerates the returned fields, so the agent knows exactly what domain this covers. It implicitly distinguishes itself from the generic search siblings by naming YouTube, though it never explicitly contrasts itself with google_search or search.

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 implied by the resource name (use this for YouTube video lookups), and it gives concrete follow-up guidance for pagination via `next_page`. However, it offers no explicit when-to-use/when-not-to-use framing against the sibling search tools.

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