Skip to main content
Glama

td_delete_node

Destructive

Delete a TouchDesigner node by its absolute path to remove unwanted operators and keep live networks clean. Provide the full path, such as '/project1/noise1', to target the exact node.

Instructions

Delete a node by its absolute path.

v1.4.6 Bug A PoC: explicit-args signature instead of the old params: DeleteNodeInput wrapper. MCPServer wraps params: Model signatures under a params: {"$ref": ...} property that MCP clients collapse to an opaque {}. Explicit args produce a flat schema the client can render directly — callers see path as a required string with description and min_length instead of having to guess. The Annotated[str, Field(...)] pattern carries the same validation the old Pydantic model had.

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": {
      "path": "<path>"
    },
    "name": "td_delete_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path of the node to delete (e.g. '/project1/noise1')

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.1

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true, and idempotentHint=false. The description restates deletion and then discusses internal schema design, adding no behavioral context such as what happens to child nodes or permissions required.

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

Conciseness2/5

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

The first sentence is efficient, but the remaining paragraph is developer commentary about a schema bug fix (v1.4.6 Bug A PoC) that is irrelevant to an agent invoking the tool and clutters the definition.

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

Completeness3/5

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

For a simple one-parameter destructive tool with annotations and an output schema, the description provides the essential purpose. However, it lacks usage guidance and the extraneous technical detail detracts from completeness.

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?

The input schema fully documents the single 'path' parameter with a description, minLength, and example. The description adds no additional meaning beyond the schema, so the baseline of 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?

The first sentence states a specific verb and resource: 'Delete a node by its absolute path.' It clearly distinguishes the action from siblings like copy or rename, though it does not explicitly name alternatives.

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?

The description gives no guidance on when to use this tool versus alternatives, no prerequisites, and no warnings beyond what annotations provide. It simply states the action.

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

Deploy Server

Other Tools