Skip to main content
Glama
YouTubeMCP
by imrees

List video categories

list_categories
Read-onlyIdempotent

Fetch YouTube video categories for a region and language, then identify assignable category IDs for video uploads and metadata updates.

Instructions

List YouTube video categories for a region (default from YOUTUBE_MCP_REGION, 'US'). Use category IDs with assignable=true in upload_video and update_metadata. The default upload category is set by YOUTUBE_MCP_DEFAULT_CATEGORY (22, People & Blogs, if unset).

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": "list_categories"
  }
}

Input Schema

NameRequiredDescriptionDefault
hlNoLanguage for category titles, e.g. en_US, hi.en_US
region_codeNoISO 3166-1 alpha-2 region, e.g. IN, US.
assignable_onlyNoOnly categories that videos can use.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds non-obvious operational context not present in the schema: the region falls back to YOUTUBE_MCP_REGION ('US') even though the schema shows a null default, and the effective default upload category comes from YOUTUBE_MCP_DEFAULT_CATEGORY (22, People & Blogs). Return format is left to the output schema, which exists.

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?

Three short sentences, front-loaded with the action and scope, then the downstream use, then the default-category fact. No restatement of the title and no filler; each sentence carries distinct information.

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

Completeness5/5

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

For a simple read-only lookup with a full output schema, four annotations, and 100% schema coverage, the description supplies the only missing pieces: environment-var defaults and how the returned IDs are consumed by upload_video and update_metadata. Nothing needed to call it correctly appears to be absent.

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 100%, so baseline would be 3, but the description adds real meaning the schema lacks: it explains that region_code's effective default is the YOUTUBE_MCP_REGION env var ('US') rather than the null shown in the schema, and it ties 'assignable=true' categories to the assignable_only filter. Only 'hl' is left to the schema's own description.

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?

States a specific verb and resource ('List YouTube video categories') plus scope ('for a region'), and names the consuming tools (upload_video, update_metadata) so the agent understands this is the lookup source for category IDs. No sibling tool in the list offers category enumeration, so the role is unambiguous.

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?

Gives downstream context for when the result matters: use category IDs with assignable=true in upload_video and update_metadata, implying this is a pre-upload lookup step. It does not spell out an explicit when-not or name an alternative, but no sibling performs this function, so the practical guidance is clear.

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