Skip to main content
Glama
YouTube Model Context Protocol (MCP) Server

YouTube Model Context Protocol (MCP) Server

by nilhn9660

youtube_get_channel_details

Retrieves YouTube channel details, including subscriber count, total videos, total views, and custom handle, by channel ID, handle, or for the authenticated user's channel.

Instructions

Retrieve channel info, subscriber count, total video count, total views, and custom handle.

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

Input Schema

NameRequiredDescriptionDefault
mineNo
channel_idNo
for_handleNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It implies a read operation via 'Retrieve,' but never states that 'mine' requires authenticated user context, that the call fails or misbehaves with zero selectors, or anything about YouTube API quota cost — all material for a read tool with no annotation cover.

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 that enumerates the returned fields with no filler. It is efficient, though it spends its words on return values rather than the parameters that actually need explanation.

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

Completeness2/5

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

The existing output schema covers return values, so omitting them is fine, but the definition leaves a three-selector, zero-required-parameter tool unexplained. For a tool where the caller must decide between 'mine', 'channel_id', and 'for_handle' with no annotations and no schema descriptions, this is under-specified.

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

Parameters2/5

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

Schema description coverage is 0% and the description never mentions 'mine', 'channel_id', or 'for_handle' by name or semantics. The only connection is the phrase 'custom handle,' which loosely hints at for_handle but leaves the mutual exclusivity of the three selectors entirely undocumented.

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 verb ('Retrieve') and resource ('channel info') plus the exact fields returned (subscriber count, video count, total views, handle), which clearly separates it from youtube_get_video_details or the analytics siblings. It stops short of explicitly naming an alternative, so it is clear but not maximally differentiated.

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 when-to-use or when-not-to-use guidance, and no mention of the alternatives (get_video_details, get_analytics_report, channel sections) that an agent might confuse with this call. The description also omits any guidance on choosing between the three selector parameters.

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

Deploy Server

Other Tools