Skip to main content
Glama

Delete nodes

delete_nodes
Destructive

Delete frames, sections, notes or elements (with their content).

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": {
      "fileId": "<fileId>",
      "ids": "<ids>"
    },
    "name": "delete_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
fileIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/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 safety profile is covered structurally. The parenthetical '(with their content)' adds genuine value by disclosing cascade deletion of child content, but the description says nothing about permissions required, reversibility, or behavior on invalid or missing ids.

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?

It is a single front-loaded sentence with no filler, and the cascade note is attached directly to the affected object types. The brevity is efficient but edges toward under-specification rather than tightness.

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?

This is an irreversible deletion tool with no output schema, zero parameter documentation, and no guidance on error cases or recovery. For an operation that destroys content, the definition does far too little beyond what the destructive annotation already says.

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?

Schema description coverage is 0% for two required parameters, so the description carries full burden and provides nothing. It never clarifies that 'ids' is an array of node identifiers (minItems 1) or that 'fileId' scopes the deletion to a single file, leaving the agent to guess the identifier format and scope.

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 supplies a specific verb (delete) plus the resource types affected (frames, sections, notes, elements), so the basic action is clear. However, 'nodes' is never defined, and there is no explicit differentiation from the sibling delete_asset, so an agent must infer which tool covers which deletion target.

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?

Usage is only implied: the listed node types hint at when this tool applies, but the description states no conditions, prerequisites, or when to prefer an alternative such as delete_asset or update_nodes. There is no when-not guidance for a permanently destructive operation.

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.