Skip to main content
Glama

Delete page

delete_page
DestructiveIdempotent

Moves a page to Recently deleted: restore_page (area admin) brings it back, versions and menu place included, until the date in the answer; after that it is erased. pageIds deletes up to 500 at once, each page with a result (changed, or refused + why). Refuses the home page and the last page. The live site serves it until the next publish_site.

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

Input Schema

NameRequiredDescriptionDefault
pageIdNoPage to delete (from get_site)
siteIdYesSite id (from list_sites)
pageIdsNoSeveral pages instead, in one call

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare destructive/not-read-only/idempotent; the description adds the details that actually matter: deletion is recoverable until a purge date returned in the response, then permanent; batch calls report a per-page outcome including refusals and reasons; the published site is unaffected until the next publish_site. This is meaningful behavior an agent cannot infer from annotations or schema.

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?

Dense but front-loaded: the core semantics come first, then batch behavior, refusals, and publish implications. Every clause carries information; the semicolon-chained style is compressed rather than padded.

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?

With no output schema and a mutation tool, the description supplies what matters: recoverability window, batch result shape, refusal cases, and publish coupling. The phrase 'until the date in the answer' is slightly vague about which field in the response carries the purge date, which is the main residual gap.

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 applies, but the description still adds value beyond it: pageIds is framed as a mutually alternative batch path with per-page results ('changed, or refused + why'), and pageId is implicitly single-page. It does not resolve whether pageId and pageIds may be combined, which the schema also leaves open.

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 plus resource with precise semantics: it moves a page to Recently deleted rather than erasing it immediately, and names the sibling that reverses it (restore_page). An agent can distinguish this from a hard delete or from publish/restore actions without opening the schema.

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?

Gives clear conditions for use: it is a recoverable soft delete, refuses the home page and the last page, and pageIds is the batch variant for up to 500 pages. It also tells the agent that the live site keeps serving the page until publish_site runs. It stops short of an explicit 'use X instead when...' exclusion beyond the refusal cases, so it is strong but not exhaustive.

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.

Resources