Delete page
delete_pageDelete a page and its content. The last page can't be deleted; deleting home promotes the next page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. Pass it on every call. | |
| pageId | Yes | Page id, e.g. "page_about". |
delete_pageDelete a page and its content. The last page can't be deleted; deleting home promotes the next page.
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. Pass it on every call. | |
| pageId | Yes | Page id, e.g. "page_about". |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: content is deleted along with the page, the last page cannot be deleted, and deleting home promotes the next page — all side effects an agent would not learn from annotations alone.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the core action and followed by the two real operational constraints. No filler or restatement of the tool name.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive, non-idempotent-looking operation there is no output schema, and annotations plus the description together cover scope and edge cases well. The only gap is that nothing is said about permission requirements or what the response returns, which is minor given the annotation coverage.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with both 'id' (site id) and 'pageId' documented in the schema, so the baseline is 3. The description adds no syntax or format detail beyond what the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
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') plus the scope of deletion ('and its content'), which distinguishes it from delete_node, delete_collection, and delete_site. An agent can identify the target entity 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.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the name and the stated constraints, but there is no explicit when-to-use guidance or reference to alternatives like update_page or delete_node. The constraints ('last page can't be deleted') do help an agent avoid an invalid call, which lifts it above pure non-guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.