Skip to main content
Glama
bw-modeling-mcp

bw-modeling-mcp

by dnic-dev

Create and change Business Process Flow templates

bw_write_bpf
Destructive

Create, edit, and activate BPC Business Process Flow templates—headers, versions, activities, workspace actions, and transport—to build and release business processes.

Instructions

Create or change a BPC Business Process Flow template: header, versions, activities, the actions in the workspace of an activity, activation, transport. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_bpf", operation: "…") gives the complete parameter definition of one.

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": {
      "operation": "<operation>"
    },
    "name": "bw_write_bpf"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, add_action]
roleNoFor open_web_application: launchpad role of the registered application. [add_action, update_action]
aliasNoFor open_web_application: application alias, instead of or in addition to role and instance. [add_action, update_action]
queryNoFor open_query: technical name of the query (e.g. "QUERY_NAME"). [add_action, update_action]
actionNoThe action, by its name or its ordinal number in the workspace. [update_action, remove_action, move_action]
ownersNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [create_template, update_template]
membersNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, update_activity]
packageNoPackage the object directory entry of the template is assigned to (e.g. "Z_PACKAGE"). [add_to_transport]
activityNoThe activity, by its name or its ordinal number. [7 of 18 operations]
instanceNoFor open_web_application: launchpad instance of the registered application. [add_action, update_action]
new_nameNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [update_activity, update_action]
positionNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [4 of 18 operations]
workbookNoFor open_workbook: technical name of the Analysis for Office workbook (e.g. "WORKBOOK_NAME"). [add_action, update_action]
operationYesOperation — one of: create_template: Create a BPF template as a draft: id, description, identity dimensions, process owners and options. Requires environment, template_id, description, identity_dimensions, owners. | copy_template: Copy a BPF template under a new id, as a draft, with its activities and workspaces. Requires environment, template_id, source_template_id, description. | new_version: Create the next version of a released BPF template as a draft. Requires environment, template_id. | edit: Take the draft of a BPF template into editing: locks it for the calling user and returns the draft. Requires environment, template_id. | update_template: Change the header of a BPF template draft: description, identity dimensions, process owners, options. Requires environment, template_id. | validate: Check a BPF template as the web client does before activation, and list the result with the template and its warnings about variables and parameters that are n… Requires environment, template_id. | activate: Activate (release) the draft of a BPF template. Requires environment, template_id. | unlock: Release the lock a user holds on the draft of a BPF template. Requires environment, template_id. | delete_draft: Delete the draft of a BPF template. Requires environment, template_id. | add_to_transport: Write a BPF template (R3TR BBPF, environment padded to 20 characters plus template id) to a transport request through the BW transport connection. Requires environment, template_id, transport, package. | add_activity: Add an activity to a BPF template draft and create the workspace of its performer. Requires environment, template_id, name, driving_dimension, members. | update_activity: Change an activity of a BPF template draft: name, instruction, driving dimension and members, AllowReopen, OpenCriteria. Requires environment, template_id, activity. | remove_activity: Remove an activity from a BPF template draft; the following activities move up. Requires environment, template_id, activity. | move_activity: Move an activity of a BPF template draft to another position in the order of the activities. Requires environment, template_id, activity, position. | add_action: Add an action to the workspace of an activity of a BPF template draft: open a workbook, open a query, open a registered web application, or open a URL. Requires environment, template_id, activity, action_type, name. | update_action: Change an action in the workspace of an activity of a BPF template draft: name, description, target, variable or parameter assignment. Requires environment, template_id, activity, action. | remove_action: Remove an action from the workspace of an activity of a BPF template draft. Requires environment, template_id, activity, action. | move_action: Move an action to another position among the actions of a workspace of a BPF template draft. Requires environment, template_id, activity, action, position.
transportNoTransport request number (e.g. DEVK900123). [add_to_transport]
variablesNoFor open_workbook and open_query: how variables are prefilled. Full definition: bw_describe(tool: "bw_write_bpf", operation: "add_action"). [add_action, update_action]
human_roleNoWhose workspace of the activity: "performer" (default) or "reviewer". [4 of 18 operations]
parametersNoFor open_web_application: how parameters are filled. Full definition: bw_describe(tool: "bw_write_bpf", operation: "add_action"). [add_action, update_action]
propertiesNoFor open_url: the properties of the action as they are stored, since this type has no convenience parameters. [add_action, update_action]
action_typeNoWhat the action does. [add_action]
descriptionNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [5 of 18 operations]
environmentNoBPC environment (e.g. "MYENV").
instructionNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, update_activity]
owner_teamsNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [create_template, update_template]
template_idNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition.
allow_reopenNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, update_activity]
open_criteriaNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, update_activity]
require_reviewNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, update_activity]
merge_variablesNoFor open_workbook and open_query: merge the variables of all data sources into one group (default true). [add_action, update_action]
auto_new_versionNoWhen the template is released and has no draft: create the next version as a draft and change that (default false, the call then stops and says so). [9 of 18 operations]
pattern_activityNoActivity whose workspace serves as the pattern, by name or ordinal. [add_activity]
driving_dimensionNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [add_activity, update_activity]
source_template_idNoId of the template to copy. [copy_template]
identity_dimensionsNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [create_template, update_template]
pattern_template_idNoTemplate whose activity serves as the pattern for the workspace. [add_activity]
check_current_step_onlyNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [create_template, update_template]
only_process_owner_reopenNoDefined per operation — bw_describe(tool: "bw_write_bpf", operation: "…") gives each definition. [create_template, update_template]

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotent, so the safety bar is partly covered; the description adds genuinely new behavioral context: operations act on a draft, 'edit' takes a lock for the calling user, 'unlock' releases another user's lock, and transport goes through the BW transport connection. It does not restate the destructive/irreversible nature of delete_draft or remove_activity in warning terms, which keeps it below 5.

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 sentences, front-loaded with the verb and resource, then the discovery path. Nothing is redundant and no sentence is filler, especially notable given how much schema surface it has to introduce.

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 an 18-operation destructive tool with 37 parameters and no output schema, the description delegates operation-level detail to a rich enum and a describe tool rather than duplicating it, which is a sound strategy. What is thin is the top-level framing of the draft/release lifecycle and transport consequences, which only surface inside individual enum entries rather than in the description itself.

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

Parameters5/5

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

Schema coverage is 100% and many parameters are explicitly deferred to bw_describe, so the baseline would be 3; however the description adds the key navigation rule that the operation enum carries per-operation requirements and bw_describe(tool, operation) yields the full definition, which is essential semantics for a 37-parameter, 18-operation tool. This tells the agent how to resolve every ambiguous parameter rather than leaving it to guesswork.

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?

States a specific verb pair ('Create or change') and a specific resource (BPC Business Process Flow template), then enumerates the scope it covers: header, versions, activities, workspace actions, activation, transport. That scope list cleanly separates it from read-side and run-side siblings such as bw_read or bw_run_bpf.

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 description tells the agent to consult the operation enum for what each operation requires and to call bw_describe for full parameter definitions, which is real routing guidance within the tool. It never says when to choose this tool over alternatives (e.g. bw_write_process_chain, bw_run_bpf) or when not to use it, so tool-selection guidance is only implied by the resource name.

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