Skip to main content
Glama

Delete Page

confluence_delete_page
Destructive

Deletes an existing Confluence page by its page ID and returns a success or failure result.

Instructions

Delete an existing Confluence page.

Args: ctx: The FastMCP context. page_id: The ID of the page to delete.

Returns: JSON string indicating success or failure.

Raises: ValueError: If Confluence client is not configured or available.

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": "confluence_delete_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYesThe ID of the page to delete

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, so the safety profile is covered, and the description stays consistent with it. It adds the error condition (ValueError when the client is not configured) and the success/failure return shape, but omits the traits that matter most for a destructive call: whether deletion is permanent or recoverable, and whether child pages, comments, or attachments are removed with it.

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

Conciseness3/5

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

The lead sentence is front-loaded and efficient, but the docstring Args/Raises boilerplate partly duplicates the schema and mentions a ctx parameter that does not exist in the input schema, which is noise for an agent reading the definition.

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?

The tool is simple (one required param, output schema present, annotations carrying destructiveness), so the description is close to sufficient. What is still missing is the side-effect and permanence information an agent needs before invoking an irreversible delete.

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% and the single parameter is fully documented in the schema, so the description's restatement of page_id adds nothing. Baseline 3 applies; no format, ID-source, or constraint detail is contributed beyond the schema.

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?

"Delete an existing Confluence page" names a specific verb and resource, and the single required parameter confirms scope. It is unambiguous against siblings like confluence_update_page or confluence_create_page, though it never names or differentiates from them explicitly.

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?

Usage is implied by the name and the destructive nature of the operation, but there is no explicit when-to-use guidance, no alternative to consider (e.g. archiving or updating instead), and no prerequisite or confirmation step described. An agent must infer the context entirely.

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