Skip to main content
Glama
dnic-dev

bw-modeling-mcp

by dnic-dev

bw_remove_process_chain_edge

Delete a dependency edge between two process-chain steps to re-route mis-wired chains. Optionally filter by status or branch, and verify reachability so the chain stays activatable.

Instructions

Remove the dependency (edge) between two existing steps of a Process Chain (RSPC), via the BW/4HANA Cockpit REST API. In-place edit: reads the current model, drops the matching edge(s), and PUTs it back. By default every edge between the two steps is removed, which is what an "always continue" dependency needs (it is stored as an on-success plus an on-error edge); pass status to remove just one of them. Use this together with bw_add_process_chain_edge to re-route a mis-wired chain. Removing an edge can leave a step unreachable from the start — the chain will not activate until every step has a path from the trigger. Reports a skip when no matching edge exists. 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
toYesTarget step. Same reference forms as "from".
fromYesSource step. 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"; "TRIGGER" or a collector type ("AND"/"OR"); or "#<index>" using the step numbers printed by bw_get_process_chain.
nameYesProcess chain technical name (e.g. "CHAIN_NAME"). Case-insensitive.
statusNoRemove only edges with this condition. Omit to remove every edge between the two steps.
activateNoIf true, activate the chain immediately after the edit. Default false.
sub_statusNoRemove only edges with this branch condition (a DECISION branch EVENTNO, e.g. "01"). Omit to ignore the branch condition.
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?

Even with no annotations provided, the description fully discloses behavioral traits: it performs an in-place read-modify-write via the REST API, removes all matching edges by default due to the two-edge representation of 'always continue', reports a skip if no edge exists, and surfaces ETag/412 stale-write behavior. This is unusually transparent.

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?

Six dense sentences, every one carrying operational information. The core operation is front-loaded; behavior details, warnings, and error handling follow logically. No filler or restatement of schema content.

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?

Given no output schema and no annotations, the description covers the critical context an agent needs: what the tool does, how it mutates the model, the edge model behind 'always continue', skip behavior, stale-ETag failure, and the inability to activate until the chain is reachable. This is unusually complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds meaningful interpretation, especially explaining why omitting 'status' removes both the on-success and on-error edges, and clarifying that 'sub_status' selects a DECISION branch. It builds on the schema without replacing it.

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 begins with 'Remove the dependency (edge) between two existing steps of a Process Chain (RSPC)', a specific verb and resource. It clearly distinguishes this from related tools like bw_remove_process_chain_step and pairs it with bw_add_process_chain_edge, making the tool's scope obvious.

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 states when to use the tool: together with bw_add_process_chain_edge to re-route a mis-wired chain. It also provides situational guidance about edge semantics, activation-preventing unreachable steps, and the behavior when no matching edge exists, giving an agent enough context to choose and invoke it appropriately.

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