Skip to main content
Glama

Backlog MCP Server

getPriorities.ts798 B
import { z } from 'zod'; import { Backlog } from 'backlog-js'; import { buildToolSchema, ToolDefinition } from '../types/tool.js'; import { TranslationHelper } from '../createTranslationHelper.js'; import { PrioritySchema } from '../types/zod/backlogOutputDefinition.js'; const getPrioritiesSchema = buildToolSchema((_t) => ({})); 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(), }; };

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