Skip to main content
Glama

Delete node

delete_node
DestructiveIdempotent

Delete a node and its subtree. ROOT, page_home, hdr_root and ftr_root can't be deleted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoSite id.
nodeIdYesNode id (from list_site_nodes / search_site_nodes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / description
      Previous value: -"Site id. Pass it on every call."New value: +"Site id."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds non-obvious behavior beyond that: the deletion is cascading ('and its subtree') and four protected sentinel nodes are rejected. It doesn't mention permission requirements or irreversibility, but the cascade and protected-node rules are meaningful additions.

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, zero filler, and the core action is front-loaded ahead of the constraint. Every clause earns its place.

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 mutation with a fully documented schema and annotations carrying the safety hints, the description covers the two things an agent most needs: that it cascades and which nodes are protected. No output schema exists, so nothing about returns is owed, but permission/auth prerequisites are left unstated.

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 documents both id and nodeId, including the source hint (list_site_nodes / search_site_nodes). The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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 (Delete) and resource (node) plus the important scope detail that the entire subtree goes with it. The resource 'node' is distinct from sibling delete operations (delete_page, delete_site, delete_collection), so an agent can route correctly.

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?

Provides explicit exclusions — ROOT, page_home, hdr_root and ftr_root cannot be deleted — which is real when-not guidance. It stops short of stating when to prefer this over siblings like delete_page or move_node, so it is clear context without full alternative 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.

Resources