Skip to main content
Glama

Delete a wiki page

delete_wiki_page
Destructive

Delete a wiki page and its whole history. This cannot be undone, and restore_wiki_page cannot bring it back: read it first with read_wiki_page if it may be wanted. A category's hub article is its category's path.

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": {
      "path": "<path>"
    },
    "name": "delete_wiki_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesThe page's address on the site: the wiki's own path for its home page ("" on a wiki of the whole site), a category's path for its hub, else <category path>/<slug>, all under the wiki's path
tokenNoThe site token from create_site or the site's settings. Omit if your Authorization header carries it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / path / description
      Previous value: -"\"\" for the home page, a category's path for its hub, else <category path>/<slug>"New value: +"The page's address on the site: the wiki's own path for its home page (\"\" on a wiki of the whole site), a category's path for its hub, else <category path>/<slug>, all under the wiki's path"
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description adds real context beyond them: history is destroyed too, the action is irreversible, and the paired restore tool is useless as a safety net. It stops short of covering permissions/authorization or what the response contains, which keeps it off a 5.

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

Conciseness4/5

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

Front-loaded with the destructive fact and the irreversibility warning, which is exactly the right ordering. The final sentence about hub articles is cryptic and partly redundant with the schema, costing a point.

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?

For a two-parameter destructive tool with full schema coverage and no output schema, the description covers the essential risk (irreversible history loss) and points at the safe alternative. Only edge behaviors such as permission requirements or failure modes on bad paths are left unstated.

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 description coverage is 100%, so both 'path' and 'token' are already fully documented, including the hub-path case. The closing sentence about a category's hub article largely restates what the path schema already says, and 'token' is untouched in the description, so no meaning is added over the schema.

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 wiki page') and immediately extends scope with 'and its whole history', so the agent knows the blast radius exceeds a single page. It also names restore_wiki_page as the sibling that will not help, which disambiguates it from the recovery tools in the catalog.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit pre-condition/alternative: 'read it first with read_wiki_page if it may be wanted', plus the exclusion that restore_wiki_page 'cannot bring it back'. That is a when-to / when-not pairing rather than implied usage.

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