Skip to main content
Glama
Node-RED MCP Server
by fx

delete_flow

Delete a Node-RED flow by ID to remove the flow and all its nodes, keeping your workflow list clean and preventing orphaned nodes.

Instructions

Delete a flow from Node-RED by ID. Removes the flow and all its nodes.

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": {
      "flowId": "<flowId>"
    },
    "name": "delete_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowIdYesID of the flow to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the safety burden. It usefully discloses the cascade behavior ('removes the flow and all its nodes'), which is important for a destructive operation, but it omits irreversibility, required permissions, and what happens if the ID does not exist.

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 short sentences, front-loaded with the verb and resource. Every sentence contributes useful information, including the cascade effect, with no unnecessary 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 simple one-parameter destructive tool, the description covers the core purpose and the important cascade deletion effect. However, given that no annotations are supplied, it should ideally also address irreversibility and error behavior to be fully complete.

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 100%, and the single flowId parameter is fully documented in the schema. The description's phrase 'by ID' adds no constraints, format details, or meaning beyond what the schema already provides.

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?

States a specific verb and resource: 'Delete a flow from Node-RED by ID', and clarifies the effect as removing the flow and all its nodes. It is clearly a deletion tool, but it does not explicitly distinguish itself from siblings such as delete_context or update_flow.

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?

Provides no when-to-use or when-not-to-use guidance, no prerequisites, and no named alternatives. The only implicit guidance is that it is for deleting a flow rather than creating, updating, or reading one.

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