Skip to main content
Glama
moonie0201
by moonie0201

youtube_thumbnails

Resolve YouTube video URLs or IDs to their actual thumbnail image URLs, including per-size availability, byte size, and etag from a HEAD probe. Optionally save selected thumbnail files to Apify key-value storage.

Instructions

Resolve YouTube video URLs or bare 11-character video IDs to their thumbnail image URLs, with per-size availability, byte size and etag from a HEAD probe — never guessed. sizes takes 'best', 'all', 'oar' or explicit names (maxresdefault, sddefault, hqdefault, mqdefault, default). save_images stores the picked sizes in the run's key-value store on your own account; turn it off for URLs and metadata only, at the same price. Billed to your own Apify account at $0.005 per delivered video; max_videos is the hard spend cap (100 videos = $0.50), and that ceiling is also sent to Apify as the run's maximum total charge. not_found, invalid_input, playlist_not_supported, duplicate, removed and budget_exhausted rows are free. Nominative reference to YouTube only; not affiliated with or endorsed by YouTube or Google.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizesNo
videosYes
max_videosYes
save_imagesNo
image_formatNojpg
include_metadataNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations provided, the description carries the full burden, and it excels: it discloses that URLs are derived from a HEAD probe ('never guessed'), that save_images writes to the run's key-value store on the user's account, exact billing per video, the max_videos hard spend cap sent to Apify, and free row types. This is unusually transparent about side effects, costs, and edge cases.

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?

The description is dense but not bloated; every sentence earns its place. The core operation is front-loaded, followed by parameter guidance, pricing/spend cap, free-row behavior, and a legal disclaimer. It is long only because it packs genuinely useful operational and financial details with no filler.

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 6-paramter tool with no annotations, the description is remarkably complete: it covers input format, output fields, storage side effect, billing, spend cap, free rows, unsupported playlists, and legal status. The only real gap is the lack of explicit guidance on image_format and include_metadata, though the output schema and self-explanatory names partly fill that gap.

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 description coverage is 0%, so the description must compensate. It explains the main parameters well: videos (URLs or IDs), sizes (with allowed values), save_images (storage behavior), and max_videos (cost cap). However, image_format and include_metadata are not described, leaving two parameters to rely on schema enum/name inference. Still, the description adds substantial meaning for the most behaviorally significant parameters.

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 starts with a specific verb and resource: 'Resolve YouTube video URLs or bare 11-character video IDs to their thumbnail image URLs.' It clearly distinguishes this tool from the unrelated siblings (extract_pdf, sports_scores, tennis_scores, list_supported_utilities) and specifies the exact output artifacts. The scope and function are immediately identifiable.

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 gives clear usage context: when you need thumbnail URLs/metadata, how to choose sizes, and when to toggle save_images off for URL/metadata-only results. It does not explicitly name an alternative tool or state 'when not to use this tool,' but the context is strong enough for an agent to select it appropriately among the listed siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/moonie0201/apify-utils-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server