Skip to main content
Glama

Move shapes

move_elements

Move BPMN shapes to a new center or by an offset while keeping others in place; connections reroute and attached labels, boundary events, and pool or subprocess contents follow.

Instructions

Moves some shapes, to a new centre (x and y) or by a shift (dx and dy), leaving the rest in place. Connections are rerouted; boundary events, labels and the content of a pool or expanded subprocess move along. Connections and lanes do not move on their own. Returns the new centre of each shape; if one id is unknown, nothing moves.

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": {
      "elements": "<elements>"
    },
    "name": "move_elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
elementsYesShapes to move, each with x and y, or dx and dy

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.6

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important side effects: connections are rerouted, boundary events, labels, and pool or expanded subprocess contents move along, while connections and lanes do not move on their own. It also states the return value and atomic failure behavior when any id is unknown, which is valuable mutation context.

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?

The description is compact and front-loaded: the primary action, coordinate modes, side effects, exclusions, return value, and atomic failure behavior all appear without wasted wording. Each sentence earns its place.

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?

For a mutation tool with no output schema, the description covers the essential behavioral context, including movement scope, rerouting, accompanying elements, exclusions, return value, and all-or-nothing failure. An agent has enough information to invoke it correctly.

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%, so the schema already documents id, x, y, dx, and dy in detail. The description restates the x/y versus dx/dy choice but adds little parameter-level meaning beyond the schema.

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 states a specific verb and resource: moving shapes to a new centre or by a shift, while leaving other shapes in place. It is clear about scope, but it does not explicitly distinguish itself from siblings such as update_elements or duplicate_elements.

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?

It gives clear context for use by explaining the two coordinate modes, x/y versus dx/dy, and what does or does not move with the selected shapes. It lacks an explicit when-not-to-use clause or named alternative, but the operational guidance is strong.

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