Skip to main content
Glama
Dhananjayrbiraris

youtube-studio-mcp

get_top_performing_videos

Identify and rank top-performing videos by views, watch time, subscribers gained, or likes for a specified period. Returns a ranked list with key performance metrics to guide content decisions.

Instructions

Identifies and ranks your top-performing videos within a time period.

Args: time_period: Preset time period ('7d', '28d', '90d', '365d', 'last_month'). Defaults to '28d'. start_date: Optional explicit start date (YYYY-MM-DD). end_date: Optional explicit end date (YYYY-MM-DD). order_by: Metric to rank by: 'views', 'estimatedMinutesWatched', 'subscribersGained', or 'likes'. max_results: Number of top videos to return (default: 10).

Returns: Ranked list of videos with title, duration, period views, watch time, subscribers gained, and lifetime views.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateNo
order_byNoviews
start_dateNo
max_resultsNo
time_periodNo28d

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose ranking behavior, metric choices, and the returned fields. However, it omits edge-case behavior like how time_period interacts with explicit dates, data freshness, or any rate-limit/error behavior.

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 purpose is front-loaded in a single clear sentence, followed by a structured Args/Returns list. Every line is informative and there is no filler or repetition.

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 read-only ranking tool with moderate complexity, the description covers all parameters and return fields. It is slightly incomplete only in not explaining when to choose this tool instead of sibling analytics tools and in not covering date-conflict behavior.

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

Parameters5/5

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

Schema description coverage is 0%, but the description fully documents every parameter: time_period presets and default, start_date/end_date format, order_by allowed values, and max_results default. This adds rich meaning beyond the bare schema.

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 states a specific verb ('Identifies and ranks'), a specific resource ('your top-performing videos'), and a temporal scope ('within a time period'). This clearly distinguishes it from sibling tools like list_channel_videos or get_channel_overview.

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

Usage Guidelines3/5

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

The description implies usage: use this when you need a ranked list of top videos by a chosen metric. However, it gives no explicit guidance on when to prefer this tool over siblings, nor does it mention any exclusions or alternative tool names.

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/Dhananjayrbiraris/youtube-mcp'

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