Skip to main content
Glama

Delete a page

delete_page
DestructiveIdempotent

Delete one of the owner's pages for good: its link stops working at once and is never given to another page. First name the page to the owner and ask them to confirm; call this only after a clear yes. Use it only for the owner's own pages, as they ask, under ShareHTML's rules: https://sharehtml.org/acceptable-use.

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

Input Schema

NameRequiredDescriptionDefault
page_idYesThe page’s id, as publish_page or list_pages gave it.

Output Schema

NameRequiredDescriptionDefault
idYes
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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 still adds genuinely new behavior: the link breaks immediately and the URL is never reassigned, plus a confirmation workflow and a policy reference. Those additions are real value, but return/error behavior is left to the output schema, so it lands above baseline rather than at the top.

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?

Three short sentences, front-loaded with the permanence fact that matters most, then the confirmation gate, then the scope limit. The policy URL is slightly boilerplate but is short and earns a place as a usage constraint.

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 single-parameter destructive tool with rich annotations and an output schema, the description covers what the agent must know before calling: permanence, immediate link breakage, and the confirm-first requirement. It does not address failure cases such as deleting a page that no longer exists, a minor gap given the output schema.

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% for the single page_id parameter, and the schema itself points to publish_page or list_pages as its source. The description adds no format or sourcing detail beyond that, so the schema carries the parameter burden and the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Delete one of the owner's pages") and immediately qualifies permanence with "for good: its link stops working at once and is never given to another page," which separates it from a reversible edit like update_page. It never names a sibling tool explicitly, so differentiation is implied rather than stated.

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 a concrete precondition for invocation (name the page to the owner and get a clear yes) and a scope restriction (only the owner's own pages, as they ask). It does not route the agent to an alternative when the owner actually wants a soft change, which would have made this a 5.

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