Skip to main content
Glama

discover_videos

Read-only

Search YouTube, Twitch, channels, or playlists to find videos and clips for editing or learning, filter by duration, and get numbered results with links, views, dates, and thumbnails for import.

Instructions

Find videos to edit or learn from: YouTube search (query; sort relevance, newest or views), a channel's videos/Shorts/streams (channel: @handle or link), a Twitch streamer's top clips or past broadcasts (platform twitch, channel login, tab clips|videos, range), or any playlist/profile link (url). Filters by duration. Returns numbered results with links, views and dates, plus thumbnail pictures (each result's picture number). Import picks with media_import_url.

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

Input Schema

NameRequiredDescriptionDefault
tabNo
urlNo
sortNorelevance
countNo
queryNo
rangeNoTwitch clips time range (default 7d)
channelNo
platformNo
maxDurationNoSeconds
minDurationNoSeconds
cookiesFromBrowserNoUse this browser's sign-in (for private, unlisted, members-only or age-restricted videos)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.2

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, it discloses the return shape (numbered results with links, views, dates, and a `picture` index for thumbnails) and the downstream handoff to media_import_url, which matters with no output schema. It does not mention rate limits, paging beyond `count`, or what happens when a channel/URL yields nothing.

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?

One front-loaded paragraph: purpose first, then modes, then return format, then the import handoff. Dense but every clause carries information; the parenthetical lists are compact rather than redundant.

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 an 11-parameter, zero-required-parameter tool with no output schema, the description adequately explains valid mode combinations and what comes back, which is the main ambiguity. It could be stronger by stating which parameters each mode actually requires, since no parameter is marked required.

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 only 36%, and the description compensates meaningfully by mapping mode-to-parameter combinations (e.g. platform twitch + channel login + tab clips|videos + range) and noting duration filtering, which ties minDuration/maxDuration together. It leaves `count`, the 1-25 cap, and cookiesFromBrowser undocumented in prose, so gaps remain.

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?

Opens with a specific verb+resource ('Find videos') and then enumerates the four distinct discovery modes: YouTube search, channel videos/Shorts/streams, Twitch top clips/past broadcasts, and arbitrary playlist/profile URLs. That enumeration lets an agent tell it apart from siblings like link_info or media_inspect 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?

Gives clear selection context by pairing each source type with the parameter that triggers it (query+sort, channel, platform twitch + tab + range, url), and names the follow-on sibling ('Import picks with media_import_url'). It stops short of explicit exclusions, e.g. when to prefer link_info or media_import instead of this discover step.

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