Skip to main content
Glama

HubVibe: Pay-per-Call Agent Tools: Web Search, Email Verify, KYC Screening, Stocks, Crypto, News

YouTube search and video statistics, live

hubvibe_video_youtube
Read-onlyIdempotent

YouTube search and video stats, live: search YouTube or look up videos by id, each with title, channel, upload time, duration, views, likes, comments, live flag and thumbnail from the YouTube Data API at call time. Sort by relevance, date, views or rating; filter by upload date, country and language. Input: query or video_ids; optional max_results, order, published_after, region_code. $0.05 per call. Returns: query, video_ids, total_results, items[{video_id, url, title, description, channel_id, channel_title, published_at, duration_seconds, view_count, like_count, comment_count, live, thumbnail_url}], item_count, source, as_of, checked_at.

Input Schema

NameRequiredDescriptionDefault
orderNoWith query: YouTube's sort, default relevance.
queryNoWords to search YouTube for, in any language. Use this OR `video_ids`.
languageNoWith query: ISO 639 language code of the results to prefer, e.g. en, ja.
video_idsNoYouTube video ids (11 characters) to look up directly; skips the search.
max_resultsNoWith query: videos to return, default 10.
region_codeNoWith query: ISO 3166-1 alpha-2 country whose results to prefer, e.g. US, JP.
published_afterNoWith query: only videos uploaded at or after this RFC 3339 time, e.g. 2026-01-01T00:00:00Z.

Output Schema

