Skip to main content
Glama

get_priorities

Retrieve a list of priorities for effective task organization using the Backlog MCP Server, enabling streamlined project and issue management.

Instructions

Returns list of priorities

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The factory function that creates and configures the 'get_priorities' tool, including its handler logic which fetches priorities using the Backlog client.
    export const getPrioritiesTool = ( backlog: Backlog, { t }: TranslationHelper ): ToolDefinition< ReturnType<typeof getPrioritiesSchema>, (typeof PrioritySchema)['shape'] > => { return { name: 'get_priorities', description: t( 'TOOL_GET_PRIORITIES_DESCRIPTION', 'Returns list of priorities' ), schema: z.object(getPrioritiesSchema(t)), outputSchema: PrioritySchema, handler: async () => backlog.getPriorities(), }; };
  • Zod schema defining the structure of priority objects returned by the get_priorities tool.
    export const PrioritySchema = z.object({ id: z.number(), name: z.string(), });
  • The getPrioritiesTool is instantiated with backlog and translation helper and registered within the 'issue' toolset group.
    getPrioritiesTool(backlog, helper),
  • Empty input schema for the get_priorities tool (no parameters required).
    const getPrioritiesSchema = buildToolSchema((_t) => ({}));
  • Import of the getPrioritiesTool factory function.
    import { getPrioritiesTool } from './getPriorities.js';

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