Skip to main content
Glama

remove_node

Removes a node from a dynamic workflow by workflow and node ID; validation will report dangling references because references are not fixed.

Instructions

Remove a node from a dynamic workflow. Does not fix references (validation will report dangling refs).

Input Schema

NameRequiredDescriptionDefault
node_idYesNode id to remove
workflow_idYesWorkflow id from create_workflow

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does meaningful work: it discloses that references are not fixed and that validation will surface dangling refs afterwards. It leaves unstated whether connected edges are cascaded away, whether removal is irreversible, and what the response contains.

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, zero filler, and the key limitation is front-loaded right after the action so it can't be missed. 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 two-parameter mutation with no output schema or annotations, the description covers the critical gotcha (dangling references needing validation). Minor gaps are the lack of return/pagination info and the unstated fate of connected edges.

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 both params (workflow_id, node_id) are already documented in the schema, including the 'from create_workflow' hint. The description adds no additional parameter meaning, so baseline 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 description names a specific verb and resource ('Remove a node from a dynamic workflow') and clearly distinguishes it from sibling mutations like add_node or connect_nodes without needing to name them explicitly. It stops short of an explicit 'don't use for X' contrast, but the operation is unambiguous.

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?

The caveat that validation will report dangling refs implies the follow-up validate_workflow call, and the workflow context tells an agent where this fits. However, it never states prerequisites (e.g., workflow must exist/be editable) or when to remove versus rewire a node.

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