Skip to main content
Glama

VideoDataAPI — YouTube Transcript, Subtitles & Comments MCP. Zero-signup x4

Get Trending YouTube Videos

youtube_trending
Read-onlyIdempotent

Fetch currently trending YouTube videos by 2-letter ISO country code and category.

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

Input Schema

NameRequiredDescriptionDefault
geoNo2-letter ISO 3166-1 country code such as US, GB, DE, or JP (default US).
typeNoTrending feed category (default now).

Output Schema

NameRequiredDescriptionDefault
codeYesStatus code (0 on success).
dataYesRegional trending feed payload.
metaNoGateway execution metadata including request ID, cache tier, and credits charged.
statusYesResponse status string (ok or error).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 and the description need not repeat it. The description adds only the notion that results are 'currently' trending, i.e. time-sensitive and externally sourced. It says nothing about result size, pagination, or whether the feed varies by region beyond the geo parameter.

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 no filler or repetition. It is efficient, though its brevity borders on under-specification rather than optimal conciseness.

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?

The tool is simple (two optional parameters) and has an output schema, so return values need no explanation, and defaults are documented in the schema. However, with zero usage guidance and no behavioral disclosure about the volatile trending feed, an agent still has gaps when deciding between this and a general search tool.

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%, and the schema already documents both the ISO country code with examples and the category enum with the default. The description merely restates those two dimensions at a high level, adding no format or defaulting detail beyond the structured fields. Baseline 3 applies when the schema carries the parameter semantics.

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?

States a specific verb ('Fetch') plus a precisely scoped resource ('currently trending YouTube videos') with the two axes of variation (country code, category). This is enough to distinguish it from siblings like youtube_search or youtube_channel_videos, which are not trending feeds, though no sibling is named explicitly.

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?

The description gives no when-to-use or when-not-to-use guidance and never contrasts itself with youtube_search or youtube_channel_videos, which an agent could plausibly confuse with a trending listing. The word 'trending' implies the use case, but nothing is stated about freshness windows or how results differ from a 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.

Resources