Skip to main content
Glama

zulip_get_users

Retrieve a list of users in your Zulip organization to manage team members and facilitate communication within the workspace.

Instructions

Get list of users in the Zulip organization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler case for 'zulip_get_users' tool: calls ZulipClient.getUsers() and serializes the response as JSON text content.
    case "zulip_get_users": { const response = await zulipClient.getUsers(); return { content: [{ type: "text", text: JSON.stringify(response) }], }; }
  • ZulipClient helper method implementing the core logic to retrieve all users via the Zulip JS client API.
    async getUsers() { try { return await this.client.users.retrieve(); } catch (error) { console.error("Error getting users:", error); throw error; } }
  • Tool schema: defines 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: {}, }, };
  • index.ts:546-546 (registration)
    Registration of the tool in the ListTools response array.
    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