NameRequiredDescriptionDefault
resultYes
statusYes
workerYes
price_usdYes
provenanceYes
receipt_idYes
attributionNo
receipt_urlYes
billing_warningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / minProperties
      Added value: +1
    • removedInput schema / oneOf
      Removed value: -[
      -  {
      -    "required": [
      -      "query"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "video_ids"
      -    ]
      -  }
      -]
  2. Changed23 schema fields changed
    • removedOutput schema / description
      Removed value: -"The 200 body of every paid /work call. `result` is the worker's own output (its schema is per route); everything else is the same on every /work route. A receipt for the job is at `receipt_url`."
    • removedOutput schema / properties / attribution / description
      Removed value: -"Present only when the result's text was machine-translated: the credit to show with it."
    • removedOutput schema / properties / attribution / items / description
      Removed value: -"A credit."
    • removedOutput schema / properties / attribution / items / properties
      Removed value: -{
      -  "text": {
      -    "description": "Credit.",
      -    "examples": [
      -      "Translated by Google"
      -    ],
      -    "type": "string"
      -  },
      -  "url": {
      -    "description": "Link.",
      -    "examples": [
      -      "https://translate.google.com"
      -    ],
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / attribution / items / required
      Removed value: -[
      -  "text",
      -  "url"
      -]
    • removedOutput schema / properties / attribution / items / type
      Removed value: -"object"
    • removedOutput schema / properties / billing_warning / description
      Removed value: -"Present only when the charge was recorded with a caveat."
    • removedOutput schema / properties / billing_warning / examples
      Removed value: -[
      -  "settlement pending"
      -]
    • removedOutput schema / properties / price_usd / description
      Removed value: -"What this call cost, in USD."
    • removedOutput schema / properties / price_usd / examples
      Removed value: -[
      -  0.02
      -]
    • removedOutput schema / properties / provenance / description
      Removed value: -"How the result was produced: which providers ran and how long each took."
    • removedOutput schema / properties / provenance / properties
      Removed value: -{
      -  "attempts": {
      -    "description": "Provider attempts made, including retries and failovers.",
      -    "examples": [
      -      1
      -    ],
      -    "type": "integer"
      -  },
      -  "elapsed_ms": {
      -    "description": "Wall-clock milliseconds for the whole job.",
      -    "examples": [
      -      340
      -    ],
      -    "type": "integer"
      -  },
      -  "providers_used": {
      -    "description": "Providers that served the job.",
      -    "examples": [
      -      [
      -        "coinbase-advanced-trade-public"
      -      ]
      -    ],
      -    "items": {
      -      "description": "Provider name.",
      -      "examples": [
      -        "coinbase-advanced-trade-public"
      -      ],
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "steps": {
      -    "description": "Every step the job ran, in order.",
      -    "items": {
      -      "description": "One step of the job.",
      -      "properties": {
      -        "ms": {
      -          "description": "Milliseconds the step took.",
      -          "examples": [
      -            312
      -          ],
      -          "type": "integer"
      -        },
      -        "ok": {
      -          "description": "Whether the step succeeded.",
      -          "examples": [
      -            true
      -          ],
      -          "type": "boolean"
      -        },
      -        "provider": {
      -          "description": "Provider that served the step.",
      -          "examples": [
      -            "coinbase-advanced-trade-public"
      -          ],
      -          "type": "string"
      -        },
      -        "reason": {
      -          "description": "Failure reason, on a failed step.",
      -          "examples": [
      -            "provider_timeout"
      -          ],
      -          "type": "string"
      -        },
      -        "step": {
      -          "description": "Step name inside the worker.",
      -          "examples": [
      -            "quote"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "step",
      -        "ok",
      -        "ms"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  }
      -}
    • removedOutput schema / properties / provenance / required
      Removed value: -[
      -  "steps",
      -  "providers_used",
      -  "attempts",
      -  "elapsed_ms"
      -]
    • removedOutput schema / properties / receipt_id / description
      Removed value: -"Receipt id for this job."
    • removedOutput schema / properties / receipt_id / examples
      Removed value: -[
      -  "rcpt_9f1c2b3a4d5e6f70"
      -]
    • removedOutput schema / properties / receipt_url / description
      Removed value: -"Where to fetch the machine-readable receipt (free, no payment)."
    • removedOutput schema / properties / receipt_url / examples
      Removed value: -[
      -  "/work/receipts/rcpt_9f1c2b3a4d5e6f70"
      -]
    • removedOutput schema / properties / result / properties
      Removed value: -{
      -  "as_of": {
      -    "description": "The same instant as checked_at: YouTube does not stamp its statistics.",
      -    "examples": [
      -      "2026-09-27T12:00:00Z"
      -    ],
      -    "type": "string"
      -  },
      -  "checked_at": {
      -    "description": "When this node read the source (UTC). Nothing here is cached.",
      -    "examples": [
      -      "2026-09-26T18:00:00Z"
      -    ],
      -    "format": "date-time",
      -    "type": "string"
      -  },
      -  "item_count": {
      -    "description": "Videos returned.",
      -    "examples": [
      -      3
      -    ],
      -    "type": "integer"
      -  },
      -  "items": {
      -    "description": "Videos, in YouTube's search order (or the order of the ids asked); ids YouTube does not know are absent.",
      -    "items": {
      -      "description": "One video, with its live statistics.",
      -      "properties": {
      -        "channel_id": {
      -          "description": "Uploading channel id.",
      -          "examples": [
      -            "UCoBPd2jgYzQ5m8k3f1nR9wA"
      -          ],
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "channel_title": {
      -          "description": "Uploading channel name.",
      -          "examples": [
      -            "Coinbase Developer Platform"
      -          ],
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "comment_count": {
      -          "description": "Comments; null when hidden or comments are off.",
      -          "examples": [
      -            112
      -          ],
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "description": {
      -          "description": "Description, cut at 500 characters; null when empty.",
      -          "examples": [
      -            "A short intro to open source licences."
      -          ],
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "duration_seconds": {
      -          "description": "Length in whole seconds from contentDetails.duration; 0 for a live or upcoming stream; null when YouTube did not return the video's details.",
      -          "examples": [
      -            754
      -          ],
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "like_count": {
      -          "description": "Likes; null when the uploader hides them.",
      -          "examples": [
      -            2225
      -          ],
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "live": {
      -          "description": "Live or upcoming broadcast (liveBroadcastContent is not none); null when not stated.",
      -          "examples": [
      -            false
      -          ],
      -          "type": [
      -            "boolean",
      -            "null"
      -          ]
      -        },
      -        "published_at": {
      -          "description": "Upload time as YouTube states it (ISO 8601).",
      -          "examples": [
      -            "2026-05-14T16:00:12Z"
      -          ],
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "thumbnail_url": {
      -          "description": "Thumbnail URL, the high size when YouTube offers it.",
      -          "examples": [
      -            "https://i.ytimg.com/vi/IJhS_fv5Ktk/hqdefault.jpg"
      -          ],
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "title": {
      -          "description": "Title.",
      -          "examples": [
      -            "Open source licensing explained"
      -          ],
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "url": {
      -          "description": "Watch URL.",
      -          "examples": [
      -            "https://www.youtube.com/watch?v=IJhS_fv5Ktk"
      -          ],
      -          "type": "string"
      -        },
      -        "video_id": {
      -          "description": "YouTube video id.",
      -          "examples": [
      -            "IJhS_fv5Ktk"
      -          ],
      -          "type": "string"
      -        },
      -        "view_count": {
      -          "description": "Views; null when YouTube does not send it.",
      -          "examples": [
      -            52004
      -          ],
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "video_id",
      -        "url",
      -        "title",
      -        "description",
      -        "channel_id",
      -        "channel_title",
      -        "published_at",
      -        "duration_seconds",
      -        "view_count",
      -        "like_count",
      -        "comment_count",
      -        "live",
      -        "thumbnail_url"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "query": {
      -    "description": "The query as given; null when video_ids were looked up.",
      -    "examples": [
      -      "open source licensing"
      -    ],
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "source": {
      -    "const": "youtube-data-api",
      -    "description": "Data source.",
      -    "type": "string"
      -  },
      -  "total_results": {
      -    "description": "YouTube's estimated total matches for the query (pageInfo.totalResults); null when not sent.",
      -    "examples": [
      -      19113
      -    ],
      -    "type": [
      -      "integer",
      -      "null"
      -    ]
      -  },
      -  "video_ids": {
      -    "description": "The ids asked for, in order; null when a query was searched.",
      -    "examples": [
      -      [
      -        "IJhS_fv5Ktk"
      -      ]
      -    ],
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": [
      -      "array",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / result / required
      Removed value: -[
      -  "query",
      -  "video_ids",
      -  "total_results",
      -  "items",
      -  "item_count",
      -  "source",
      -  "as_of",
      -  "checked_at"
      -]
    • removedOutput schema / properties / status / description
      Removed value: -"Present only on a delivered result."
    • removedOutput schema / properties / worker / description
      Removed value: -"Catalog name of the worker that ran."
    • removedOutput schema / properties / worker / examples
      Removed value: -[
      -  "market.quote"
      -]
    • removedOutput schema / title
      Removed value: -"video.youtube response"
  3. Changed1 schema field changed
    • addedOutput schema / properties / attribution
      Added value: +{
      +  "description": "Present only when the result's text was machine-translated: the credit to show with it.",
      +  "items": {
      +    "description": "A credit.",
      +    "properties": {
      +      "text": {
      +        "description": "Credit.",
      +        "examples": [
      +          "Translated by Google"
      +        ],
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Link.",
      +        "examples": [
      +          "https://translate.google.com"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "text",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), so the description's real contribution is disclosing the $0.05 per-call cost and that data is fetched live from the YouTube Data API at call time. Those are meaningful traits not available from structured fields; only the repeated 'live' wording and lack of rate-limit detail keep it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded and structured into purpose/inputs/returns, but the full 'Returns:' field enumeration duplicates the output schema that already exists, and 'live' is asserted twice. Roughly a third of the text is restating structured data rather than adding value.

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 a rich schema and an output schema, the essential caller information — inputs, sorting/filtering levers, cost, freshness, and the source API — is all present. The gaps are the interaction of query vs. video_ids when both are supplied and any guidance relative to sibling search tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so parameter documentation is already complete; the description nonetheless adds semantic value by spelling out the sort options ('relevance, date, views or rating') and the filter concepts (upload date, country, language) in prose. Minor gap: it omits 'language' from its own input list.

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?

States a concrete verb+resource pair ('search YouTube or look up videos by id') and enumerates the returned fields, so the tool's purpose is unmistakable. It also implicitly separates the two operating modes (search vs. direct ID lookup), which no sibling tool offers.

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 description makes the mode selection explicit: supply 'query' to search, or 'video_ids' to look up directly, plus the available sort and filter levers. It does not, however, say when to prefer this over adjacent tools such as hubvibe_search_web or hubvibe_fetch_raw, nor what happens if both inputs are given.

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.