Skip to main content
Glama

confluence_create_page

Create a Confluence page in a specified space, supporting multiple content formats (markdown, wiki, storage) and optional parent page for hierarchical organization.

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.

Input Schema

TableJSON 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

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the tool raises ValueError for read-only mode, unavailable client, or invalid content_format. However, it does not mention rate limits, idempotency, or what happens if a page with the same title exists.

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 well-structured with Args, Returns, Raises sections and is front-loaded with the main purpose. It is slightly verbose for a simple create operation but remains clear.

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

Completeness5/5

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

The description covers all 6 parameters, return value, and error cases. Given an output schema exists, the return description is extra but harmless. The tool has moderate complexity and the description is fully adequate.

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 baseline is 3. The description adds no significant meaning beyond the schema; it restates parameter roles (e.g., 'Optional parent page ID') and return format ('JSON string representing the created page object'), which is already covered by the output schema.

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

Purpose5/5

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

The description clearly states 'Create a new Confluence page,' specifying the verb and resource. It differentiates from siblings like confluence_update_page and confluence_delete_page by being the creation tool.

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

Usage Guidelines3/5

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

The description does not explicitly mention when to use this tool versus alternatives (e.g., update vs create, or using other Confluence tools). It impliedly guides by listing creation parameters but lacks context exclusions.

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/SharkyND/mcp-atlassian'

If you have feedback or need assistance with the MCP directory API, please join our Discord server