Skip to main content
Glama
YouTubeMCP
by imrees

Get top videos

get_top_videos
Read-onlyIdempotent

Retrieve channel videos for a date range, ranked by a chosen metric such as views, watch time, subscribers gained, likes, comments, or shares; limit to 200 results.

Instructions

The channel's top videos for a date range, ranked by a metric (max 200). Optional feature.

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

Input Schema

NameRequiredDescriptionDefault
presetNo'last_7_days', 'last_28_days' (default) or 'last_90_days'. Ignored if dates are given.last_28_days
sort_byNoviews (default), estimatedMinutesWatched, subscribersGained, likes, comments or shares.views
end_dateNoCustom end date YYYY-MM-DD (Pacific Time).
start_dateNoCustom start date YYYY-MM-DD (Pacific Time).
max_resultsNoNumber of videos (1-200).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds the date-range scoping and the 200-item cap, but says nothing about what 'optional feature' means, whether results are ordered or truncated when more than 200 videos qualify, or how ties are broken; the output schema carries the return shape.

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?

A single front-loaded sentence with the resource first and the ranking condition second; nothing is padded. The trailing 'Optional feature.' is the one phrase that does not earn its place because it conveys no actionable meaning.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema, full parameter coverage and read-only annotations, most of the burden is already met. The remaining gap is that 'top' and 'Optional feature' are never clarified, so an agent cannot tell what qualifies a video as top or under what conditions the tool is unavailable.

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?

Schema description coverage is 100%, so preset, sort_by, start_date, end_date and max_results are already fully documented with formats and defaults. The description merely restates the date-range and ranking concepts and adds no syntax or interaction detail beyond the schema baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (the channel's top videos), a scope (date range) and a ranking dimension (a metric), which is clearly more informative than the title. It stops short of distinguishing itself from analytics siblings such as get_video_analytics, so an agent must infer that this ranks videos rather than reporting one video's metrics.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance and no named alternative; the sibling get_video_analytics is never mentioned as the per-video counterpart. The phrase 'Optional feature' is unexplained and reads as a caveat about availability rather than a usage condition, leaving the agent to guess what it implies.

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