Skip to main content
Glama
nulab

Backlog MCP Server

add_wiki

Create a new wiki page in Backlog projects by specifying project ID, page name, and content, with optional email notifications.

Instructions

Creates a new wiki page

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesProject ID
nameYesName of the wiki page
contentYesContent of the wiki page
mailNotifyNoWhether to send notification emails (default: false)

Implementation Reference

  • The core handler function that implements the add_wiki tool logic by calling the Backlog API's postWiki method with projectId, name, content, and optional mailNotify.
    handler: async ({ projectId, name, content, mailNotify }) =>
      backlog.postWiki({
        projectId,
        name,
        content,
        mailNotify,
      }),
  • Input schema definition for the add_wiki tool using Zod, including projectId, name, content, and optional mailNotify.
    const addWikiSchema = buildToolSchema((t) => ({
      projectId: z.number().describe(t('TOOL_ADD_WIKI_PROJECT_ID', 'Project ID')),
      name: z.string().describe(t('TOOL_ADD_WIKI_NAME', 'Name of the wiki page')),
      content: z
        .string()
        .describe(t('TOOL_ADD_WIKI_CONTENT', 'Content of the wiki page')),
      mailNotify: z
        .boolean()
        .optional()
        .describe(
          t(
            'TOOL_ADD_WIKI_MAIL_NOTIFY',
            'Whether to send notification emails (default: false)'
          )
        ),
    }));
  • Registration of the add_wiki tool within the 'wiki' toolset group in the allTools export.
      tools: [
        getWikiPagesTool(backlog, helper),
        getWikisCountTool(backlog, helper),
        getWikiTool(backlog, helper),
        addWikiTool(backlog, helper),
        updateWikiTool(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