Skip to main content
Glama

Update Page

confluence_update_page
Destructive

Update an existing Confluence page by changing its title or content; specify markdown, wiki, or storage format and optionally add a version comment.

Instructions

Update an existing Confluence page.

Args: ctx: The FastMCP context. page_id: The ID of the page to update. title: The new title of the page. content: The new content of the page (format depends on content_format). is_minor_edit: Whether this is a minor edit. version_comment: Optional comment for this version. parent_id: Optional new 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 updated page object.

Raises: ValueError: If Confluence client is not configured, available, 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": {
      "page_id": "<page_id>",
      "title": "<title>",
      "content": "<content>"
    },
    "name": "confluence_update_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesThe new title of the page
contentYesThe new content of the page. Format depends on content_format parameter
page_idYesThe ID of the page to update
parent_idNoOptional the new parent page ID
is_minor_editNoWhether this is a minor edit
content_formatNo(Optional) The format of the content parameter. Options: 'markdown' (default), 'wiki', or 'storage'. Wiki format uses Confluence wiki markup syntaxmarkdown
version_commentNoOptional comment for this version
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.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, so the safety bar is lower; the description does add that title and content are replaced with 'new' values, implying whole-field overwrite rather than partial merge. However it says nothing about how version conflicts or concurrent edits are handled — a critical behavior for a Confluence page update — and gives no permission requirements beyond the ValueError cases.

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 docstring is front-loaded with a one-line purpose, which is good, but the Args section duplicates all eight schema parameter descriptions word for word, including a `ctx` argument that is not even in the input schema. The Returns and Raises sections are the only information not already available elsewhere.

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

Completeness3/5

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

An output schema exists, so the description needn't explain return values, and the summary of ValueError conditions is useful. For an eight-parameter destructive mutation, though, the absence of any version-conflict, permission, or content-replacement semantics leaves meaningful gaps.

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% and the Args block largely restates the schema verbatim, adding no syntax or format detail beyond it. It does reinforce that content formatting is coupled to content_format, but the schema's own description already states that, so the baseline of 3 applies.

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?

The opening line names a specific verb ('Update') and resource ('an existing Confluence page'), which cleanly separates it from confluence_create_page and confluence_delete_page in the sibling list. It stops short of explicitly naming those alternatives, so it is clear but not maximally differentiated.

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 explicit guidance on when to choose this over confluence_create_page versus delete, and no statement of prerequisites such as edit permissions or version/concurrency requirements. About the closest thing is the Raises clause noting ValueError for invalid content_format, which is error handling rather than usage guidance.

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