Skip to main content
Glama

Delete page

swebsy_delete_page
Destructive

Delete a page. The home page (index) and a site's last page can't be deleted. Links to the deleted page are left in place — repoint them with link_page or delete them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYesPage id, name or slug to delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 mutation risk is known. The description adds real behavioral context beyond them: which pages are protected from deletion and the important side effect that inbound links are left dangling, plus the remedy.

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 core action, then constraints, then the side-effect remedy. Every sentence carries information an agent needs before calling.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter mutation tool with no output schema, the description covers the action, the guardrails, and the post-deletion consequence. Nothing an agent needs to invoke it correctly is missing.

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% and the schema already states 'Page id, name or slug to delete.' The description adds no format or identifier-resolution detail beyond that, so this is the baseline 3 case.

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+resource ("Delete a page") that immediately distinguishes it from sibling deletes like swebsy_delete_section, swebsy_delete_asset, and swebsy_delete_symbol. The added constraints sharpen the scope of what 'a page' can mean here.

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 explicit when-not conditions (the home/index page and a site's last page cannot be deleted) and names a follow-up alternative (link_page) for repointing links. It stops short of naming a competing tool for deleting other entities, but the guidance is concrete and actionable.

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