Skip to main content
Glama

Create Page

confluence_create_page
Destructive

Create a page in a Confluence space with a title and content in Markdown, wiki, or storage format, optionally under a parent page.

Instructions

Create a new Confluence page.

Args: ctx: The FastMCP context. space_key: The key of the space. title: The title of the page. content: The content of the page (format depends on content_format). parent_id: Optional parent page ID. content_format: The format of the content ('markdown', 'wiki', or 'storage'). enable_heading_anchors: Whether to enable heading anchors (markdown only).

Returns: JSON string representing the created page object.

Raises: ValueError: If in read-only mode, Confluence client is unavailable, or invalid content_format.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "space_key": "<space_key>",
      "title": "<title>",
      "content": "<content>"
    },
    "name": "confluence_create_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesThe title of the page
contentYesThe content of the page. Format depends on content_format parameter. Can be Markdown (default), wiki markup, or storage format
parent_idNo(Optional) parent page ID. If provided, this page will be created as a child of the specified page
space_keyYesThe key of the space to create the page in (usually a short uppercase code like 'DEV', 'TEAM', or 'DOC')
content_formatNo(Optional) The format of the content parameter. Options: 'markdown' (default), 'wiki', or 'storage'. Wiki format uses Confluence wiki markup syntaxmarkdown
enable_heading_anchorsNo(Optional) Whether to enable automatic heading anchor generation. Only applies when content_format is 'markdown'

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

The Raises section discloses meaningful behavior beyond the annotations: the call fails with ValueError in read-only mode, when the Confluence client is unavailable, or on an invalid content_format, and the description notes heading anchors only apply to markdown. It also states the return is a JSON page object, which is extra context even though an output schema exists. The annotations mark destructiveHint=true, which sits in mild tension with a pure create operation, but the description does not misrepresent what the tool does to existing data.

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

Conciseness3/5

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

The opening sentence and the Raises block are front-loaded and earn their place, but the Args section duplicates six parameter descriptions that are already fully covered in the schema, which is pure redundancy. Structure is conventional docstring style rather than optimized for an agent reader.

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

Completeness4/5

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

For a six-parameter mutation tool with full schema coverage, an output schema, and annotations, the description is adequately complete: it establishes creation semantics, the content-format dependency, and the failure modes. The main omission is confirmation of behavioral edge cases such as duplicate titles or permission requirements on the target space, which would have made it complete rather than merely sufficient.

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 description coverage is 100%, so every parameter including enums-like content_format options and the markdown-only constraint on enable_heading_anchors is already documented in the schema. The Args block largely restates those same descriptions (title, content, parent_id, content_format) without adding format syntax, size limits, or validation rules beyond what is structured. Baseline 3 is appropriate where the schema carries the load.

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?

"Create a new Confluence page" gives a specific verb and resource that clearly separates it from siblings like confluence_update_page and confluence_delete_page. It does not explicitly name an alternative, but the create-vs-update distinction is unambiguous from the verb alone.

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?

There is no guidance on when to use this versus confluence_update_page, no mention of required permissions, and no note that the target space (space_key) or parent page must already exist. The only usage-adjacent information is an error case (read-only mode), which tells the agent about failure rather than about correct selection or prerequisites.

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