Skip to main content
Glama

search

Read-only

Find YouTube videos, channels, or playlists by keyword and refine by type, order, channel, and result count; for known channels, use list tools to reduce quota cost.

Instructions

Search YouTube. Costs 100 quota units per call, so prefer the list tools when you know the channel.

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

Input Schema

NameRequiredDescriptionDefault
typeNovideo
orderNorelevance
queryYes
channelNo
page_tokenNo
max_resultsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description adds the non-obvious operational cost of 100 quota units per call, which is genuinely new information an agent cannot get from structured fields. It omits pagination behavior (the page_token parameter) and any statement about result caps beyond max_results.

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 short sentences, purpose first, then cost, then the routing rule — every clause carries information and nothing is padded. Ideal size for a tool of this complexity given the schema and annotations do the rest.

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 an output schema present, return values need no explanation, and annotations cover the safety profile. But six parameters at 0% schema coverage with no pagination or parameter guidance leaves a real gap for a tool that is both costly and paginated.

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 description coverage is 0% across six parameters, so the description carries the full explanatory burden and does not meet it. It only alludes to 'channel' in passing ("when you know the channel") and says nothing about type, order, max_results, or page_token semantics.

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 states a specific verb and resource ("Search YouTube") plus the quota cost per call, which lets an agent place it as the keyword-based discovery tool rather than a listing tool. It stops short of saying what is being searched (videos, channels, playlists) even though the 'type' enum covers that, and it never names a concrete sibling, only "the list tools".

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?

It gives an explicit when-not: prefer the list tools when the channel is already known, which is a real routing rule that steers agents away from expensive search. It does not name which list tool (list_channel_videos, get_videos, list_playlists) and gives no guidance for when search IS the right choice (e.g., unknown channel, keyword discovery).

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