Skip to main content
Glama

Delete page

delete_page
Destructive

Delete a page by id. The store's fixed home page 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": {
      "page_id": "<page_id>"
    },
    "name": "delete_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the description's main added value is the home-page exclusion. It does not disclose whether deletion is permanent, whether child pages/blocks are cascaded, or how the non-idempotent behavior (idempotentHint=false) surfaces on a repeat call — all relevant for a destructive tool.

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?

Two short sentences with the action front-loaded and the failure constraint immediately after; nothing is padded. Slightly terse given the destructive nature, but no wasted wording.

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 one-parameter delete tool with destructive annotations, the definition covers the action, the key, and the one known restriction. The only meaningful gaps are irreversibility/cascade semantics and id format, which are secondary for correct invocation.

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 coverage is 0% and page_id has no type documentation in the schema beyond "string". The phrase "by id" confirms the identifier role but does not say what an id looks like (UUID, slug, numeric) or where to obtain one.

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?

"Delete a page by id" states a specific verb and resource with the lookup key named, which separates it from create_page/get_page/update_page and from the many delete_* sibling tools targeting other resources. It stops short of any explicit sibling routing, but the resource is unambiguous.

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

Usage Guidelines3/5

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

The description supplies a real precondition — the store's fixed home page cannot be deleted — which tells the agent when the call will fail. It gives no guidance on prerequisites (permissions, dependencies) or on what to do instead if the target is the home page.

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