Skip to main content
Glama
oisee
by oisee

connect

Create a connection between two elements in a BPMN diagram. Optionally add a label or condition expression to define the flow.

Instructions

Connect two elements in the current diagram

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelNoLabel for the connection (optional)
sourceIdYesID of the source element
targetIdYesID of the target element
conditionNoCondition expression for the flow (optional)
Behavior2/5

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

With no annotations, the description carries full burden but only says 'Connect two elements'. It does not disclose that the tool likely creates a sequence flow or message flow, whether it is destructive (e.g., overwrites existing connections), or if it requires source/target to be compatible types. The behavior is assumed but not explained.

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?

The description is a single concise sentence with no wasted words. However, it could be slightly more detailed without sacrificing conciseness, e.g., noting that the tool creates a flow between existing elements.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 4 parameters (2 required, 2 optional) and no output schema or annotations, the description is insufficient. It does not explain the purpose of optional parameters like 'label' or 'condition', nor does it provide context for when to use this tool in a diagram editing workflow. More completeness is needed for an agent 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?

The schema has 100% coverage with descriptions for all 4 parameters, so the baseline is 3. The description adds no additional parameter information beyond what the schema provides. For a simple connection tool, this is adequate but not enhanced.

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 clearly states the verb 'connect' and the resource 'two elements in the current diagram'. It is specific enough to distinguish from sibling tools like 'add_event' or 'add_activity', which focus on creating individual elements. However, it could be more precise about what 'connect' entails (e.g., flow, relation).

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. For example, it does not mention that elements must already exist or that the connection represents a flow in BPMN. There is no explicit when-not or context for using optional parameters like 'label' or 'condition'.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oisee/mcp-bpmn'

If you have feedback or need assistance with the MCP directory API, please join our Discord server