Skip to main content
Glama

get_users

Retrieve all user accounts from your Backlog project management workspace to manage team access and assign tasks.

Instructions

Returns list of users in the Backlog space

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The getUsersTool function defines the MCP tool 'get_users', including its schema, description, and handler which executes backlog.getUsers() to fetch users from the Backlog space.
    export const getUsersTool = ( backlog: Backlog, { t }: TranslationHelper ): ToolDefinition< ReturnType<typeof getUsersSchema>, (typeof UserSchema)['shape'] > => { return { name: 'get_users', description: t( 'TOOL_GET_USERS_DESCRIPTION', 'Returns list of users in the Backlog space' ), schema: z.object(getUsersSchema(t)), outputSchema: UserSchema, importantFields: ['userId', 'name', 'roleType', 'lang'], handler: async () => backlog.getUsers(), }; };
  • Defines the input schema for the get_users tool, which takes no parameters.
    const getUsersSchema = buildToolSchema((_t) => ({}));
  • Registers the getUsersTool as part of the 'space' toolset group in the allTools function.
    getSpaceTool(backlog, helper), getUsersTool(backlog, helper), getMyselfTool(backlog, helper), ],
  • Specifies the input schema (empty object), output schema as UserSchema, and important fields for the get_users tool.
    schema: z.object(getUsersSchema(t)), outputSchema: UserSchema, importantFields: ['userId', 'name', 'roleType', 'lang'],

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/nulab/backlog-mcp-server'

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