Skip to main content
Glama
aaronsb

Confluence Cloud MCP Server

edit_confluence_content

Edit Confluence pages by viewing, inserting, replacing, or removing lines in a scratchpad buffer, then submit changes.

Instructions

Line-addressed content editing within a scratchpad buffer. View, insert, replace, or remove lines, then submit to Confluence. Requires a scratchpadId from create or pull_for_editing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYesThe editing operation to perform
scratchpadIdNoScratchpad ID from create or pull_for_editing (required for all ops except list)
afterLineNoLine number to insert after (0 = prepend). For insert_lines.
startLineNoStart of line range (1-based). For view, replace_lines, remove_lines.
endLineNoEnd of line range (1-based, inclusive). For view, replace_lines, remove_lines.
contentNoText content (newlines create multiple lines). For insert_lines, append_lines, replace_lines.
messageNoVersion message for submit operation
Behavior3/5

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

Without annotations, the description bears full responsibility for transparency. It explains that operations are performed on a scratchpad and then submitted to Confluence, giving a sense of a batched workflow. However, it does not detail the effect of each operation on the scratchpad state, whether edits are immediately visible, or what happens on discard. The description is moderately transparent but lacks depth on lifecycle and side effects.

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 consists of two concise sentences with no redundancy. The first sentence immediately conveys the core purpose and mechanism (line-addressed editing, scratchpad buffer). The second sentence adds a critical prerequisite. Every sentence earns its place, making it highly efficient for an AI agent.

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?

Given the complexity (7 parameters, 8 enum values) and no output schema or annotations, the description adequately introduces the tool's purpose and workflow but lacks details on return values, error scenarios, and operation sequencing. It is sufficient for a basic understanding but incomplete for fully autonomous use without additional inference from the schema.

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 parameters are already documented. The description adds context by emphasizing the scratchpadId requirement and the types of operations (view, insert, replace, remove). This aligns with the operation enum but does not significantly augment the schema's descriptions. The value added is modest, keeping the score at baseline 3.

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 clearly states it is for line-addressed content editing within a scratchpad buffer, listing specific operations (view, insert, replace, remove) and the action of submitting to Confluence. It distinguishes itself from sibling tools like manage_confluence_page by focusing on line-level editing. However, it does not explicitly differentiate from all siblings, leaving some ambiguity about when to use this versus other content tools.

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?

The description mentions that a scratchpadId from create or pull_for_editing is required, implying a prerequisite workflow. However, it does not specify when to use this tool versus alternatives, such as when full-page editing would be more appropriate. There is no explicit when-not or list of alternative tools for comparison.

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/aaronsb/confluence-cloud'

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