Skip to main content
Glama

delete_node

Deletes a node from a specified Vika space using its space ID and node ID, with optional destructive-action confirmation.

Instructions

Delete a node from a space.

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": {
      "spaceId": "<spaceId>",
      "nodeId": "<nodeId>"
    },
    "name": "delete_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdYesNode ID, usually starts with dst/fld/form prefixes.
spaceIdYesSpace ID, usually starts with spc.
confirm_destructiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and openWorldHint=false, so the destructive nature is known from structured data. The description adds nothing beyond that: it does not say whether deletion is permanent, whether a recover_node path exists, whether children are cascaded or orphaned, or what happens if the node is in use — all material facts for an irreversible mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no redundancy, so nothing is wasted, but it is under-specified rather than concise. The brevity is achieved by omitting the behavioral and parameter details that matter for a destructive operation.

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

Completeness2/5

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

For a destructive mutation with no output schema and an unexplained confirmation parameter, the description leaves out nearly everything an agent needs to call it safely. The only structured support is a partial schema and two annotation hints, which do not cover reversibility, cascade effects, or the meaning of confirm_destructive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema coverage at 67%, spaceId and nodeId are described in the schema (including ID prefix conventions), but confirm_destructive is completely undocumented in both the schema and the description. That is a significant omission for a destructive tool, since an agent cannot tell whether omitting it blocks the deletion or whether it is merely advisory.

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

Purpose3/5

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

The description names a specific verb and resource ("Delete a node") and scopes it to a space, so the basic operation is identifiable. However, it gives no indication of what a node is in this hierarchy or how it differs from sibling deletions such as delete_fields, delete_records, or delete_view, which leaves the agent guessing whether a node is a container of those things.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the many other delete siblings, and no stated preconditions such as required permissions or whether child content must be removed first. The only contextual hint is the word "node," which the agent must already understand.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.