Skip to main content
Glama

get_channel_topics

Extract YouTube channel topic categories using official YouTube Data API. Returns human-readable Wikipedia-based topic names from channel URLs for content analysis and intelligence workflows.

Instructions

Returns the topic categories YouTube has associated with a channel. Returns human-readable topic names extracted from Wikipedia category URLs. Raw Freebase topic IDs are excluded as they have been deprecated since 2017 and are not human-readable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channel_urlYesYouTube channel URL. Supported formats: https://www.youtube.com/@handle or https://www.youtube.com/channel/UCxxxx
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses that it returns human-readable topic names from Wikipedia categories and excludes deprecated Freebase IDs, which adds context about output format and data currency. However, it lacks details on error handling, rate limits, authentication needs, or whether it's a read-only operation. The description adds some behavioral context but is incomplete for a tool with no annotations.

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 description is two sentences that are front-loaded with the core purpose and efficiently explain the output format and exclusions. Every sentence adds value: the first states what it does, and the second clarifies the data source and exclusions. There is no wasted text, making it highly concise and well-structured.

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?

Given the tool has one parameter with full schema coverage and no output schema, the description is mostly complete. It explains the purpose, output format (human-readable topic names from Wikipedia), and data exclusions (Freebase IDs). However, without annotations or an output schema, it could benefit from more details on behavioral aspects like error cases or response structure. It's adequate but has minor gaps in context.

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%, so the schema already fully documents the 'channel_url' parameter with its description and supported formats. The description does not add any additional meaning or semantics beyond what the schema provides, such as examples or edge cases. With high schema coverage, the baseline score of 3 is appropriate as the description doesn't compensate but doesn't need to.

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 clearly states the specific action ('Returns the topic categories YouTube has associated with a channel') and distinguishes it from siblings by specifying it returns human-readable topic names from Wikipedia categories, unlike other tools that analyze thumbnails, compare channels/videos, get overviews, videos, comments, engagement stats, etc. It explicitly excludes deprecated Freebase topic IDs, further differentiating its purpose.

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 by mentioning it returns topic categories for a channel, suggesting it should be used when topic information is needed. However, it does not explicitly state when to use this tool versus alternatives like 'get_channel_overview' or 'compare_channels', nor does it provide exclusions or prerequisites. The guidance is present but not comprehensive.

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

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