Skip to main content
Glama
dnic-dev

bw-modeling-mcp

by dnic-dev

bw_remove_process_chain_step

Remove a step from a process chain in-place, automatically connecting each predecessor to the removed step's successors to keep the chain intact, or leave them disconnected when needed.

Instructions

Remove one step (node) from a Process Chain (RSPC), via the BW/4HANA Cockpit REST API. In-place edit: reads the current model, drops the node together with every edge touching it and its inline process variant, and PUTs it back. By default the gap is bridged — every predecessor of the removed step takes over every successor, keeping the condition of the edge that ran into the removed step — so the strand stays connected. Pass reconnect=false to leave the successors disconnected. Use this to roll back a step that was inserted in the wrong place. The TRIGGER (Start) step cannot be removed. A 412 on the PUT means the ETag was stale (chain modified between read and write); the error reports this explicitly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesProcess chain technical name (e.g. "CHAIN_NAME"). Case-insensitive.
stepYesStep to remove. Node reference forms: a DTP or process-variant name; an aDSO held by an ADSOACT/ADSOREM node; the program of an ABAP step, or "PROGRAM/VARIANT"; a collector type ("AND"/"OR"); or "#<index>" using the step numbers printed by bw_get_process_chain. An ambiguous name is rejected with the candidates listed — use "#<index>" then.
activateNoIf true, activate the chain immediately after the edit. Default false.
reconnectNotrue (default): bridge the gap so each predecessor of the removed step links to each of its successors. false: drop the edges without bridging, which leaves the successors as a strand nothing leads to (the chain then will not activate until they are re-wired with bw_add_process_chain_edge).
transport_requestNoOptional transport request to record the change into. Only relevant when the chain is in a transportable package (not $TMP). If the chain is transportable and exactly one request is available, it is chosen automatically; pass this to disambiguate when several are available. Ignored for $TMP (local) chains.
Behavior5/5

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

With no annotations present, the description carries the full burden of explaining behavior, and it does so exceptionally. It discloses that this is an in-place read-modify-write operation, that edges and inline process variants are removed, that reconnection will bridge predecessors to successors, and it explicitly calls out the 412 ETag staleness condition.

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?

The description is compact yet information-dense. Every sentence contributes meaningful operational guidance: purpose, in-place behavior, reconnection semantics, intended use, restriction, and error handling. No filler or redundant restatement exists.

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

Completeness5/5

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

For a mutation tool with 5 parameters and no annotations, the description is remarkably complete: it explains the full mutation lifecycle, the side effects on edges and process variants, how accurate reconnection behaves, the important TRIGGER restriction, invalid name behavior, and ETag failure handling. Even without an output schema, an agent has enough context to invoke the tool correctly and interpret the most likely error condition.

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 already documents all five parameters with meaningful descriptions, including the subtle semantics of step references. The tool description does not add much parameter-level meaning beyond that, so a baseline score of 3 is appropriate since the schema fully carries the weight.

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

Purpose5/5

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

The description clearly states the action: removing one step/node from a Process Chain, and immediately distinguishes it from related tools like bw_remove_process_chain_edge by explicitly saying 'step (node)'. It also names the relevant API context and gives concrete behavioral detail, so an agent can tell this tool apart from siblings.

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

Usage Guidelines5/5

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

The description explicitly says when to use it: to roll back a step inserted in the wrong place. It also gives exclusion guidance (the TRIGGER/Start step cannot be removed) and explains the consequence of reconnect=false, including how to recover by rewiring with bw_add_process_chain_edge. This gives clear decision support.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dnic-dev/bw-modeling-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server