Skip to main content
Glama

delete_page

Destructive

Move a page to trash or permanently delete it; permanent deletion requires space admin rights.

Instructions

Move a page to trash, or permanently delete it. Permanent delete requires space admin.

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

Input Schema

NameRequiredDescriptionDefault
page_idYesUUID or slugId
permanentlyNoDelete forever instead of trashing

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only supply destructiveHint=true; the description adds the crucial behavioral distinction that trashing is one mode and irreversible deletion is the other, plus the authorization prerequisite (space admin) for the permanent path. It stops short of describing side effects such as what happens to child pages or backlinks.

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?

Two short sentences with zero filler; the primary action and the two modes are front-loaded, and the permission caveat follows immediately where it matters.

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?

For a destructive tool with no output schema, the description covers the modes and the permission gate but says nothing about recovery, trash retention, or whether deleting a parent affects child pages. An agent could call it correctly but may not anticipate consequences.

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

Parameters4/5

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

Schema coverage is 100%, so baseline would be 3, but the description earns a bump by tying the permanent mode to an admin requirement, which gives real consequence to setting permanently=true beyond the schema's terse 'Delete forever instead of trashing'. The page_id parameter still gets no added meaning.

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 names a specific verb and resource and distinguishes the two operating modes: soft-delete (move to trash) versus permanent deletion. That is far more informative than the bare name 'delete_page', though it never references a sibling such as restore_page or list_trash to sharpen the boundary.

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 rather than stated: an agent can infer the tool is for removing a page and that permanent deletion needs space admin. There is no explicit when-to-use versus when-not guidance, and no pointer to restore_page or list_trash as adjacent operations an agent might actually want.

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