Skip to main content
Glama

HamroLink Business OS MCP Server

page.delete

Destructive

Permanently deletes a page from an existing website by slug or pageId, cleans up navigation menu links, and invalidates edge caches. The homepage ('/') cannot be deleted.

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": "page.delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoURL slug of the page to delete (e.g. '/portfolio-v2-test' or '/about')
pageIdNoOptional MongoDB Page ID
siteIdYesMongoDB Site ID
confirmedNoConfirm permanent deletion (default true for external MCP)

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 already declare destructiveHint=true and readOnlyHint=false, but the description adds substantial context beyond them: deletion is permanent, navigation menu links referencing the page are cleaned up, edge caches are invalidated, and the homepage is protected. These cascading side effects and the guard rail are exactly the behavioral detail an agent needs before invoking a destructive call.

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?

Two sentences, no filler, with the destructive nature and targeting method front-loaded and the constraint isolated as its own short sentence. Every clause carries operational information.

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 destructive tool with no output schema, the description covers permanence, cascading cleanup, cache invalidation, targeting, and a hard prohibition, which is close to complete. It leaves out permission requirements and the practical role of the `confirmed` parameter, minor gaps given the fully documented schema.

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 description coverage is 100%, so the baseline is 3. The description adds meaning by framing slug and pageId as alternative identification paths ('by slug or pageId'), a relationship the schema lists but never articulates; it still says nothing about the `confirmed` flag or what happens if both identifiers are supplied, so it is above baseline but not rich.

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?

The description gives a specific verb ('Permanently deletes') with the exact resource ('a page from an existing website') plus the selectors used to identify it. It implicitly separates itself from website.delete and page.remove_section by scoping the operation to a full page within a site, and the homepage exclusion sharpens that scope further.

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?

It states how to target the page ('by slug or pageId') and gives one hard exclusion ('The homepage (/) cannot be deleted'), which is real when-not guidance. It does not name any alternative tool or explain what to do instead when a page must be hidden rather than destroyed, so it falls short of full when/when-not/alternatives routing.

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.