Skip to main content
Glama

Restore Page

restore_page
Idempotent

Restore a trashed Confluence page to 'current' status by specifying its ID, title, body, and next version number.

Instructions

Restore a trashed page by setting its status back to 'current'.

Args:
    page_id: ID of the trashed page.
    title: Page title (unchanged or new).
    body_value: Page body content (unchanged or new).
    version_number: The next version number to store — must be current version + 1.
    body_representation: Format of body_value — storage (default), wiki, atlas_doc_format.
    parent_id: Parent page ID (required if the original parent was also deleted).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
page_idYes
parent_idNo
body_valueYes
version_numberYes
body_representationNostorage
Behavior4/5

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

Annotations already indicate this is a write operation (readOnlyHint false) and idempotent. The description adds meaningful behavioral constraints: version_number must be current version + 1, and parent_id is required if the original parent was deleted. This goes beyond what the schema alone provides.

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 well-structured: a one-sentence purpose followed by a clean parameter list. Every sentence adds value with no unnecessary words.

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?

The description covers all parameters and discloses key behavioral constraints, but it does not mention return values or error conditions. Given the tool's complexity and the absence of an output schema, it is fairly complete but could go further.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description includes an Args block that explains all six parameters, including the meaning of body_representation and the critical requirement for version_number. This fully compensates for the schema's 0% description coverage.

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 restores a trashed page by setting its status back to 'current'. This specific verb+resource distinguishes it from sibling tools like create_page, update_page, and delete_page.

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 provides clear context that this tool is for restoring trashed pages, and adds a condition for parent_id when the original parent was also deleted. It doesn't explicitly contrast with alternatives, but the intended use case is unambiguous.

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/pascalhubacher/confluence'

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