Skip to main content
Glama

create_user

Create and manage Zoom users by specifying actions like create, autoCreate, custCreate, or ssoCreate. Input user details such as email, type, first name, last name, and password to streamline user setup and administration.

Input Schema

NameRequiredDescriptionDefault
actionYesAction to create user
user_infoYesUser information

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "action": { "description": "Action to create user", "enum": [ "create", "autoCreate", "custCreate", "ssoCreate" ], "type": "string" }, "user_info": { "additionalProperties": false, "description": "User information", "properties": { "email": { "description": "User email address", "format": "email", "type": "string" }, "first_name": { "description": "User's first name", "type": "string" }, "last_name": { "description": "User's last name", "type": "string" }, "password": { "description": "User password", "type": "string" }, "type": { "description": "User type (1: Basic, 2: Licensed, 3: On-prem)", "maximum": 99, "minimum": 1, "type": "number" } }, "required": [ "email", "type" ], "type": "object" } }, "required": [ "action", "user_info" ], "type": "object" }

Implementation Reference

  • The handler function that executes the create_user tool logic by posting user creation data to the Zoom API /users endpoint.
    handler: async ({ action, user_info }) => { try { const response = await zoomApi.post('/users', { action, user_info }); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
  • Zod schema defining the input parameters for the create_user tool: action enum and user_info object with email, type, names, and optional password.
    schema: { action: z.enum(["create", "autoCreate", "custCreate", "ssoCreate"]).describe("Action to create user"), user_info: z.object({ email: z.string().email().describe("User email address"), type: z.number().min(1).max(99).describe("User type (1: Basic, 2: Licensed, 3: On-prem)"), first_name: z.string().optional().describe("User's first name"), last_name: z.string().optional().describe("User's last name"), password: z.string().optional().describe("User password") }).describe("User information") },
  • The complete definition of the create_user tool object within the usersTools array, including name, description, schema, and handler, which is exported for registration.
    { name: "create_user", description: "Create a new user on the account", schema: { action: z.enum(["create", "autoCreate", "custCreate", "ssoCreate"]).describe("Action to create user"), user_info: z.object({ email: z.string().email().describe("User email address"), type: z.number().min(1).max(99).describe("User type (1: Basic, 2: Licensed, 3: On-prem)"), first_name: z.string().optional().describe("User's first name"), last_name: z.string().optional().describe("User's last name"), password: z.string().optional().describe("User password") }).describe("User information") }, handler: async ({ action, user_info }) => { try { const response = await zoomApi.post('/users', { action, user_info }); return handleApiResponse(response); } catch (error) { return handleApiError(error); } } },
  • src/server.js:47-47 (registration)
    Registers the usersTools array (containing create_user) by calling registerTools, which invokes server.tool for each tool.
    registerTools(usersTools);

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