Skip to main content
Glama

get_project_list

Retrieve project lists from Backlog to view active, archived, or all projects based on user permissions and filtering criteria.

Instructions

Returns list of projects

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
archivedNoFor unspecified parameters, this form returns all projects. For ‘false’ parameters, it returns unarchived projects. For ‘true’ parameters, it returns archived projects.
allNoOnly applies to administrators. If ‘true,’ it returns all projects. If ‘false,’ it returns only projects they have joined.

Implementation Reference

  • Full tool definition including the handler function that executes backlog.getProjects({ archived, all }) to retrieve the project list.
    export const getProjectListTool = ( backlog: Backlog, { t }: TranslationHelper ): ToolDefinition< ReturnType<typeof getProjectListSchema>, (typeof ProjectSchema)['shape'] > => { return { name: 'get_project_list', description: t( 'TOOL_GET_PROJECT_LIST_DESCRIPTION', 'Returns list of projects' ), schema: z.object(getProjectListSchema(t)), outputSchema: ProjectSchema, importantFields: ['id', 'projectKey', 'name'], handler: async ({ archived, all }) => backlog.getProjects({ archived, all }), }; };
  • Input schema definition for the get_project_list tool, defining optional 'archived' and 'all' boolean parameters.
    const getProjectListSchema = buildToolSchema((t) => ({ archived: z .boolean() .optional() .describe( t( 'TOOL_GET_PROJECT_LIST_ARCHIVED', 'For unspecified parameters, this form returns all projects. For ‘false’ parameters, it returns unarchived projects. For ‘true’ parameters, it returns archived projects.' ) ), all: z .boolean() .optional() .describe( t( 'TOOL_GET_PROJECT_LIST_ALL', 'Only applies to administrators. If ‘true,’ it returns all projects. If ‘false,’ it returns only projects they have joined.' ) ), }));
  • Registration of the get_project_list tool by instantiating getProjectListTool and adding it to the 'project' toolset.
    getProjectListTool(backlog, helper),

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