Skip to main content
Glama

youtube_get_categories

List YouTube video categories for a given country code. Use to filter trending videos or assign a category when uploading.

Instructions

List available YouTube video categories for a region.

Useful for filtering trending videos or setting video category on upload. Costs 1 quota unit.

Args: region_code: ISO 3166-1 alpha-2 country code (e.g., "US")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
region_codeNoUS
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It adds the valuable detail 'Costs 1 quota unit' and the region-based behavior, but does not mention authentication requirements or what the response looks like. For a simple list operation, this is acceptable but not exhaustive.

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 concise and well-structured: a one-line purpose, a usage note, quota cost, and an args section. Every sentence adds value, and the format is scannable.

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?

For a simple tool with one parameter and no output schema, the description covers purpose, usage, quota, and parameter details. It does not specify the return structure or auth prerequisites, but the core information needed to invoke the tool correctly is present.

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 description coverage is 0%, but the description compensates by explaining the only parameter, region_code, with its format ('ISO 3166-1 alpha-2 country code') and an example ('US'). This fully clarifies the parameter beyond the raw schema.

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 'List available YouTube video categories for a region' with a specific verb, resource, and scope. It is easily distinguished from sibling tools like youtube_list_videos or youtube_list_playlists, which target different resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear use cases: 'Useful for filtering trending videos or setting video category on upload.' This gives the agent context on when to select this tool, though it does not explicitly mention exclusions or alternatives.

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/pauling-ai/youtube-mcp-server'

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