Skip to main content
Glama

move_bpmn_element

Idempotent

Move, resize, or reassign BPMN elements to a lane by setting x/y, width/height, or laneId. Batch multiple element changes in one validated, single-undo operation.

Instructions

Move, resize, or reassign an element to a lane. Any combination of x/y (absolute move), width/height (resize, top-left preserved), and laneId (auto-centered) — at least one required. For several elements at once, pass moves: [{ elementId, x?, y?, width?, height?, laneId? }] instead — validated up front, applied as one undo step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNoNew X coordinate. Required unless laneId is given.
yNoNew Y coordinate. Required unless laneId is given.
movesNoBatch form — see the tool description.
widthNoNew width in pixels (top-left preserved).
heightNoNew height in pixels (top-left preserved).
laneIdNoTarget lane ID; x/y are ignored and the element is auto-centered in the lane.
diagramIdYesThe diagram ID
elementIdNoElement to move or resize. Omit when using `moves`.

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 already declare the mutation (readOnlyHint=false), idempotency, and closed-world scope. The description adds real behavioral context beyond that: resize preserves top-left, laneId auto-centers and ignores x/y, and batch moves are validated up front and collapse into one undo step.

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 core action, then the constraint, then the batch alternative. Every clause carries information; no filler.

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 mutating tool with annotations covering safety and idempotency and no output schema, the description covers operations, constraints, and batch behavior well. It could note failure modes (e.g., invalid laneId/elementId) but is largely 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 baseline is 3, but the description adds the combination semantics (any mix of coordinates/size/lane, at least one required) that the schema does not express, plus the top-left/auto-center behavior. It earns above baseline without duplicating schema text.

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 specific verbs (move, resize, reassign) plus the resource (BPMN element to a lane), and the sibling set (align_bpmn_elements, layout_bpmn_diagram) is clearly not this operation. An agent can distinguish it without opening the schema.

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

Usage Guidelines4/5

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

Explains the constraint that any combination is allowed but at least one of x/y, width/height, or laneId is required, and explicitly routes to the batch `moves` form for several elements. It does not name competing siblings (align/layout), so it falls just short of a 5.

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