Skip to main content
Glama

create_bpmn_participant

Create BPMN participant pools (swimlanes) for single or multi-pool collaborations, wrapping existing processes, and defining lanes for role separation.

Instructions

Create participant(s) (pools) in a BPMN diagram. Single pool: pass name. Wrap existing process: set wrapExisting=true. Multi-pool collaboration: pass participants array (min 2). Camunda 7: only one pool is executable; additional pools must be collapsed. For role separation within one organization, use lanes inside one pool — not multiple expanded pools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNoX coordinate (default: 300)
yNoY coordinate (default: auto-positioned below existing participants)
nameNoParticipant/pool name (for single-pool mode)
lanesNoOptional lanes to create within this participant (requires at least 2).
widthNoPool width in pixels (default: 600)
heightNoPool height in pixels (default: 250)
collapsedNoIf true, creates a collapsed pool (thin bar). Use for non-executable partner pools.
diagramIdYesThe diagram ID
processIdNoOptional process ID for the participant's process reference (e.g. "Process_OrderHandling").
participantsNoMulti-pool mode: create multiple participants at once (collaboration). Requires at least 2 entries. When provided, single-pool parameters (name, collapsed, etc.) are ignored.
wrapExistingNoWhen true, wraps the existing process flow nodes into a participant pool without duplicating elements. Use this to convert a plain process into a collaboration. Requires name to be set.
participantIdNoOptional explicit element ID. If omitted, a descriptive ID is generated.
additionalParticipantsNoAdditional collapsed partner pools to create when using wrapExisting mode. Each entry creates a collapsed pool below the main pool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=false and openWorldHint=false, so the description carries real behavioral load: the Camunda 7 constraint that only one pool is executable and additional pools must be collapsed is genuine domain semantics an agent could not infer elsewhere. It stops short of stating permissions or what the call returns, keeping it out of 5 territory.

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?

Five short sentences, each tied to a distinct mode or constraint, with the primary use case front-loaded. No filler and no repetition of coordinate/default details that the schema already owns.

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 13-parameter, no-output-schema mutation tool, the description covers the mode-selection logic, the wrap-existing workflow, and the Camunda 7 constraint, which is most of what an agent needs. It omits any note on post-creation return or how the new pool interacts with existing collaboration state, a minor gap.

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 schema already documents each parameter, including that participants ignores single-pool params and that wrapExisting requires name. The description's mode framing (name vs wrapExisting vs participants) is a useful synthesis but largely restates structured data, so the baseline 3 applies.

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+resource ('Create participant(s) (pools) in a BPMN diagram') and immediately disambiguates against the sibling lane tool by prescribing lanes for intra-organization role separation. An agent can distinguish this from create_bpmn_lanes and add_bpmn_elements without opening a schema.

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?

Enumerates the three concrete invocation modes (single pool via name, wrapExisting=true, multi-pool via participants with min 2) and gives an explicit when-not: use lanes inside one pool rather than multiple expanded pools. Alternatives and conditions are spelled out rather than implied.

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