Skip to main content
Glama

delete_page

Destructive

Delete a page and all of its versions, including private drafts. Its public URL stops serving this page; links and flows referencing it are not rewritten. Requires an explicit deletion request.

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": {
      "target": "<target>"
    },
    "name": "delete_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / target / properties / designId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / target / properties / kind / enum
      Previous value: -[
      -  "page",
      -  "email"
      -]New value: +[
      +  "page",
      +  "email",
      +  "wallet",
      +  "apple-wallet",
      +  "google-wallet"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / expectedRevision
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "target",
      -  "expectedRevision"
      -]New value: +[
      +  "target"
      +]
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, yet the description still earns credit by disclosing what is actually destroyed (all versions plus private drafts), what is intentionally not cascaded (referencing links and flows), and the external effect on the public URL. The only undisclosed behavioral gap is that the underlying target object apparently supports non-page kinds, which the description never acknowledges.

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?

Three short sentences, front-loaded with the destructive scope, then consequences, then the precondition. No filler, no restatement of the tool name, and every clause carries distinct information.

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, non-idempotent operation with no output schema, the description covers the destruction semantics well enough to act responsibly. It falls short on the nested target object, which is the one thing an agent must get right in order to invoke the tool at all, so the definition is workable but not self-sufficient.

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

Parameters2/5

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

Schema description coverage is 0% on a nested target object carrying eight properties (kind enum of page/email/wallet/apple-wallet/google-wallet, plus pageId, draftId, pageSlug, eventId, designId). The description adds only an oblique hint via 'private drafts' and never explains how kind selects which identifier is required, so it leaves the caller to reverse-engineer the schema. This is a substantial miss on the highest-complexity part of the definition.

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?

States a specific verb and resource ('Delete a page') and immediately bounds the scope: 'all of its versions, including private drafts'. That scope detail is what separates it from soft-delete siblings such as discard_page_draft, and the downstream effects (public URL stops serving, links/flows not rewritten) make the blast radius unambiguous.

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 closing clause 'Requires an explicit deletion request' signals that this is a gated, user-confirmed action, which is useful usage context. However, it never names an alternative (e.g. draft discarding or version restore) or states when *not* to use it, so routing between this and its siblings is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.