Skip to main content
Glama

Update Page Section

confluence_update_page_section
Destructive

Update only a targeted section of a Confluence page by replacing the content under a given heading. Preserve macros, layouts, and other sections, avoiding data loss from full-page Markdown re-uploads.

Instructions

Update a single section of a Confluence page without affecting the rest.

Replaces only the content beneath a named heading, leaving all other sections, macros, layouts, and Confluence-specific elements completely intact. This avoids the data loss that occurs when a full page is downloaded as Markdown, edited, and re-uploaded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYesThe ID of the page to update
new_contentYesReplacement content for the section body. Do NOT include the heading itself — only the body beneath it. Format is controlled by content_format.
heading_textYesExact text of the heading that starts the section to replace. Matching is case-sensitive. Use confluence_get_page with convert_to_markdown=false to inspect exact heading text when unsure.
is_minor_editNoWhether this is a minor edit
content_formatNo(Optional) Format of new_content. Options: 'markdown' (default) or 'storage' (raw Confluence storage XML). Use 'storage' to insert macros or elements that markdown cannot express.markdown
version_commentNoOptional comment for this version

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already mark destructiveHint=true, and the description adds valuable behavioral context by explaining that only the section under the named heading is replaced while macros, layouts, and other sections remain intact. This clarifies the scope of the destructive operation beyond the annotation alone.

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?

The description is concise and front-loaded, with the core behavior stated in the first sentence. The second sentence adds valuable behavioral detail and rationale without unnecessary repetition or filler.

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?

Given the high schema coverage, output schema, and destructive annotation, the description is largely complete. It explains what is and is not affected, provides rationale, and the parameter descriptions handle edge cases like case-sensitive heading text and content format. Minor gaps such as duplicate heading behavior are not addressed but are not critical.

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 the parameters are already well-documented. The tool description reinforces that only body content is replaced and heading matching is exact, but most parameter-level meaning is appropriately handled by the input schema. This meets the baseline for fully covered schemas.

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 states a specific verb and resource: 'Update a single section of a Confluence page' and clarifies exactly what is replaced. It clearly distinguishes itself from a full-page update by emphasizing that only the content beneath a named heading changes.

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?

The description clearly identifies when to use this tool—updating one section without affecting the rest—and contrasts it with the riskier full-page Markdown round-trip workflow. It does not explicitly name the alternative tool, but the usage context is clear from the description and sibling list.

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/Nikel-san/AtlMCPforDC'

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