Skip to main content
Glama

Top YouTube videos

youtube_top_videos
Read-only

The channel's best videos in a period, by views, watch time or revenue, with titles, average view duration, average percentage watched and subscribers gained (and estimated revenue and RPM when ranked by revenue - monetized channels only). Default: last 28 days, by views.

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

Input Schema

NameRequiredDescriptionDefault
byNo
limitNoDefault 10.
channelNoChannel name or id. Only needed when more than one YouTube channel is connected.
endDateNoYYYY-MM-DD. Default: 3 days ago (YouTube Analytics lags 2-3 days).
currencyNoCurrency for revenue, ISO code like 'EUR'. Default USD (YouTube's reporting currency).
startDateNoYYYY-MM-DD. Default: 28 days before endDate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish read-only, non-destructive, open-world behavior, yet the description still adds real context: YouTube Analytics data lags 2-3 days, revenue reporting is limited to monetized channels, and currency defaults to YouTube's reporting currency. It does not cover output size or truncation behavior beyond the limit cap.

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 dense sentence that front-loads the core capability, then the returned fields, then the defaults. It is efficient and readable, though the parenthetical about revenue is slightly nested and could be split for scannability.

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?

With no output schema, the description usefully enumerates the returned metrics (titles, average view duration, average percentage watched, subscribers gained, revenue/RPM), which is exactly the burden it must carry. Defaults for period, metric and limit are also stated, leaving only ranking ties and response size unaddressed.

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 already 83%, so the baseline is 3; the description earns above that by explaining what the 'by' enum actually changes (which metrics and revenue/RPM fields appear) and by restating the period and default behavior in one coherent sentence. It adds little on channel disambiguation or currency override semantics beyond the schema.

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?

Names a specific resource and scope: ranked top videos for a channel over a period, with named ranking metrics (views, watch time, revenue) and listed return fields. It is clearly distinct from a plain listing tool, but it never names a sibling such as youtube_list_videos or youtube_performance_report to sharpen the boundary.

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?

Gives operative defaults (last 28 days, ranked by views) and a constraint (revenue fields only for monetized channels), which implies when the tool fits. It stops short of saying when to prefer it over sibling analytics tools or when another tool is the better choice.

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