Skip to main content
Glama

Scrape YouTube videos

scrape_youtube_videos
Read-only

Video metadata for YouTube channels and video URLs, no transcripts. mode 'feed' (default) returns a channel's latest uploads, up to 15 per channel: title, date, views, likes, description, thumbnail ($1 per 1,000 videos). mode 'full' returns every watch-page field (duration, comments, subscriber count, shorts flag, channel handle) for up to 100 videos per call ($3 per 1,000). Video URLs always return full rows. Billed per video returned, never for failures. Same result as POST /api/v1/youtube/videos. Needs a StartupHub.ai API key with credit (pay as you go).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "scrape_youtube_videos"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo'feed' (latest uploads, cheap) or 'full' (all fields, deeper history).
limitNoVideos per channel: 1-15 in feed mode, 1-100 in full mode.
videosNoUp to 100 YouTube video URLs or 11-character ids.
channelsNoUp to 10 channels: an @handle, a youtube.com channel URL, or a UC channel id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description still adds substantial non-annotation context: per-video billing ($1/1,000 feed, $3/1,000 full), the fact that failures are never billed, per-call caps (15 feed / 100 full), and the requirement for a StartupHub.ai API key with credit — all of which materially change how an agent should invoke it. That is real added value beyond the annotations, though the return format itself is only partially sketched.

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?

It is front-loaded with purpose and then walks mode, URL behavior, billing, endpoint parity, and auth in a logical order; nearly every clause carries distinct information. The pricing parentheses break the flow and the whole thing is a single dense paragraph that would read better as short clauses, but there is little outright padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the burden of describing returns and does so by listing the field sets for both modes. Combined with billing semantics, caps, auth prerequisites, and REST-endpoint parity, an agent has everything needed to decide whether to call it and what it will cost.

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 the baseline is 3, but the description genuinely adds meaning: it establishes 'feed' as the default mode, explains that the mode determines both field richness and the applicable limit ceiling, and states a cross-parameter rule (video URLs force full rows regardless of mode) that the schema cannot express. It stops short of clarifying what happens when both 'videos' and 'channels' are supplied or when neither is.

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 opening clause names the exact resource (video metadata for YouTube channels and video URLs) and immediately draws a boundary the siblings make necessary: "no transcripts", which separates it from get_youtube_transcript and get_youtube_clip. It then enumerates the returned fields per mode, so an agent knows precisely what it gets without opening the schema.

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 clear selection logic between the two modes ('feed' default = latest uploads, cheap; 'full' = every watch-page field, deeper history) and between input types ('Video URLs always return full rows'). What it lacks is an explicit routing statement naming alternatives, e.g. 'for transcripts use get_youtube_transcript' — the exclusion is implied rather than directed.

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