Skip to main content
Glama

zulip_get_users

Retrieve the complete list of users in a Zulip organization to manage team members, assign permissions, or coordinate communication.

Instructions

Get list of users in the Zulip organization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler case that executes zulipClient.getUsers() and returns the JSON-stringified response.
    case "zulip_get_users": { const response = await zulipClient.getUsers(); return { content: [{ type: "text", text: JSON.stringify(response) }], }; }
  • Tool schema definition including name, description, and empty input schema (no parameters required).
    const getUsersTool: Tool = { name: "zulip_get_users", description: "Get list of users in the Zulip organization", inputSchema: { type: "object", properties: {}, }, };
  • ZulipClient helper method that calls the Zulip JS SDK to retrieve the list of users.
    async getUsers() { try { return await this.client.users.retrieve(); } catch (error) { console.error("Error getting users:", error); throw error; } }
  • index.ts:537-549 (registration)
    Registers the zulip_get_users tool (as getUsersTool) in the ListToolsRequest handler response.
    return { tools: [ listChannelsTool, postMessageTool, sendDirectMessageTool, addReactionTool, getChannelHistoryTool, getTopicsTool, subscribeToChannelTool, getUsersTool, ], }; });

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/Monadical-SAS/zulip-mcp'

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