Skip to main content
Glama
Hermoso

Hermoso

Official

Search YouTube

search_youtube

Search YouTube by keyword to find videos ranked by views and get compact metadata for mining hooks, angles, and long-form structure. Use it for content and competitor research.

Instructions

Organic YouTube keyword search (/v1/youtube/search) — videos to mine for hooks/angles/long-form structure. Returns compact JSON {desc (title), author, handle, plays, seconds, postedAt, link, cover} per video, ranked by views. Spends about a credit.

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
limitNomax videos returned (1–25, default 8)
queryYeskeyword to search videos for
regionNo
sortByNo
durationNo
get_costNotrue: return the price only; nothing runs or bills
uploadDateNo
idempotency_keyNochosen once, resent unchanged on retries: the same key never buys twice
expected_creditsNothe get_cost price; refused unbilled if the live price differs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.610
    • addedInput schema / properties / duration
      Added value: +{
      +  "enum": [
      +    "under_3_min",
      +    "between_3_and_20_min",
      +    "over_20_min"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / region
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / sortBy
      Added value: +{
      +  "enum": [
      +    "relevance",
      +    "popular"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / uploadDate
      Added value: +{
      +  "enum": [
      +    "today",
      +    "this_week",
      +    "this_month",
      +    "this_year"
      +  ],
      +  "type": "string"
      +}
  2. Changed3 schema fields changedv0.1.532
    • addedInput schema / properties / expected_credits
      Added value: +{
      +  "description": "the get_cost price; refused unbilled if the live price differs",
      +  "type": "number"
      +}
    • addedInput schema / properties / get_cost
      Added value: +{
      +  "description": "true: return the price only; nothing runs or bills",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "chosen once, resent unchanged on retries: the same key never buys twice",
      +  "type": "string"
      +}
  3. Changed1 schema field changedv0.1.161
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "found": {
      -      "description": "total videos found",
      -      "type": "number"
      -    },
      -    "videos": {
      -      "description": "the compact video objects ({desc, author, handle, plays, link, cover}), ranked by views",
      -      "items": {},
      -      "type": "array"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  4. Addedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, it discloses the compact per-video result fields, ordering, and approximate credit cost, all useful for a billable external search. However, the unqualified claim that results are 'ranked by views' is imprecise alongside the schema's sortBy='relevance' option.

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?

It front-loads the operation and research purpose, then efficiently covers output shape, ordering, and cost. The endpoint and inline field list are dense but functional, with no filler or repetition of the annotations.

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?

For a nine-parameter billable search without an output schema, the combination of result fields, cost disclosure, and a detailed input schema is nearly sufficient for correct invocation. The remaining gap is the ambiguous ordering behavior, since the description does not reconcile view ranking with the relevance and popular sort choices.

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?

With 56% schema coverage, the schema already explains the query, limit, cost preview, idempotency, and price-check controls, while the enums make most filters understandable. The description reinforces keyword search but adds no meaningful guidance for region or for combining sorting and filtering options.

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?

The description identifies a specific operation and resource: organic YouTube keyword search returning videos for content research. The YouTube and organic-search scope distinguishes it from posting, other-platform search, and advertising-search siblings.

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?

The phrase 'videos to mine for hooks/angles/long-form structure' gives a concrete when-to-use context. It does not provide exclusions or name an alternative for other research needs, so the guidance is clear but not exhaustive.

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

Deploy Server

Other Tools