Skip to main content
Glama

update_confluence_page

Update a Confluence page body, section, or text with version guards. Preview changes using dry run before saving to avoid unintended edits.

Instructions

Update a Confluence page. Choose one body operation per request and pass its current prev_version. Set dry_run to preview the changes.

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>"
    },
    "name": "update_confluence_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoOptional target Atlassian site ID, name, or URL.
titleNo
compactNoSet false for the full response structure.
dry_runNoPreview the computed changes without saving.
page_idYes
prev_versionNo
replace_textNoReplace one unique occurrence within a single source text node.
body_markdownNoReplace the entire body.
append_markdownNoAppend without converting the original body.
replace_sectionNoReplace content under an exact top-level or layout-column heading on a Confluence Cloud ADF page.
version_messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It usefully reveals the concurrency contract (prev_version must be the current version) and that dry_run previews without saving, but says nothing about permissions, what happens on a version mismatch, whether a new page version is created, or whether title changes trigger a rename.

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

Conciseness5/5

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

Three short sentences, all front-loaded: what it does, the one-operation constraint, then the preview option. No filler and no repetition of schema text.

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?

For an 11-parameter mutation tool with nested objects, no annotations and no output schema, the description is thin. An agent still lacks conflict/error behavior, permission requirements, and any hint of the response shape, and is not told which body operation suits which editing task.

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?

With 64% schema coverage, the description meaningfully compensates for the two weakest parts: it establishes that the four body parameters are alternative, mutually exclusive operations and that prev_version is a currency check rather than an arbitrary integer. It adds nothing about site, compact, title, or version_message.

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 description states a specific verb and resource ('Update a Confluence page'), which is clearly distinguishable from the create/get/delete/move siblings by name. It stops short of contrasting itself with those siblings explicitly, but the purpose is unambiguous.

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

Usage Guidelines4/5

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

'Choose one body operation per request' is a real usage rule that resolves mutual exclusivity among body_markdown, append_markdown, replace_text and replace_section, and 'pass its current prev_version' states a precondition. It does not say when to prefer one body operation over another, or when to use this tool versus create/move, leaving that to the schema.

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