Skip to main content
Glama
nulab

Backlog MCP Server

add_wiki

Creates a wiki page in a Backlog project with specified name, content, and optional notification settings.

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)
organizationNoOptional organization name. Use list_organizations to inspect available organizations.

Implementation Reference

  • The main tool definition for 'add_wiki'. The handler calls backlog.postWiki() with projectId, name, content, and mailNotify.
    export const addWikiTool = (
      backlog: Backlog,
      { t }: TranslationHelper
    ): ToolDefinition<
      ReturnType<typeof addWikiSchema>,
      (typeof WikiSchema)['shape']
    > => {
      return {
        name: 'add_wiki',
        description: t('TOOL_ADD_WIKI_DESCRIPTION', 'Creates a new wiki page'),
        schema: z.object(addWikiSchema(t)),
        outputSchema: WikiSchema,
        importantFields: ['id', 'name', 'content', 'createdUser'],
        handler: async ({ projectId, name, content, mailNotify }) =>
          backlog.postWiki({
            projectId,
            name,
            content,
            mailNotify,
          }),
      };
    };
  • Input schema for add_wiki defining projectId (number), name (string), content (string), and optional mailNotify (boolean).
    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)'
          )
        ),
    }));
  • Output schema (WikiSchema) used by add_wiki tool, defining the wiki page response shape (id, projectId, name, content, tags, attachments, etc.).
    export const WikiSchema = z.object({
      id: z.number(),
      projectId: z.number(),
      name: z.string(),
      content: z.string(),
      tags: z.array(TagSchema),
      attachments: z.array(WikiFileInfoSchema),
      sharedFiles: z.array(SharedFileSchema),
      stars: z.array(StarSchema),
      createdUser: UserSchema,
      created: z.string(),
      updatedUser: UserSchema,
      updated: z.string(),
    });
  • Registration of add_wiki tool in the 'wiki' toolset group. addWikiTool(backlog, helper) is called to instantiate it.
    {
      name: 'wiki',
      description: 'Tools for managing wiki pages.',
      enabled: false,
      tools: [
        getWikiPagesTool(backlog, helper),
        getWikisCountTool(backlog, helper),
        getWikiTool(backlog, helper),
        addWikiTool(backlog, helper),
        updateWikiTool(backlog, helper),
      ],
  • buildToolSchema helper function used to construct the input schema for add_wiki.
    export const buildToolSchema = <T extends z.ZodRawShape>(
      fn: (t: TranslationHelper['t']) => T
    ) => fn;
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so description must disclose behavioral traits. It only says 'Creates' with no details on side effects, permissions, or reversibility. For a mutation tool, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence with no redundancy. While it is brief, it is not overly verbose, but could benefit from a bit more detail without losing conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 5 parameters (3 required), no output schema, and no annotations, the description is too sparse. It should mention that the page is added to a project, what the response looks like, or any prerequisites.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all parameters are described in the input schema. The description adds no additional meaning beyond what the schema already provides, meeting the baseline expectation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the action: create a new wiki page. The verb 'creates' and resource 'wiki page' are specific. However, it does not differentiate from sibling tools like addDocument or add_issue, but the resource type is distinct, so it's still clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus other add_* tools or alternatives. The description provides no context or exclusions, leaving the agent without decision support.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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