Skip to main content
Glama

listChannelCatalog

Retrieve a YouTube channel's recent video catalog in a compact format for creator analysis, including sorting options and content type filters.

Instructions

List a channel's recent catalog in compact creator-analysis shape.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channelIdOrHandleOrUrlYes
maxResultsNo
sortByNo
includeShortsNo
includeLongFormNo
publishedWithinDaysNo
dryRunNo

Implementation Reference

  • The handler in `mcp-server.ts` that maps the `listChannelCatalog` tool request to the `service.listChannelCatalog` method.
    case "listChannelCatalog":
      return service.listChannelCatalog(
        {
          channelIdOrHandleOrUrl: readString(args, "channelIdOrHandleOrUrl"),
          maxResults: optionalNumber(args, "maxResults"),
          sortBy: optionalEnum(args, "sortBy", ["date_desc", "date_asc", "views_desc"]),
          includeShorts: optionalBoolean(args, "includeShorts"),
          includeLongForm: optionalBoolean(args, "includeLongForm"),
          publishedWithinDays: optionalNumber(args, "publishedWithinDays"),
        },
        { dryRun },
      );
  • The registration block for `listChannelCatalog` in the `tools` list in `mcp-server.ts`.
      name: "listChannelCatalog",
      description: "List a channel's recent catalog in compact creator-analysis shape.",
      inputSchema: {
        type: "object",
        properties: {
          channelIdOrHandleOrUrl: { type: "string" },
          maxResults: { type: "number", minimum: 1, maximum: 100 },
          sortBy: { type: "string", enum: ["date_desc", "date_asc", "views_desc"] },
          includeShorts: { type: "boolean" },
          includeLongForm: { type: "boolean" },
          publishedWithinDays: { type: "number", minimum: 1, maximum: 3650 },
          dryRun: { type: "boolean" },
        },
        required: ["channelIdOrHandleOrUrl"],
        additionalProperties: false,
      },
    },

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/rajanrengasamy/vidlens-mcp'

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