Skip to main content
Glama

Groundsocial

Trending YouTube videos

youtube_videos_trending
Read-onlyIdempotent

The videos on YouTube’s trending shelves for music, sports, news or gaming.

YouTube retired its Trending page in 2025; what remains for a visitor are the topic pages’ trending shelves. category=music (default: “New & Trending Songs”, “Artist On The Rise”), sports (“Trending”), news (top stories) or gaming. Rows carry rounded views and estimated dates; region localises.

Cost: 2 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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_videos_trending"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoISO 3166-1 alpha-2 country: the results a visitor there sees.
categoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description goes further with a concrete cost model (2 credits per call, auto-refunded on failure), a public-data scope note, and the presence of cost_credits and credits_remaining in results. It also warns that view counts are rounded and dates estimated, which is real behavioral signal — though it omits result-count limits and pagination.

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?

The purpose is front-loaded in the first sentence, followed by necessary context and then cost. The historical note about the retired Trending page is slightly discursive but earns its place by explaining the data model; otherwise there is little waste.

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 correctly covers what comes back (shelf rows, rounded views, estimated dates, cost_credits, credits_remaining) and covers both optional parameters. It stops short of stating how many results to expect, so an agent cannot plan around volume.

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 50% and only region carries an inline description, but the prose compensates for category by explaining what each enum value actually retrieves ("New & Trending Songs", "Artist On The Rise", "Trending", top stories) and notes that region localises the result set. That is meaning well beyond the bare enum list.

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 states a specific verb and resource — the videos sitting on YouTube's topic-page trending shelves — and enumerates the four shelves (music, sports, news, gaming). It does not name or distinguish itself from the obvious sibling youtube_shorts_trending, so an agent must infer the video-vs-short split from the name alone.

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?

Usage is implied rather than prescribed: choosing a category selects which shelf's videos come back, and the note about the 2025 Trending page retirement explains why the data looks the way it does. There is no explicit when-to-use / when-not statement and no pointer to an alternative tool for adjacent needs such as shorts or search.

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.