Skip to main content
Glama

delete_page

Destructive

Remove unwanted pages by moving them to trash, or permanently delete them with space admin permissions.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYesPage UUID or slugId
permanentlyNoIf true, permanently delete. Default false (trash)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description's added value lies in detail beyond safety labels. It adds the crucial nuance that the default action is a trash move (recoverable in principle) while permanent delete is the truly destructive path, plus the auth requirement of space admin. It falls short only in not disclosing side effects on child pages or explicitly confirming trash is recoverable via restore_page.

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 sentences with zero filler: the primary behavior is front-loaded, and the permission caveat follows immediately. Every clause earns its place.

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 essential decision (trash vs permanent) and the key prerequisite (admin) are covered, which is the core of what an agent needs to invoke the tool correctly. However, for a destructive tool with openWorldHint=true and no output schema, gaps remain: no mention that trashed pages are recoverable (restore_page sibling exists), no cascade effects on child pages or attachments, and no return-value note. Adequate but missing secondary context about the destructive footprint.

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 both parameters are already documented (page_id as UUID/slugId, permanently with default false). The description adds meaning by tying the space-admin requirement to the permanently=true path, a constraint not present in the schema. This is useful semantic context beyond what the structured fields provide.

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 names a specific verb ('Move to trash' / 'permanently delete') and a specific resource ('a page'), making the operation unambiguous. The dual-mode behavior is stated up front, which distinguishes this tool from siblings like restore_page (the inverse operation) and move_page (relocation rather than deletion).

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 when to use the tool (when a page needs to be removed) and gives one concrete constraint: permanent deletion requires space admin. However, it never names alternatives or exclusions — it does not point to restore_page for undoing a trash, nor delete_space for space-level deletion, even though those siblings exist. The guidance is adequate but relies on the agent to infer routing.

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

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/dilruwanm/docmost-community-mcp'

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