Skip to main content
Glama

update_phone_user

Update a user’s phone settings in Zoom by specifying user ID, extension number, site ID, and policy ID through the Zoom API MCP Server.

Input Schema

NameRequiredDescriptionDefault
extension_numberNoExtension number
policy_idNoPolicy ID
site_idNoSite ID
user_idYesThe user ID or email address

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "extension_number": { "description": "Extension number", "type": "string" }, "policy_id": { "description": "Policy ID", "type": "string" }, "site_id": { "description": "Site ID", "type": "string" }, "user_id": { "description": "The user ID or email address", "type": "string" } }, "required": [ "user_id" ], "type": "object" }

Implementation Reference

  • The main handler function for the 'update_phone_user' tool. It sends a PATCH request to the Zoom API endpoint `/phone/users/${user_id}` with the destructured user data (extension_number, site_id, policy_id), handles the response with handleApiResponse, and catches errors with handleApiError.
    handler: async ({ user_id, ...userData }) => { try { const response = await zoomApi.patch(`/phone/users/${user_id}`, userData); return handleApiResponse(response); } catch (error) { return handleApiError(error); } }
  • Zod schema defining the input parameters for the update_phone_user tool, including required user_id and optional fields for updating phone user settings.
    schema: { user_id: z.string().describe("The user ID or email address"), extension_number: z.string().optional().describe("Extension number"), site_id: z.string().optional().describe("Site ID"), policy_id: z.string().optional().describe("Policy ID") },
  • src/server.js:51-51 (registration)
    Registers the phoneTools array (which contains the update_phone_user tool definition) with the MCP server using the registerTools utility.
    registerTools(phoneTools);

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