Skip to main content
Glama

Search videos

search_videos
Read-onlyIdempotent

Finds YouTube videos from a text query and returns titles, channels, durations and links. Additional pages use the opaque nextCursor; the query, language and region must remain unchanged.

Input Schema

NameRequiredDescriptionDefault
queryYesSearch query, 1 to 200 characters after trimming.
cursorNoOpaque nextCursor from the previous page. Keep query, language and region unchanged.
regionNoISO 3166 alpha-2 region, e.g. BR.
languageNoLanguage code, e.g. pt or en.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, openWorld and non-destructive behavior, so the safety profile is covered. The description adds value beyond that with the return shape (titles, channels, durations, links) and the pagination invariant that the query/language/region must not change across cursor calls — a non-obvious constraint. It does not mention result caps or rate limits.

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?

Two sentences, zero filler, with purpose front-loaded and the pagination constraint second. Every clause carries information an agent needs.

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 no output schema, the description compensates by naming the returned fields, and it explains the cursor-based pagination model. Minor gaps remain: no indication of typical result counts, ordering, or behavior when the query has no matches, which matter for a search tool.

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 all four parameters are already documented with formats and patterns. The description restates the cursor invariance rule that the schema already states verbatim, adding no new meaning to query, region or language. Baseline 3 is appropriate.

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 ("Finds YouTube videos from a text query") and even names the returned fields, so an agent can distinguish it from get_video_info or transcribe_video. It stops short of explicitly contrasting with those siblings, but the 'text query' framing makes the distinction inferable.

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 pagination rule ("Additional pages use the opaque nextCursor; the query, language and region must remain unchanged") gives real operational guidance for repeated calls. However, there is no statement of when to choose this tool over get_video_info, get_usage, or transcribe_video, and no exclusions or prerequisites.

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