Skip to main content
Glama

Get Page Version Diff

confluence_get_page_diff
Read-only

Compare two versions of a Confluence page to see changes. Provide the page ID and version numbers to get a unified diff in JSON format.

Instructions

Get a unified diff between two versions of a Confluence page.

Args: ctx: The FastMCP context. page_id: Confluence page ID. from_version: Source version number. to_version: Target version number.

Returns: JSON string with page info and unified diff.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYesConfluence page ID (numeric ID, can be found in the page URL). For example, in 'https://example.atlassian.net/wiki/spaces/TEAM/pages/123456789/Page+Title', the page ID is '123456789'.
from_versionYesSource version number
to_versionYesTarget version number

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The description is consistent with the 'readOnlyHint' annotation, indicating a read operation. However, it does not add behavioral context beyond stating it returns a 'JSON string with page info and unified diff'—no mention of permissions, rate limits, or error conditions.

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 highly concise: one sentence for purpose, a formatted Args list, and a Returns line. Every sentence serves a clear purpose with no wasted words, and the structure is front-loaded with the core action.

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 presence of an output schema and comprehensive parameter descriptions, the description adequately explains the tool's functionality and output format. Minor gaps exist (e.g., no mention that both versions must exist), but overall it is sufficient for a simple diff tool.

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?

The input schema already provides detailed descriptions for all three parameters (100% coverage), including an example for page_id. The description's parameter list adds no new meaning beyond restating the parameter names, so it meets the baseline but does not enhance semantics.

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 the tool 'get a unified diff between two versions of a Confluence page', using a specific verb and resource. This distinguishes it from sibling tools like 'confluence_get_page' (which retrieves full page content) and 'confluence_get_page_history' (which lists version history).

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 implies the tool is used for comparing page versions, but provides no explicit guidance on when to use it versus alternatives (e.g., 'use this for diffs, use confluence_get_page for full content'). No exclusions or when-not-to-use scenarios are mentioned.

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

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