Skip to main content
Glama

list_channels

Retrieve Zoom channel details with pagination support using the Zoom API. Specify page size and token to manage large datasets efficiently.

Input Schema

NameRequiredDescriptionDefault
next_page_tokenNoNext page token
page_sizeNoNumber of records returned

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "next_page_token": { "description": "Next page token", "type": "string" }, "page_size": { "description": "Number of records returned", "maximum": 300, "minimum": 1, "type": "number" } }, "type": "object" }

Implementation Reference

  • Handler function that fetches the list of channels from the Zoom API endpoint '/chat/users/me/channels', supports pagination with page_size and next_page_token, and handles API response and errors.
    handler: async ({ page_size, next_page_token }) => { try { const params = {}; if (page_size) params.page_size = page_size; if (next_page_token) params.next_page_token = next_page_token; const response = await zoomApi.get('/chat/users/me/channels', { params }); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
  • Zod schema defining optional input parameters for pagination: page_size (number between 1 and 300) and next_page_token (string).
    schema: { page_size: z.number().min(1).max(300).optional().describe("Number of records returned"), next_page_token: z.string().optional().describe("Next page token") },
  • src/server.js:50-50 (registration)
    Registers the chatTools array containing the 'list_channels' tool definition with the MCP server.
    registerTools(chatTools);

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/mattcoatsworth/zoom-mcp-server'

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