Skip to main content
Glama
bw-modeling-mcp

bw-modeling-mcp

by dnic-dev

Run Business Process Flow instances

bw_run_bpf
Destructive

Create and manage BPC business process flow instances—start, suspend, resume, reset, finalize, archive, delete, change owners—and complete, reopen, approve, or reject activities.

Instructions

Run BPC Business Process Flows: create, start, suspend, resume, reset, finalize, archive and delete process instances, change their owner, and complete, reopen, approve or reject activities. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_run_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_run_bpf"
  }
}

Input Schema

NameRequiredDescriptionDefault
startNoStart the instance right after creating it (default false). [create_instance]
memberNoValue of the driving dimension, where the activity has an instance per value. [5 of 14 operations]
ownersNoDefined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [create_instance, change_instance_owner]
contextNoOne value per identity dimension of the template. [create_instance]
activityNoDefined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [5 of 14 operations]
operationYesOperation — one of: create_instance: Create a process instance of a BPF template: one context value per identity dimension, in internal format, and the owners. Requires environment, template_id, context, owners. | start_instance: Start a BPF process instance that was never started: it becomes active and its first activities open. Requires environment, instance_id. | suspend_instance: Suspend a BPF process instance that is active or waits to be finalized. Requires environment, instance_id. | resume_instance: Resume a suspended BPF process instance. Requires environment, instance_id. | reset_instance: Reset a running BPF process instance to its initial state: the first activities open again, the others are pending. Requires environment, instance_id. | finalize_instance: Finalize a BPF process instance whose activities are all completed. Requires environment, instance_id. | archive_instance: Archive a BPF process instance that is not active: it is moved to the archive and removed from the runtime tables, and the service cannot bring it back. Requires environment, instance_id. | delete_instance: Delete a BPF process instance. Requires environment, instance_id. | change_instance_owner: Change the owner of a BPF process instance. Requires environment, instance_id, owners. | set_activity_performers: Set the performers and reviewers of the activity instances of a BPF process instance: of all of them, or of the one that activity (with member) or activity_ins… Requires environment, instance_id. | complete_activity: Complete an activity instance of a BPF process instance. Requires environment. | reopen_activity: Reopen a completed activity instance of a BPF process instance. Requires environment. | approve_activity: Approve a submitted activity instance of a BPF process instance. Requires environment. | reject_activity: Reject a submitted activity instance of a BPF process instance. Requires environment.
reviewersNoDefined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [create_instance, set_activity_performers]
performersNoDefined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [create_instance, set_activity_performers]
environmentNoBPC environment (e.g. "MYENV").
instance_idNoDefined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [13 of 14 operations]
template_idNoId of the BPF template (e.g. "TEMPLATE_ID"). [create_instance]
suspend_firstNoSuspend an instance that is active or waits to be finalized before deleting it (default false). [delete_instance]
reviewer_teamsNoDefined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [create_instance, set_activity_performers]
performer_teamsNoDefined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [create_instance, set_activity_performers]
template_versionNoExpected template version. [create_instance]
activity_instance_idNoDefined per operation — bw_describe(tool: "bw_run_bpf", operation: "…") gives each definition. [5 of 14 operations]

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is covered by structured data. The description adds only that these are instance-mutating lifecycle operations; it does not restate the annotation-covered behavior but also contributes no extra context such as irreversibility of archive (that detail lives in the schema), permission requirements, or effects on related objects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the capability statement followed by the resolution mechanism for the 14-operation surface. The operation enumeration is long but dense and earns its space; the second sentence is somewhat redundant with the schema's repeated bw_describe pointers, which keeps it from a 5.

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 16-parameter, 14-operation mega-tool the description gives the agent the key missing piece: how to resolve per-operation parameter definitions via bw_describe. With a 100% coverage schema, no output schema needed, and annotations covering safety, the remaining gap is that nothing warns about operation preconditions at the description level or distinguishes this from the sibling write tool.

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 description coverage is 100% and the operation enum carries per-operation requirement lists, so the schema does the heavy lifting. The description's one contribution is telling the agent that parameter meanings are operation-scoped and that bw_describe(tool, operation) resolves them — helpful, but it adds no semantics of its own for fields like context, owners, or activity_instance_id.

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 opens with a specific verb+resource ("Run BPC Business Process Flows") and enumerates the full operation surface (create, start, suspend, resume, reset, finalize, archive, delete, change owner, complete/reopen/approve/reject activities), so an agent knows exactly what domain this covers. It never names the adjacent sibling bw_write_bpf or states the boundary between running instances and authoring/maintaining BPF definitions, so differentiation from siblings is left to inference.

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?

There is no explicit when-to-use vs when-not guidance at the description level, and no stated prerequisites such as permissions or instance state constraints. The description does route the agent to two concrete resources — the operation enum (which states per-operation requirements like "Requires environment, instance_id") and bw_describe for full parameter definitions — which is useful navigational guidance but not a usage policy.

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