Skip to main content
Glama

Search videos

youtube_search
Read-onlyIdempotent

YouTube API: Search videos. Search by keyword and get videos with channel, duration, views and upload date. Price: 1 credit per call; failed calls are free. Paginated: pass pagination.next_cursor as cursor for the next page (each page is a new call).

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
qYesSearch query
limitNoResults (max 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover read-only, open-world, idempotent and non-destructive. The description adds genuinely new context: cost of 1 credit per call, failed calls free, and the important cost implication that each page is a new call. It omits rate limits and failure modes beyond pricing.

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 tight sentences, front-loaded with purpose then pricing then pagination. Nothing is padded; the only defect is that the pagination sentence references a non-existent parameter.

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?

With no output schema, the description usefully enumerates returned fields, and it covers cost and paging. However, the pagination instruction conflicts with the actual schema, leaving the agent unsure how to fetch page two.

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 100% for the two declared parameters, so a baseline of 3 applies, but the description instructs passing pagination.next_cursor as a `cursor` parameter that does not exist in the input schema. That is actively misleading for a caller trying to page, dragging the score below baseline.

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?

Specific verb (search) plus resource (videos) plus the returned field set: channel, duration, views, upload date. That tells an agent what it gets back without a schema. It does not name a sibling to contrast with (e.g. youtube_channel_videos for channel-scoped listing), so it stops short of a 5.

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 keyword-search framing implies the use case, and the pagination sentence explains follow-up calls. There is no explicit when-to-use vs when-not guidance, and no routing to alternative tools for channel- or playlist-scoped retrieval.

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.