MCP-BPMN Server
MCP-BPMN-Server
Ein Model Context Protocol (MCP)-Server für eine getestete Teilmenge der BPMN-2.0-Autorenschaft, einschließlich Mermaid-Konvertierung, lokaler Persistenz, Layout, Validierung und XML- oder SVG-Export.
🎯 Überblick
MCP-BPMN bietet eine zustandsbehaftete Schnittstelle für KI-Assistenten, um jeweils mit einem Geschäftsprozessdiagramm zu arbeiten. Es erstellt wohlgeformtes BPMN-2.0-XML für die unten aufgeführten Konstrukte; es ist kein vollständiger BPMN-2.0-Editor, keine Ausführungs-Engine und kein Bereitstellungs-Client. Tragbarer BPMN-Kern ist der Standard-Autorenvertrag, mit einem optionalen typisierten Camunda-7-Profil, das in ADR 0001 dokumentiert ist.
Hauptfunktionen
Fokussierte BPMN-Autorenschaft: Unterstützte Ereignisse, Aktivitäten, Gateways, Datenobjekte, Annotationen, Pools, Top-Level-Lanes, Sequenzflüsse und Assoziationen
Mermaid-Konvertierung: Bootstrap-Diagramme aus der dokumentierten Flowchart-Teilmenge
Horizontales Auto-Layout: Deterministische Prozess- und Kollaborationsplatzierung
Lokale Persistenz: Atomares Speichern und erneutes Öffnen von Diagrammen in einem konfigurierten Verzeichnis
XML- und SVG-Export: XML wird prozessintern generiert; SVG wird über Puppeteer und
bpmn-jsgerendertTragbare und Camunda-7-Profile: Standardmäßig anbieterfreie Ausgabe, mit drei typisierten Camunda-7-Benutzeraufgabenfeldern, wenn explizit ausgewählt
Related MCP server: MCP-BPMN Server
🚀 Schnellstart
Voraussetzungen
Node.js 22.12.0 oder neuer
npm mit Lockfile-Unterstützung
Chrome oder Chromium für
export({ format: "svg" }); die normale Puppeteer-Installation lädt einen kompatiblen Browser herunter
XML-Autorenschaft, Validierung, Layout, Persistenz und XML-Export starten keinen Browser. SVG-Export schon. Wenn der Puppeteer-Browser-Download absichtlich übersprungen wird, setzen Sie PUPPETEER_EXECUTABLE_PATH auf eine kompatible Chrome- oder Chromium-Ausführungsdatei, bevor Sie den Server starten. Das SVG-Rendering ist headless, auf eine gleichzeitige Renderung pro Serverinstanz beschränkt und hat ein Render-Timeout von zwanzig Sekunden.
Aus einem Quell-Checkout ausführen
git clone https://github.com/oisee/mcp-bpmn.git
cd mcp-bpmn
npm ci
npm run build
npm startnpm run build erzeugt das kanonische ESM-Ausführungsprogramm unter dist/server/index.js. Der Server verwendet stdio, erscheint daher normalerweise im Terminal als inaktiv und ist dafür gedacht, von einem MCP-Client gestartet zu werden.
Konfiguration
Für Claude Desktop
Fügen Sie Ihrer Claude-Desktop-Konfigurationsdatei Folgendes hinzu:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mcp-bpmn": {
"command": "node",
"args": ["/absolute/path/to/mcp-bpmn/dist/server/index.js"]
}
}
}Für andere MCP-Clients
Verwenden Sie denselben ESM-Einstiegspunkt mit einem absoluten Pfad:
node /absolute/path/to/mcp-bpmn/dist/server/index.jsEin gepacktes Release-Artefakt installieren
Dieses Repository dokumentiert derzeit eine npm-Tarball-Installation, anstatt anzunehmen, dass mcp-bpmn-server aus der öffentlichen npm-Registry verfügbar ist. Ein Release-Ersteller kann das kanonische CLI-only-Artefakt aus einem Quell-Checkout erstellen:
artifact_dir=$(mktemp -d)
npm pack --pack-destination "$artifact_dir"Installieren Sie diesen Tarball in ein dediziertes Verbraucherverzeichnis und führen Sie sein gepacktes ausführbares Programm aus:
consumer_dir=$(mktemp -d)
npm install --prefix "$consumer_dir" "$artifact_dir"/mcp-bpmn-server-*.tgz
"$consumer_dir/node_modules/.bin/mcp-bpmn-server"Für einen MCP-Client verwenden Sie den absoluten Wert von $consumer_dir/node_modules/.bin/mcp-bpmn-server als command und ein leeres args-Array. Das Paket ist eine CLI, keine importierbare JavaScript-Bibliothek.
Für Claude Code und Codex installieren
Aus einem Quell-Checkout verpackt das Installationsprogramm die aktuelle Version in einen stabilen, benutzereigenen Speicherort, registriert ihren MCP-Server und installiert die bpmn-modeler-Fähigkeit für jeden unterstützten Client, der auf PATH gefunden wird:
make install
make doctorDer Standardprogramm-Speicherort ist ~/.local/share/mcp-bpmn, während Diagramme außerhalb der Installation in ~/mcp-bpmn bleiben. Die Fähigkeit wird nach ~/.codex/skills/bpmn-modeler für Codex und ~/.claude/skills/bpmn-modeler für Claude Code kopiert. Starten Sie die Clients nach der Installation neu, damit sie die neue Fähigkeit und den MCP-Server entdecken.
Die Installation ist idempotent: Das erneute Ausführen von make install ersetzt nur Dateien und Registrierungen, die diesem Installationsprogramm gehören. Bestehende Drittanbieter-Registrierungen oder Fähigkeitsverzeichnisse bleiben erhalten, es sei denn, ein Ersatz wird explizit mit FORCE=1 angefordert. Zielen Sie auf einen Client, aktualisieren Sie eine bestehende Installation oder deinstallieren Sie unter Beibehaltung der Diagramme mit:
make install-codex
make install-claude
make update
make uninstallSetzen Sie PREFIX, um den Programm-Speicherort zu ändern, und MCP_BPMN_DIAGRAMS_PATH, um ein anderes absolutes Diagrammverzeichnis zu verwenden. Ein vorgefertigtes Release-Tarball kann reproduzierbar installiert werden, indem sowohl MCP_BPMN_PACKAGE_TARBALL als auch sein erforderliches MCP_BPMN_PACKAGE_SHA256 gesetzt werden. Führen Sie ./scripts/install-agent-integrations.sh --help für die vollständige Schnittstelle aus. Das Installationsprogramm unterstützt macOS und Linux, einschließlich WSL mit Linux-nativem Node.js und Client-CLIs.
Das Codex-Plugin lokal entwickeln
Das Release-Artefakt ist auch ein Codex-Plugin. Sein Manifest entdeckt die kanonische skills/bpmn-modeler-Fähigkeit und startet einen mcp-bpmn-stdio-Server über einen Launcher, der in den Plugin-Cache kopiert wird. Der Launcher verwendet die stabile private Version, die von make install-codex installiert wurde; er führt kein TypeScript aus und hängt nach der Installation nicht vom Checkout ab.
Erstellen Sie das Release-Artefakt, fügen Sie diesen Checkout als temporären Repo-Marktplatz hinzu und installieren Sie das Plugin mit:
npm ci
npm run build
make install-codex
codex plugin marketplace add .
codex plugin list --available
codex plugin add mcp-bpmn@mcp-bpmn-localStarten Sie nach der Installation eine neue Codex-Konversation, damit die Fähigkeit und die MCP-Tools geladen werden. Der gebündelte Server verwendet standardmäßig den writes-Genehmigungsmodus: Als schreibgeschützt markierte Tools können automatisch ausgeführt werden, während Diagrammmutationen zur Genehmigung sichtbar bleiben. Entfernen Sie die Entwicklungsinstallation mit:
codex plugin remove mcp-bpmn@mcp-bpmn-local
codex plugin marketplace remove mcp-bpmn-localFühren Sie den isolierten Marktplatz-, Cache-, Discovery-, MCP-Start- und Entfernungs-Smoke aus, ohne die echte Codex-Konfiguration zu ändern:
npm run test:codex-pluginDas Claude-Code-Plugin lokal entwickeln
Das Release-Artefakt ist auch ein Claude-Code-Plugin. Claude entdeckt die kanonische skills/bpmn-modeler/SKILL.md als die namespaced Fähigkeit /mcp-bpmn:bpmn-modeler und startet den Inline-mcp-bpmn-Server aus dem Plugin-Cache. Das Plugin verwendet skills/; es enthält keine veraltete commands/-Kopie.
Aus einem Quell-Checkout installieren Sie Abhängigkeiten, erstellen, validieren und laden das Plugin für eine Entwicklungssitzung:
npm ci
npm run build
claude plugin validate .
claude --plugin-dir .Verwenden Sie in Claude Code /mcp, um den vom Plugin bereitgestellten Server zu bestätigen, rufen Sie /mcp-bpmn:bpmn-modeler auf, um die Fähigkeit zu inspizieren, und führen Sie /reload-plugins aus, nachdem Sie das Manifest oder die MCP-Konfiguration geändert haben. Der Checkout enthält eine Root-CLAUDE.md für Repository-Mitwirkende, daher meldet die Quellvalidierung, dass es sich nicht um Plugin-Kontext handelt; der Befehl wird trotzdem erfolgreich ausgeführt. Das gepackte Plugin schließt diese nur für das Repository bestimmte Datei aus und besteht die strenge Validierung.
Führen Sie den vollständigen lokalen Marktplatz-Smoke mit:
npm run test:claude-pluginDiese Prüfung verwendet ein temporäres Claude-Home und einen temporären Marktplatz. Sie installiert ein kopiertes Release-Artefakt, prüft die Komponenteninventur von Claude, startet den gecachten MCP-Server, übt ein Neuladen aus und deaktiviert, aktiviert und entfernt dann das Plugin. Sie ändert nicht die echte Claude-Konfiguration des Entwicklers.
Diagramme werden niemals in ${CLAUDE_PLUGIN_ROOT} geschrieben. Sie bleiben in MCP_BPMN_DIAGRAMS_PATH, wenn gesetzt, oder standardmäßig in ~/mcp-bpmn, sodass Plugin-Neuladungen, -Updates, -Deaktivierungen und -Entfernungen sie nicht löschen. Bevor Sie von einer manuellen Claude-MCP-Registrierung zum Plugin wechseln, prüfen Sie claude mcp list und entfernen Sie die alte mcp-bpmn-Registrierung, wenn ihr Befehl sich vom Plugin-Endpunkt unterscheidet; Claude dedupliziert nur Plugin- und Benutzerserver, die auf denselben Befehl auflösen.
Agenten-Workflows evaluieren
Das kanonische maschinenlesbare Korpus ist evals/bpmn-modeler/cases.json. Beide Client-Adapter verwenden genau diese Prompts und semantischen Erwartungen. Die deterministische Prüfung ist für normale Entwicklung und CI sicher: Sie verifiziert Aktivierungsgrenzen, Fähigkeitsmetadaten, Toolnamen, Client-Parität und die Sequenz create/mutate/validate/layout/validate/export, ohne ein Modell aufzurufen:
npm run test:evaluationsAuthentifizierte Modellläufe sind opt-in. Erstellen Sie zuerst, wählen Sie dann einen begrenzten Fall aus, während Sie iterieren:
npm run build
npm run eval:codex -- --case direct-process-svg
npm run eval:claude -- --case direct-process-svgDer Codex-Adapter führt codex exec in einem temporären Projekt aus, das die kanonische Fähigkeit und eine projektspezifische stdio-MCP-Konfiguration enthält. Der Claude-Adapter materialisiert dieselben Fälle als native claude plugin eval-Fälle in einer temporären Plugin-Kopie. Beide setzen MCP_BPMN_DIAGRAMS_PATH auf ein temporäres Verzeichnis, kopieren nur deklarierte Setup-Fixtures dorthin und entfernen das Verzeichnis danach; sie lesen, überschreiben oder löschen niemals Diagramme aus dem echten Speicher des Benutzers. Lassen Sie --case weg, um das vollständige Korpus auszuführen. Diese Befehle können Modellkontingent verbrauchen und sind absichtlich von npm run check und CI ausgeschlossen.
Optionales CommonJS-Bundle
Das CommonJS-Bundle ist ein separater Quell-Checkout-Build und wird nicht von npm run build erzeugt oder in das kanonische npm-Tarball aufgenommen:
npm run build:bundle
npm run start:bundle📚 API-Referenz
Zustandsbehaftetes Kontextmanagement
MCP-BPMN verwendet ein zustandsbehaftetes API-Design, bei dem Sie jeweils mit einem Diagramm arbeiten. Alle Operationen gelten für den aktuellen Diagrammkontext, wodurch die Notwendigkeit von processId-Parametern entfällt.
Beworbene Tool-Matrix
Die Überschriften in dieser API-Referenz zählen jedes Tool auf, das von tools/list zurückgegeben wird. Die ausführbare Paritätsbasislinie ist tests/contracts/engine-contract.test.ts, mit fokussiertem Verhalten in den Unit-, Integrations- und End-to-End-Suiten.
Jedes beworbene Tool enthält auch die standardmäßigen MCP-Annotationen readOnlyHint, destructiveHint, idempotentHint und openWorldHint. Diese Annotationen beschreiben beobachtbares Serververhalten: Autorenaufrufe speichern automatisch, Ersetzungs- und Löschaufrufe können vorhandenen Zustand zerstören, und alle Operationen bleiben innerhalb des konfigurierten lokalen Diagrammspeichers. MCP-Annotationen sind beratende Hinweise, keine Autorisierungsgrenze; Clients müssen weiterhin ihre eigenen Vertrauens- und Genehmigungsrichtlinien anwenden.
Bereich | Beworbene Tools | Getesteter Umfang und Grenze |
Kontexterstellung/Import |
| Prozess- oder Kollaborationswurzeln; dokumentierte Mermaid-Teilmenge; Importe müssen in das kanonische Modell des Servers passen |
Kontextlebenszyklus |
| Ein aktives Diagramm und Dateiname; lokale atomare Persistenz |
Autorenschaft |
| Die expliziten Schema-Enums und typisierten Eigenschaften unten, nicht beliebige BPMN-Elemente oder Erweiterungsattribute |
Beziehungen |
| Direktes |
Abfrage/Mutation |
| Paginierte Abfragen und die dokumentierten typisierten Mutationsfelder |
Export/Qualität |
| XML oder browserbasiertes SVG; geschichtete strukturelle Validierung; nur horizontales Layout |
Gespeicherte Dateien |
| Sandbox-Zugriff innerhalb des konfigurierten Diagrammverzeichnisses |
Erstellungstools
new_bpmn
Erstellen Sie ein neues BPMN-Prozess- oder Kollaborationsdiagramm und setzen Sie es als aktuellen Kontext.
{
name: "Order Processing",
type: "process" // or "collaboration" (optional, defaults to "process")
}new_from_mermaid
Erstellen Sie ein neues BPMN-Diagramm aus Mermaid-Code und legen Sie es als aktuellen Kontext fest.
{
name: "My Process",
mermaidCode: "graph TD\n A[Start] --> B[Task] --> C[End]"
}Mermaid-Konvertierung unterstützt absichtlich eine fokussierte Flowchart-Teilmenge:
Mermaid-Konstrukt | BPMN-Zuordnung | ||
| Task (die genauen Bezeichnungen | ||
| Start-/Ende-Ereignis, wenn die Topologie eines identifiziert; andernfalls Zwischen-Throw-Ereignis | ||
| Exklusives Gateway | ||
| Teilprozess | ||
| Eigenständige Datenobjekt-Referenz, die mit einem zugrunde liegenden Datenobjekt verknüpft ist | ||
`--> | Label | ` | Anzeigename für Sequenz-/Nachrichtenfluss; Beschriftungen sind keine Bedingungsausdrücke |
| Teilnehmer mit eigenem Prozess; Kanten zwischen Subgraphen werden zu Nachrichtenflüssen |
Wenn ein Subgraph vorhanden ist, muss jeder Knoten zu genau einem Top-Level-Subgraph gehören. Verschachtelte Subgraphen und Sequenzflussverbindungen zu Datenknoten werden vor dem BPMN-Export abgelehnt. Styling, Klick-Handler, CSS-Klassen und gepunktete Kantendarstellung werden in BPMN nicht dargestellt; akzeptierte verlustbehaftete Syntax gibt eine Konvertierungswarnung zurück. Textbeschriftungen und Subgraph-Namen werden XML-escaped und durchlaufen BPMN unverändert.
Dateioperationen
open_bpmn
Öffnen Sie eine vorhandene BPMN-Datei und legen Sie sie als aktuellen Kontext fest.
{
filename: "my-process.bpmn"
}open_mermaid_file
Öffnen und konvertieren Sie eine Mermaid-Datei in BPMN und legen Sie sie als aktuellen Kontext fest.
{
filename: "my-flowchart.mmd"
}save
Speichern Sie das aktuelle Diagramm atomar in seiner aktiven Datei. Neue und geöffnete Diagramme haben bereits einen aktiven Dateinamen, und erfolgreiche Mutationen speichern automatisch in derselben Datei.
{}save_as
Speichern Sie das aktuelle Diagramm atomar mit einem neuen Dateinamen und machen Sie diesen Dateinamen aktiv. Spätere Mutationen aktualisieren nur die neue Datei; die vorherige Datei bleibt eine unveränderte Momentaufnahme.
{
filename: "my-process.bpmn"
}close
Schließen Sie das aktuelle Diagramm und leeren Sie den Kontext.
{}current
Informationen über das aktuelle Diagramm abrufen.
{}Werkzeuge zur Elementbearbeitung
add_event
Fügen Sie Ereignisse (Start, Ende, Zwischen, Rand) zum aktuellen Diagramm hinzu.
{
eventType: "start", // start, end, intermediate-throw, intermediate-catch, boundary
name: "Order Received",
eventDefinition: "message", // optional; only BPMN-legal event kind/definition pairs are accepted
eventDefinitionPayload: {
reference: { name: "Order received" } // root ID is generated when omitted
},
position: { x: 100, y: 200 } // optional
}Timer-Definitionen erfordern timer: { type: "timeDate" | "timeDuration" | "timeCycle", expression, language? }; bedingte Definitionen erfordern condition: { expression, language? }. Fehler- und Eskalationsreferenzen können auch code enthalten. Kompensations-Throws können activityRef und waitForCompletion enthalten; Kompensations-Randereignisse sind nicht unterbrechend.
add_activity
Fügen Sie Aktivitäten (Aufgaben, Teilprozesse) zum aktuellen Diagramm hinzu.
{
activityType: "userTask", // task, userTask, serviceTask, scriptTask, etc.
name: "Review Order",
position: { x: 250, y: 200 }, // optional
properties: { // optional; Camunda 7 profile only on userTask
assignee: "reviewer",
candidateGroups: ["operations", "approvers"],
dueDate: "${dueDate}"
}
}Neue BPMN- und Mermaid-Dokumente akzeptieren extensionProfile: "portable" | "camunda7"; der Standard ist portable. Der portable Modus lehnt die drei Herstellerfelder ab und gibt keinen Hersteller-Namespace aus. Camunda-Updates akzeptieren null für jedes davon, um das entsprechende XML-Attribut zu entfernen. Kandidatengruppeneinträge dürfen keine Kommas enthalten. Importiertes BPMN erkennt die tatsächliche Verwendung des Camunda-Namespace und bewahrt andere warnungsfreie Erweiterungen opak.
Aufrufaktivitäten werden als bpmn:callActivity serialisiert. Ihr optionales properties.calledElement ist ein lexikalischer BPMN-QName, der das aufrufbare Element identifiziert; es muss nicht mit einer Prozess-ID im aktuellen Diagramm übereinstimmen.
Aktivitäten können standardmäßige BPMN-Multi-Instance-Schleifenmerkmale verwenden. Setzen Sie isSequential auf false für parallele Instanzen oder auf true für sequenzielle Instanzen:
{
activityType: "serviceTask",
name: "Process Batch",
properties: {
multiInstance: {
isSequential: false,
loopCardinality: {
body: "requestedInstanceCount",
language: "urn:example:expression-language"
},
completionCondition: {
body: "completedInstanceCount >= requiredInstanceCount",
language: "urn:example:expression-language"
},
loopDataInputRef: "DataObjectReference_Input", // optional ItemAwareElement ID
loopDataOutputRef: "DataObjectReference_Output" // optional ItemAwareElement ID
}
}
}Der Server bewahrt Ausdruckskörper exakt und serialisiert sie als BPMN-FormalExpression-Werte. Er parst oder wertet sie nicht aus, wählen Sie also eine Sprache/Profil, die von der BPMN-Engine unterstützt wird, die das exportierte Diagramm ausführen wird. Die Schleifendatenreferenzen müssen vorhandene BPMN-ItemAwareElement-Instanzen identifizieren; das portable Schema gibt kein herstellerspezifisches collection-Attribut aus. Herstellerspezifische Bindungs- oder Versionsattribute werden vom portablen BPMN-Dialekt nicht ausgegeben.
{
activityType: "callActivity",
name: "Invoke fulfillment",
properties: { calledElement: "FulfillmentProcess" }
}add_gateway
Fügen Sie Gateways für Verzweigungslogik zum aktuellen Diagramm hinzu.
{
gatewayType: "exclusive", // exclusive, parallel, inclusive, eventBased, complex
name: "Payment Check",
position: { x: 400, y: 200 } // optional
}add_data_object
Fügen Sie eine sichtbare bpmn:dataObjectReference und ihr verknüpftes, nicht gerendertes bpmn:dataObject hinzu. Der Sammlungszustand gehört zum zugrunde liegenden Objekt. Ein optionales itemSubjectRef muss eine vorhandene bpmn:itemDefinition identifizieren, z. B. eine aus einem importierten Diagramm geladene.
{
name: "Order records",
position: { x: 400, y: 320 }, // optional reference position
isCollection: true, // optional, defaults to false
itemSubjectRef: "ItemDefinition_Order" // optional existing definition ID
}Daten-Eingabe-/Ausgabe-Assoziationen sind BPMN-Konstrukte, die Aktivitäten gehören, und werden nicht von add_association erstellt, das die generische Artefakt-Assoziation bleibt.
add_text_annotation
Fügen Sie eine BPMN-Textannotation hinzu. Text wird exakt erhalten, einschließlich Zeilenumbrüchen und XML-Metazeichen. textFormat standardmäßig auf BPMNs text/plain; Position und Größe standardmäßig auf die Annotationsgeometrie der Engine. Die Angabe von associatedElementId erstellt auch eine separate, ungerichtete BPMN-Assoziation von der Annotation zu diesem Element.
{
text: "Review the exception path\nbefore approval",
textFormat: "text/markdown", // optional
position: { x: 400, y: 320 }, // optional
size: { width: 220, height: 80 }, // optional
associatedElementId: "UserTask_1" // optional
}connect
Verbinden Sie zwei Elemente mit einem Sequenzfluss im aktuellen Diagramm.
{
sourceId: "ExclusiveGateway_1",
targetId: "UserTask_1",
label: "Start Flow", // optional
condition: "amount > 1000", // optional, for conditional sequence flows
conditionLanguage: "FEEL", // optional
conditionType: "bpmn:FormalExpression", // optional
isDefault: false // optional; default flows cannot have conditions
}Bedingungen und Standardwerte werden für Aktivitäten und exklusive, inklusive oder komplexe Gateways unterstützt. Ein Standardfluss kann nicht auch eine Bedingung haben.
add_association
Fügen Sie ein BPMN-Assoziationsartefakt zwischen zwei BaseElements in einem kompatiblen Prozess- oder Kollaborationsbereich hinzu. Dies unterscheidet sich von Sequenz- und Nachrichtenflüssen. associationDirection standardmäßig auf BPMNs None-Wert.
{
sourceId: "TextAnnotation_1",
targetId: "UserTask_1",
associationDirection: "One" // None, One, or Both
}add_pool
Fügen Sie einen Pool (Teilnehmer) zu einem Kollaborationsdiagramm hinzu.
{
name: "Customer",
position: { x: 100, y: 100 }, // optional
size: { width: 600, height: 250 }, // optional
blackBox: false // optional; true creates a participant without an owned process
}add_lane
Fügen Sie eine Spur zu einem White-Box-Pool hinzu und weisen Sie direkte Prozessflussknoten zu. Knoten, die bereits einer anderen Spur zugewiesen sind, werden in die neue Spur verschoben.
{
poolId: "Participant_1",
name: "Sales Department",
flowNodeIds: ["StartEvent_1", "UserTask_1"],
position: "bottom" // optional
}Abfrage- und Bearbeitungswerkzeuge
list_elements
Listen Sie eine stabile, nach ID geordnete Seite von Elementen und Assoziationsartefakten im aktuellen Diagramm auf. Filtern Sie mit elementType: "bpmn:Association", um nur Assoziationen aufzulisten.
{
elementType: "bpmn:Task", // optional filter
limit: 100, // optional, defaults to 100; maximum 500
offset: 0 // optional, defaults to 0
}Die Antwort ist { count, returnedCount, offset, limit, hasMore, elements }. Kompatibilitätshinweis: Der Paginierungs-Envelope ersetzt die frühere Bare-Array-Antwort; Clients, die gegen diesen Vertrag geschrieben wurden, müssen jetzt elements lesen. Die vorhandenen Elementfelder behalten ihre Bedeutung; zusätzliche Metadatenfelder und Spureinträge können vorhanden sein.
get_element
Details eines bestimmten Elements oder einer Assoziation abrufen.
{
elementId: "UserTask_1"
}update_element
Elementeigenschaften aktualisieren.
{
elementId: "UserTask_1",
name: "Updated Task Name",
properties: { assignee: "john.doe", candidateGroups: ["reviewers"] },
defaultFlow: "Flow_2" // outgoing flow ID, or null to clear
}delete_element
Löschen Sie ein Element und seine anfallenden Verbindungen. Das Übergeben einer Assoziations-ID löscht nur diese Assoziation und lässt ihre Endpunkte intakt; das Löschen eines Endpunkts, einschließlich einer Textannotation, kaskadiert auf seine Assoziationen.
{
elementId: "Task_1"
}Dienstprogrammwerkzeuge
export
Exportieren Sie das aktuelle Diagramm als BPMN 2.0 XML oder als gerendertes SVG.
{
format: "xml", // "xml" or "svg"; defaults to "xml"
formatted: true // optional; applies to XML and defaults to true
}XML-Export gibt Text zurück und startet keinen Browser. SVG-Export startet einen Headless-Browser über Puppeteer, rendert mit bpmn-js, bereinigt das Ergebnis und gibt eine eingebettete image/svg+xml-Ressource zurück. Es erfordert eine verfügbare Chrome/Chromium-Ausführungsdatei und behält die sichtbare bpmn.io-Zuschreibung bei, die unter Lizenz beschrieben ist.
validate
Validieren Sie die Struktur des aktuellen Diagramms.
{
level: "full" // "syntax", "semantic", or "full"; defaults to "full"
}Validierungsstufen sind kumulativ. syntax parst XML und löst Referenzen auf; semantic fügt besitzerbewusste Ereignis-, Fluss-, Teilprozess-, Spuren- und Kollaborationsregeln hinzu; full fügt auch Start-/Ende-/Konnektivitätsrichtlinien für ausführbare Profile hinzu.
auto_layout
Wenden Sie automatisches Layout an, um Elemente im aktuellen Diagramm zu positionieren.
{
algorithm: "horizontal" // currently only horizontal is supported
}Das Layout läuft in einem beendbaren Unterprozess mit einem standardmäßigen Fünf-Sekunden-Budget. Eine benchmarkbasierte Vorprüfung akzeptiert höchstens 2.000 Elemente, 2.000 Verbindungen und 10 Verbindungen pro Element; Eingaben über einem Limit werden vor dem Layout abgelehnt. Bei Kollaborationen wird jeder Teilnehmerprozess unabhängig eingestuft, sodass Nachrichtenflüsse die Reihenfolge der Sequenzflüsse nicht ändern. Automatisches Layout ersetzt manuelle Knoten- und Containerkoordinaten, aber angeforderte/importierte Teilnehmer- und Spurabmessungen bleiben untere Grenzen. Pools werden dann ohne Überlappung gestapelt; Spuren und zugehörige Knoten bleiben enthalten, und Nachrichtenflüsse werden erst nach der endgültigen Poolplatzierung geroutet. Nicht verbundene Knoten werden deterministisch in ihrem Besitzerprozess gepackt, verschachtelte Teilprozesse behalten semantische Containment, und Black-Box-Teilnehmer behalten ihre angeforderte Mindestgröße ohne erfundenen Prozessinhalt.
Dateiverwaltungswerkzeuge
list_diagrams
Listen Sie eine stabile, nach Dateinamen geordnete Seite gespeicherter BPMN-Diagramme auf.
{
limit: 100, // optional, defaults to 100; maximum 500
offset: 0 // optional, defaults to 0
}Die vorhandenen Antwortfelder { count, diagrams, path } bleiben verfügbar; returnedCount, offset, limit und hasMore beschreiben die ausgewählte Seite. Nur Dateien auf der ausgewählten Seite werden für eingebettete BPMN-Metadaten gelesen, und das aggregierte Metadatenlesen ist standardmäßig auf 5 MiB begrenzt.
delete_diagram_file
Löschen Sie eine gespeicherte Diagrammdatei.
{
filename: "old-process.bpmn"
}get_diagrams_path
Den Speicherpfad für Diagramme abrufen.
{}🔄 Kontextverwaltung
Der MCP-BPMN-Server verwendet ein zustandsbehaftetes Design, bei dem Sie jeweils mit einem Diagramm arbeiten:
Erstellen oder Öffnen: Beginnen Sie mit dem Erstellen eines neuen Diagramms (
new_bpmn,new_from_mermaid) oder dem Öffnen eines vorhandenen (open_bpmn,open_mermaid_file)Bearbeiten: Alle Operationen (
add_event,connectusw.) gelten für das aktuelle DiagrammSpeichern: Speichern Sie Ihre Arbeit mit
saveodersave_asSchließen: Schließen Sie das aktuelle Diagramm mit
close
Wenn Sie versuchen, Operationen ohne aktuellen Kontext auszuführen, erhalten Sie eine hilfreiche Fehlermeldung:
No current context. Please create a diagram first with:
- new_bpmn(name) to create a new BPMN diagram
- new_from_mermaid(name, mermaidCode) to convert from Mermaid
- open_bpmn(filename) to open an existing BPMN file
- open_mermaid_file(filename) to convert a Mermaid file💡 Beispiele
Beispiel 1: Erstellen eines Genehmigungsprozesses von Grund auf
// Step 1: Create a new process (sets it as current context)
await new_bpmn({ name: "Approval Workflow" });
// Step 2: Add elements (all operations apply to current diagram)
await add_event({ eventType: "start", name: "Request Received" });
await add_activity({ activityType: "userTask", name: "Review Request" });
await add_gateway({ gatewayType: "exclusive", name: "Approved?" });
await add_activity({ activityType: "serviceTask", name: "Process Approval" });
await add_activity({ activityType: "userTask", name: "Handle Rejection" });
await add_event({ eventType: "end", name: "Complete" });
// Step 3: Connect elements
await connect({ sourceId: "StartEvent_1", targetId: "UserTask_1" });
await connect({ sourceId: "UserTask_1", targetId: "ExclusiveGateway_1" });
await connect({ sourceId: "ExclusiveGateway_1", targetId: "ServiceTask_1", label: "Yes" });
await connect({ sourceId: "ExclusiveGateway_1", targetId: "UserTask_2", label: "No" });
await connect({ sourceId: "ServiceTask_1", targetId: "EndEvent_1" });
await connect({ sourceId: "UserTask_2", targetId: "EndEvent_1" });
// Step 4: Apply auto-layout for proper positioning
await auto_layout();
// Step 5: Save and export the diagram
await save_as({ filename: "approval-workflow.bpmn" });
const xml = await export();Beispiel 2: Bootstrap aus Mermaid (empfohlen für geringeren Token-Verbrauch)
// Step 1: Create from Mermaid syntax (much more concise!)
await new_from_mermaid({
name: "Approval Workflow",
extensionProfile: "camunda7",
mermaidCode: `
graph TD
A((Request Received)) --> B[Review Request]
B --> C{Approved?}
C -->|Yes| D[Process Approval]
C -->|No| E[Handle Rejection]
D --> F((Complete))
E --> F
`
});
// Step 2: Apply auto-layout (Mermaid conversion includes basic layout)
await auto_layout();
// Step 3: Make additional edits if needed
await update_element({
elementId: "UserTask_1",
properties: { assignee: "reviewer" }
});
// Step 4: Save and export
await save_as({ filename: "approval-workflow.bpmn" });
const xml = await export();Beispiel 3: Arbeiten mit mehreren Diagrammen
// Create first diagram
await new_bpmn({ name: "Process A" });
await add_event({ eventType: "start" });
await add_activity({ activityType: "task", name: "Task A" });
await save_as({ filename: "process-a.bpmn" });
// Create second diagram (automatically closes the first)
await new_bpmn({ name: "Process B" });
await add_event({ eventType: "start" });
await add_activity({ activityType: "task", name: "Task B" });
await save_as({ filename: "process-b.bpmn" });
// Go back to first diagram
await open_bpmn({ filename: "process-a.bpmn" });
await add_event({ eventType: "end" });
await save();
// Check current diagram info
const info = await current();
console.log(info); // Shows: { name: "Process A", filename: "process-a.bpmn", ... }🗂️ Dateispeicherung
BPMN-Diagramme werden automatisch in Ihrem lokalen Dateisystem gespeichert:
Unix/Linux/Mac:
~/mcp-bpmn/Windows:
%USERPROFILE%\mcp-bpmn\
Benutzerdefinierter Pfad über Umgebungsvariable:
export MCP_BPMN_DIAGRAMS_PATH=/custom/pathRessourcengrenzen können mit MCP_BPMN_MAX_IMPORT_BYTES, MCP_BPMN_MAX_MERMAID_BYTES, MCP_BPMN_MAX_LAYOUT_ELEMENTS, MCP_BPMN_MAX_LAYOUT_CONNECTIONS, MCP_BPMN_MAX_LAYOUT_DENSITY, MCP_BPMN_MAX_LAYOUT_BYTES, MCP_BPMN_MAX_CONCURRENT_LAYOUTS, MCP_BPMN_MAX_LISTING_ITEMS, MCP_BPMN_MAX_LISTING_METADATA_BYTES und MCP_BPMN_LAYOUT_TIMEOUT_MS eingestellt werden. Die Frist für das ordnungsgemäße Herunterfahren kann mit MCP_BPMN_SHUTDOWN_TIMEOUT_MS überschrieben werden. Standardwerte sind 5 MiB pro importiertem/Layout-Eingang und pro Metadaten-Seite, 2.000 Layout-Elemente/Verbindungen, Dichte 10, zwei gleichzeitige Layout-Unterprozesse, 10.000 Auflistungskandidaten und 5.000 ms. Die Layout-Standardwerte stammen aus lokalen Sparse/Dense-Benchmarks: 2.000/1.999 in etwa 1,4 s, 25/300 in etwa 4,8 s und 26/325 überschritten fünf Sekunden.
Bei SIGINT, SIGTERM oder stdin-EOF stoppt der Server die Annahme von Tool-Aufrufen und lässt akzeptierte Operationen und deren atomare Persistenz abschließen, bevor er Renderer-/Layout-Unterprozesse und den stdio-Transport schließt. Das ordnungsgemäße Herunterfahren hat eine harte 15-Sekunden-Frist; deren Überschreitung erzwingt einen Exit mit Nicht-Null-Status.
Neue Diagramme beginnen mit dem Dateinamen {ProcessId}_{ProcessName}.bpmn. Jedes Diagramm hat genau einen aktiven Dateinamen: Beim Öffnen wird der geöffnete Dateiname übernommen und save_as wechselt ihn, nachdem die neue Datei erfolgreich geschrieben wurde. Hinzufügen, Aktualisieren, Löschen, Verbinden und Layout-Operationen serialisieren und speichern die aktive Datei atomar automatisch; fehlgeschlagene Serialisierung oder Schreibvorgänge belassen sowohl Speicher als auch Festplatte im letzten erfolgreichen Zustand.
🏗️ Architektur
Technologie-Stack
TypeScript - Typsichere Entwicklung
Node.js - Laufzeitumgebung
MCP SDK - Implementierung des Model Context Protocol
Jest - Test-Framework
Schlüsselkomponenten
SimpleBpmnEngine- Kanonische BPMN-Dokumentmutation, Persistenz und XML-ExportBpmnSvgRenderer- Isoliertes, browserbasiertesbpmn-js-SVG-RenderingDiagramContext- Zustandsbehaftetes Kontextmanagement für das aktuelle DiagrammBpmnAutoLayoutV2Adapter- BPMN-Auto-Layout-IntegrationBpmnRequestHandler- MCP-AnfrageverarbeitungMermaidConverter- Mermaid-zu-BPMN-KonvertierungTypeMappings- BPMN-Elementtyp-KonvertierungenIdGenerator- Konsistente ID-Generierung
Projektstruktur
mcp-bpmn/
├── src/
│ ├── core/ # Core BPMN engine
│ ├── server/ # MCP server implementation
│ ├── utils/ # Utilities (layout, ID generation)
│ ├── types/ # TypeScript type definitions
│ └── config/ # Configuration
├── tests/
│ ├── unit/ # Unit tests
│ ├── integration/ # Integration tests
│ └── e2e/ # End-to-end tests
├── dist/ # Compiled output
└── docs/ # Documentation🧪 Entwicklung
Verfügbare Skripte
npm run build # Build TypeScript
npm run build:bundle # Build CommonJS bundle
npm run build:watch # Build with watch mode
npm run check # Complete clean contributor/CI quality gate
npm test # Run source-level tests (no build output required)
npm run test:all # Clean, build, and run every test including e2e
npm run test:unit # Run unit tests only
npm run test:integration # Run integration tests only
npm run test:e2e # Run end-to-end tests
npm run lint # Run ESLint
npm run dev # Development mode with hot reload
npm start # Start the MCP serverTesten
Das Projekt umfasst eine umfassende Testabdeckung. Befehle auf Quellcode-Ebene lesen dist/ nicht, sodass ein alter Build ihr Ergebnis nicht beeinflussen kann:
Unit-Tests: Testen der Kernfunktionalität
Integrationstests: Testen von Handler und Werkzeugen
E2E-Tests: Vollständiges Testen des MCP-Protokolls
Führen Sie Tests aus mit:
npm test # Source-level tests
npm run test:all # Clean build plus all tests
npm run check # Complete clean contributor/CI quality gate
npm run test:coverage # Source-level tests with coverage
npm run test:watch # Source-level tests in watch mode📈 Leistung
Das kanonische Release-Artefakt wurde am 22.08.2026 mit Node 25.9.0 und npm 11.12.1 gemessen mit:
npm pack --dry-run --jsonDieser Befehl meldete ungefähr 195 kB komprimiert und 1104270 ungepackte Bytes. Diese Zahlen beschreiben das npm-Tarball, nicht einen installierten Server: Das Tarball bündelt keine Produktionsabhängigkeiten, während die Installation die neun direkten Laufzeitabhängigkeiten in package.json und deren transitive Abhängigkeiten auflöst. Der von Puppeteer verwaltete Chrome-Download liegt ebenfalls außerhalb der Tarball-Messung. Führen Sie den Befehl für das aktuelle Artefakt erneut aus, anstatt diese datierte Momentaufnahme als dauerhafte Größengarantie zu behandeln.
Das optionale CommonJS-Bundle ist nicht das Release-Artefakt und hat keinen Größenanspruch. Layout-Eingabelimits und die datierten Benchmark-Beobachtungen, die zur Auswahl ihrer Standardwerte verwendet wurden, sind unter Dateispeicher dokumentiert.
🐛 Bekannte Einschränkungen
Die Autoren-API ist eine fokussierte BPMN-2.0-Teilmenge, keine vollständige BPMN-2.0-Abdeckung. Nicht unterstützte importierte Konstrukte können abgelehnt werden, anstatt verlustfrei bearbeitet zu werden.
connectbietet keine direkte Autorenunterstützung für Nachrichtenflüsse. Die Mermaid-Kollaborations-Teilmenge kann Nachrichtenflüsse zwischen Teilgraphen erstellen.add_laneerstellt Top-Level-Swimlanes in White-Box-Pools; es kann keine importierte verschachtelte Lane-Hierarchie erweitern.Auto-Layout unterstützt nur horizontales Layout. Vertikale und radiale Algorithmen werden nicht beworben.
Die Validierung bietet die dokumentierten Syntax-, Semantik- und vollständigen Anleitungsebenen; sie ist keine BPMN-XSD-Zertifizierung oder Validierung gegen eine Bereitstellungs-Engine.
Das Camunda-7-Autorenprofil ist auf
assignee,candidateGroupsunddueDatebei Benutzeraufgaben beschränkt. Es ist keine allgemeine Camunda-Modeler-Abdeckung.Der SVG-Export erfordert Chrome/Chromium über Puppeteer und erlaubt nur ein gleichzeitiges Rendering pro Serverinstanz. XML-Workflows bleiben browserfrei.
Der Server führt BPMN-Prozesse nicht aus, simuliert sie nicht und stellt sie nicht bereit.
🚧 Roadmap
Geplante Arbeiten und bekannte Lücken werden als Beads-Issues verfolgt und nicht als implementierte Funktionen in diesem Release-Dokument versprochen.
🤝 Mitwirken
Beiträge sind willkommen! Bitte:
Forken Sie das Repository
Erstellen Sie einen Feature-Branch (
git checkout -b feature/amazing-feature)Führen Sie das vollständige Qualitätsgate aus (
npm run check)Committen Sie Ihre Änderungen (
git commit -m 'Add amazing feature')Pushen Sie den Branch (
git push origin feature/amazing-feature)Öffnen Sie einen Pull-Request
Codestil
TypeScript mit striktem Modus
ESLint-Konfiguration bereitgestellt
Jest zum Testen
Konventionelle Commits
📝 Lizenz
MIT-Lizenz – siehe Datei LICENSE für Details.
Der SVG-Export verwendet bpmn-js@17.11.1. Jedes exportierte SVG enthält ein sichtbares „Powered by bpmn.io“-Logo, das mit https://bpmn.io verlinkt ist; Clients sollten diese Zuordnung nicht zuschneiden, abdecken oder entfernen. Siehe THIRD_PARTY_NOTICES.md für die Lizenzbedingungen der Abhängigkeit und ADR 0002 für die Release-Entscheidung.
📞 Support
Issues: GitHub Issues
Dokumentation: Siehe Ordner
/docsfür ausführliche Anleitungen
🙏 Danksagungen
Basierend auf der Model Context Protocol-Spezifikation
Inspiriert von bpmn-js für BPMN-Standards
Dank an das Anthropic-Team für die MCP-Entwicklung
Available Tools
27 toolsadd_activityC
Add an activity to the current diagram
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the activity | |
| ownerId | No | Owning process ID (required when adding to a collaboration) | |
| scopeId | No | Containing process or subprocess ID (defaults to ownerId) | |
| position | No | Position of the activity (optional) | |
| properties | No | Typed activity properties. multiInstance is portable BPMN and its expression bodies are opaque text; assignee, candidateGroups, and dueDate are Camunda 7 user-task fields and require extensionProfile camunda7. Arbitrary qualified names and raw XML are rejected. | |
| activityType | Yes | Type of activity |
Output Schema
| Name | Required | Description |
|---|---|---|
| filename | Yes | Active BPMN filename |
| elementId | Yes | Stable generated or existing BPMN ID |
| elementType | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations provide no substantive behavior (readOnlyHint=false, destructiveHint=false, etc.). The description does not disclose side effects, return values, or whether the diagram must be open. For a tool that mutates state, this is a major gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is one short phrase, but it adds little beyond the tool name. For a tool with six parameters and nested objects, this is under-specification rather than appropriate conciseness. Important context is missing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complex schema (activityType enum, properties, multiInstance, position), the description is woefully incomplete. It explains nothing about activity types, property usage, or how this fits into the diagram editing workflow. An agent gets no contextual help beyond the schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%—every parameter has a description in the input schema. The tool description adds nothing about parameters, so the baseline of 3 applies. No additional semantic value is provided beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear verb-resource pair: 'Add an activity to the current diagram'. It is specific enough to distinguish from siblings like add_event or add_gateway, though it relies partly on the tool name. It is not a tautology.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given on when to use this tool instead of alternatives such as add_event or add_gateway. There are no prerequisites, exclusions, or context clues beyond the bare action. An agent must infer usage solely from the name and schema.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
add_associationC
Add a BPMN association artifact between two compatible BaseElements
| Name | Required | Description | Default |
|---|---|---|---|
| sourceId | Yes | ID of the source BaseElement | |
| targetId | Yes | ID of the target BaseElement | |
| associationDirection | No | Arrow direction for the association; BPMN defaults to None | None |
Output Schema
| Name | Required | Description |
|---|---|---|
| filename | Yes | Active BPMN filename |
| sourceId | Yes | Stable generated or existing BPMN ID |
| targetId | Yes | Stable generated or existing BPMN ID |
| associationId | Yes | Stable generated or existing BPMN ID |
| associationDirection | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations provide no hints (all false), so the description carries the full burden. It states the action ('Add') but does not disclose side effects, such as whether both elements must exist, what happens if they are incompatible, or whether the association is reversible. The description mentions 'compatible' but never explains what that entails, leaving the agent to guess.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence with no redundancy. 'Add a BPMN association artifact' immediately conveys the purpose, and the scope is appended succinctly. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's mutation nature (readOnlyHint=false) and lack of annotation support, the description is too sparse. The critical notion of 'compatible' is undefined, and there is no mention of where associations fit in the BPMN model or how they differ from other connections. An agent without deep BPMN domain knowledge would struggle to use this tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description adds no additional parameter context beyond what the schema already provides ('ID of the source BaseElement', etc.). The direction parameter is documented in the schema with its default, so the description does not need to repeat it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb ('Add') and resource ('BPMN association artifact') with a scope ('between two compatible BaseElements'). It distinguishes itself from other add_* tools by naming the association artifact. However, the term 'compatible' is ambiguous and does not specify what types of elements are compatible, slightly diminishing clarity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given on when to use this tool versus alternatives like 'connect' (which likely handles sequence/message flows) or other add_* tools. The description does not mention exclusions, prerequisites, or when an association is appropriate. An agent must infer context from the sibling names, which is insufficient.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
add_data_objectB
Add a BPMN data object reference and its non-rendered backing data object
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the data object and its visible reference | |
| ownerId | No | Owning process ID (required when adding to a collaboration with multiple pools) | |
| scopeId | No | Containing process or subprocess ID (defaults to ownerId) | |
| position | No | Position of the visible data object reference | |
| isCollection | No | Whether the backing bpmn:DataObject represents a collection | |
| itemSubjectRef | No | ID of an existing bpmn:ItemDefinition referenced by the backing data object |
Output Schema
| Name | Required | Description |
|---|---|---|
| filename | Yes | Active BPMN filename |
| referenceId | Yes | Stable generated or existing BPMN ID |
| dataObjectId | Yes | Stable generated or existing BPMN ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations are all false (not read-only, not idempotent, not destructive) but provide no positive behavioral signals. The description adds the key fact that it creates both a visible reference and a non-rendered backing object, which is useful. However, it does not disclose side effects, whether it can overwrite, or any other behavioral traits beyond that.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, compact sentence that front-loads the core action and the dual-artifact nature. It is appropriately sized with no wasted words, though it could add a brief usage note without becoming verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 6 parameters, a nested object, and an output schema, the description is adequate but not rich. It explains the core purpose but omits guidance on collaboration edge cases (e.g., when ownerId is needed) or any preconditions. The schema and output schema compensate partly, but the description could do more.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description does not add parameter-level meaning beyond the schema, but the dual-artifact framing helps understand how name/position relate. Since the schema already documents every parameter, no further compensation is needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Add') and a specific resource ('BPMN data object reference and its non-rendered backing data object'), clearly identifying what the tool does. It distinguishes this from other add_* tools by focusing on data objects, though it does not explicitly name alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for adding data objects but does not provide explicit when-to-use or when-not-to-use guidance relative to sibling tools like add_event, add_activity, or add_gateway. The schema hint about ownerId being required in collaborations is useful but lives in the schema, not the description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
add_eventC
Add an event to the current diagram
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the event | |
| ownerId | No | Owning process ID (required when adding to a collaboration) | |
| scopeId | No | Containing process or subprocess ID (defaults to ownerId) | |
| attachTo | No | Required activity ID for boundary events; invalid on other events. Cancel boundaries require a transaction. | |
| position | No | Position of the event (optional) | |
| eventType | Yes | Type of event to add | |
| cancelActivity | No | Whether a boundary event interrupts its attached activity; compensation boundaries must be false | |
| eventDefinition | No | Event definition type. The event kind/type combination must be BPMN-legal. | |
| eventDefinitionPayload | No | Definition details. Timer requires timer; conditional requires condition. Message/signal/error/escalation roots are generated and may be named or assigned a stable ID here. |
Output Schema
| Name | Required | Description |
|---|---|---|
| filename | Yes | Active BPMN filename |
| elementId | Yes | Stable generated or existing BPMN ID |
| elementType | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
All annotations are false, providing no safety or mutation hints, so the description carries the full burden of behavioral disclosure. The description only says 'Add', implying a mutation, but does not disclose side effects, required permissions, or failure modes (e.g., invalid eventType or BPMN constraints). This is inadequate for a complex modeling tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence with zero wasted words. It is front-loaded and efficiently states the core purpose. However, given the tool's 9 complex parameters and nested objects, the description could arguably be slightly more informative, but it remains appropriately brief for a schema that is self-documenting.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite the presence of an output schema and detailed parameter descriptions, the tool description provides no high-level context about event types (start, end, boundary, etc.), parameter interrelations, or common usage patterns. It fails to synthesize the schema's information into a usable mental model, leaving an agent without guidance on selecting appropriate configurations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, with detailed descriptions for each parameter (e.g., `eventType` enum, `attachTo` conditions, `cancelActivity` rules). The description adds no parameter-level information, so it relies entirely on the schema, which is the baseline when coverage is high. No extra value is provided.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool adds an event to the current diagram, specifying the verb (add), resource (event), and context (current diagram). This is distinct from sibling add_* tools because 'event' is a specific BPMN element type, though the description does not explicitly contrast with `add_activity` or `add_gateway`.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives like `add_activity`, `add_gateway`, or `add_pool`. The description simply states the action without mentioning exclusions, contexts, or alternative tools, leaving the agent to infer usage from the name and context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
add_gatewayC
Add a gateway to the current diagram
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the gateway (optional) | |
| ownerId | No | Owning process ID (required when adding to a collaboration) | |
| scopeId | No | Containing process or subprocess ID (defaults to ownerId) | |
| position | No | Position of the gateway (optional) | |
| gatewayType | Yes | Type of gateway |
Output Schema
| Name | Required | Description |
|---|---|---|
| filename | Yes | Active BPMN filename |
| elementId | Yes | Stable generated or existing BPMN ID |
| elementType | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations indicate this is a mutating operation (readOnlyHint=false) with no idempotency or open-world implications. The description adds minimal behavioral context by specifying it adds to the current diagram, but does not disclose potential side effects, required context (e.g., existing diagram), or behavior when called without a current diagram. Since annotations don't carry detailed behavioral information, the description should have done more.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence with no wasted words, which is good. However, it is extremely short for a tool with five parameters and a nested object, leaving out any useful structural information. It is appropriately compact but borderline under-specified, so it earns a middle score.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (5 parameters, enum gatewayType, nested position object, and no output schema explanation), the description is far too minimal. It doesn't explain the gatewayType choices, the meaning of ownerId and scopeId, or how positioning works. An agent would have to rely entirely on the schema, and even then some context (e.g., relationship to current diagram) is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so all parameters are documented in the schema. The description itself adds no parameter semantics; it doesn't mention gatewayType, name, ownerId, scopeId, or position. With high schema coverage, the baseline is 3, and the description provides no extra value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (add) and the resource (gateway) and specifies the target (current diagram). It distinguishes from sibling add_* tools by resource type, though it doesn't mention the gatewayType parameter that differentiates gateway kinds. It is specific enough to identify the tool's purpose but lacks a mention of the required type parameter.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 instead of alternatives like add_event, add_activity, or add_pool. There is no mention of prerequisites, context, or conditions for use. The description simply states the action without any usage context or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
add_laneADestructive
Add a lane to a white-box pool and assign flow nodes to it. Existing assignments are moved from their previous lane.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the lane | |
| poolId | Yes | ID of the pool to add lane to | |
| position | No | Position relative to existing lanes | bottom |
| flowNodeIds | Yes | IDs of direct flow nodes in the pool process to assign to this lane |
Output Schema
| Name | Required | Description |
|---|---|---|
| laneId | Yes | Stable generated or existing BPMN ID |
| poolId | Yes | Stable generated or existing BPMN ID |
| filename | Yes | Active BPMN filename |
| assignedFlowNodeCount | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses a key behavioral trait beyond annotations: 'Existing assignments are moved from their previous lane.' This adds specific context about mutation and potential data relocation, complementing the destructiveHint annotation without contradicting it.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with no fluff. The first sentence front-loads the core action, and the second delivers a critical side-effect. Every word earns its place, making it highly efficient for quick comprehension.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Beyond the schema and annotations, the description covers the essential purpose and the move-behavior. It doesn't mention prerequisites (e.g., pool existence) or error conditions, but with an output schema present and a well-covered input schema, this is adequate for correct invocation in most cases.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already provides full descriptions for all parameters (coverage 100%). The description does not add new meaning about params like position or flowNodeIds beyond what the schema states, so the baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Add a lane to a white-box pool and assign flow nodes to it.' It also notes the side-effect of moving existing assignments, which distinguishes it from simple add operations like add_pool. This makes the tool's purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context (adding lanes to a white-box pool) but does not explicitly contrast with siblings like add_pool or add_activity. There is no 'use this when' or 'instead of' guidance, leaving the agent to infer from the resource type.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
add_poolB
Add a pool to the current collaboration diagram
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the participant/pool | |
| size | No | Size of the pool (optional) | |
| blackBox | No | Create a black-box participant without an owned process | |
| position | No | Position of the pool (optional) |
Output Schema
| Name | Required | Description |
|---|---|---|
| blackBox | Yes | |
| filename | Yes | Active BPMN filename |
| elementId | Yes | Stable generated or existing BPMN ID |
| processId | No | Stable generated or existing BPMN ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations are all false (readOnlyHint: false, idempotentHint: false, etc.), so the description carries the full burden of behavioral disclosure. 'Add' implies a state mutation, but the description does not explain side effects, whether the current diagram must be open, or what happens to existing elements. It offers no additional behavioral context beyond the bare action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence with no filler or redundancy. It is front-loaded with the main action and delivers exactly the necessary information. No unnecessary details or repetition, making it a model of conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has an output schema and full parameter documentation, so return values and parameter details are covered. However, the description does not provide usage context such as whether a diagram must be active, or how this relates to 'add_lane' (a common alternative). Given its simplicity and the availability of structural information, a 3 reflects a minimally adequate description with a notable gap in contextual guidance.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 100% parameter coverage, so each parameter is documented in the schema itself. The description adds no extra meaning to parameters like 'name', 'size', 'blackBox', or 'position'. Given high schema coverage, the baseline is 3, and the description does not raise it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'add', the object 'pool', and the context 'current collaboration diagram'. It distinguishes the tool from siblings like add_association, add_event, and add_lane by naming a specific BPMN element and its scope. A 4 rather than 5 because it lacks any elaboration on what a 'pool' means in this domain, though the sibling set implies a BPMN context.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives such as add_lane or add_participant (if any exist). The description does not mention prerequisites, constraints, or situations where one would choose this over a sibling. Completely absent, earning a 2.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
add_text_annotationA
Add a BPMN text annotation, optionally associated with an existing element
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Size of the annotation | |
| text | Yes | Annotation text preserved exactly, including whitespace, line breaks, and metacharacters | |
| position | No | Position of the annotation | |
| textFormat | No | Optional text media type; BPMN defaults to text/plain | |
| associatedElementId | No | Existing element to link from the annotation with a separate undirected BPMN association |
Output Schema
| Name | Required | Description |
|---|---|---|
| filename | Yes | Active BPMN filename |
| annotationId | Yes | Stable generated or existing BPMN ID |
| associationId | No | Stable generated or existing BPMN ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false, indicating mutation. The description adds the behavioral fact that an association may be created, which is beyond the annotation's binary mutation flag. However, it does not disclose side effects on the existing element (e.g., whether it modifies the element) or any failure modes. Given annotations carry the core mutation trait, this is adequate but not rich.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no filler. It is front-loaded with the core action and resource, and the optional clause adds value without bloat. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 5 parameters (including nested objects) and an output schema. The description covers the fundamental action but omits any mention of context, such as that the annotation is added to the current diagram or any error conditions. However, given the schema fully documents parameters and the output schema exists, the description is minimally sufficient but not comprehensive.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, meaning all parameters have descriptive text. The tool description adds no parameter-specific details beyond highlighting the optional association, which is already captured in the associatedElementId description. Thus the description does not meaningfully augment the schema, warranting the baseline score of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Add' and the specific resource 'BPMN text annotation', and notes the optional association. This distinguishes it from sibling tools like add_event or add_activity, which target different element types. The purpose is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no explicit guidance on when to use this tool versus alternatives. It mentions 'optionally associated' but does not explain when linking is appropriate or when to use add_association instead. There are no stated prerequisites, exclusions, or conditions for choosing this over other add-* tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
auto_layoutADestructiveIdempotent
Apply deterministic automatic layout. Collaboration processes are ranked independently; requested pool/lane sizes are lower bounds, manual coordinates are replaced, disconnected nodes stay in their owner, and message flows route after non-overlapping pool placement.
| Name | Required | Description | Default |
|---|---|---|---|
| algorithm | No | Layout algorithm to use | horizontal |
Output Schema
| Name | Required | Description |
|---|---|---|
| filename | Yes | Active BPMN filename |
| warnings | Yes | |
| algorithm | Yes | |
| elementCount | Yes | |
| connectionCount | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses specific behavioral traits beyond annotations: it explains that pool/lane sizes act as lower bounds, manual coordinates are replaced, disconnected nodes stay with their owner, and message flows route after pool placement. These details align with the destructiveHint and idempotentHint annotations, adding value by clarifying exact effects. No contradiction exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, information-dense sentence that front-loads the core action ('Apply deterministic automatic layout') before listing behaviors. It is concise, with no filler, though the list of clauses is a bit packed but still readable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a layout tool with one optional parameter and an output schema, the description thoroughly covers the essential behaviors and constraints. It explains deterministic behavior, rank ordering, size bounds, coordinate replacement, and routing logic, leaving no ambiguity about what the operation does. The output schema handles return values, so nothing critical is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema fully documents the single parameter 'algorithm' with an enum and default, achieving 100% coverage. The description adds no additional meaning about the parameter or its values. Since the schema already covers it, a baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action 'Apply deterministic automatic layout' with a specific verb and resource. It goes beyond a simple statement to enumerate key behavioral rules (e.g., collaboration processes ranked independently, manual coordinates replaced), making its purpose precise and unambiguous. It is easily distinguishable from siblings, none of which perform layout operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It does not mention any conditions, prerequisites, or exclusions. While it implies use for automatic layout, it fails to explicitly state the scenario or contrast with manual layout or other tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
closeBIdempotent
Close the current diagram and clear the context
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| name | Yes | |
| filename | Yes | Active BPMN filename |
| processId | Yes | Stable generated or existing BPMN ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare idempotentHint=true and destructiveHint=false, so the description doesn't need to restate those. It adds the side effect of clearing the context, which is beyond the annotations, but does not clarify whether changes are saved or discarded, or if the action is reversible. Given the annotations, a 3 is appropriate; more detail would be better for a state-changing operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that front-loads the primary action and includes the secondary effect. No unnecessary words or repetition. It is appropriately concise for a simple tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no parameters and an output schema present, the description covers the essential behavior. However, given the large set of sibling tools, it lacks context about when to use 'close' versus alternatives like 'save' or 'delete'. The description is functional but not rich enough for an agent to confidently choose it in all relevant scenarios.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters and the input schema is empty with 100% coverage. As per the baseline for 0-parameter tools, the description does not need to elaborate on parameters, and it doesn't. This is fully adequate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Close the current diagram and clear the context'), which is specific and unambiguous. It identifies the resource (diagram) and the extra behavior (clearing context). However, it does not explicitly differentiate from sibling tools like 'save' or 'delete', though the action is distinct enough that the purpose is clear.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives such as 'save', 'new_bpmn', or 'delete_diagram_file'. The description only states what it does, not the context in which it should be chosen. With many sibling tools, an agent is left to infer when closing is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
connectC
Connect two elements in the current diagram
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Label for the connection (optional) | |
| sourceId | Yes | ID of the source element | |
| targetId | Yes | ID of the target element | |
| condition | No | Formal condition expression for a sequence flow; cannot be combined with isDefault | |
| isDefault | No | Make this the source activity/gateway default flow; default flows cannot have conditions | |
| conditionType | No | BPMN expression type; only valid when condition is supplied (defaults to bpmn:FormalExpression) | |
| conditionLanguage | No | Language URI or identifier; only valid when condition is supplied |
Output Schema
| Name | Required | Description |
|---|---|---|
| filename | Yes | Active BPMN filename |
| sourceId | Yes | Stable generated or existing BPMN ID |
| targetId | Yes | Stable generated or existing BPMN ID |
| connectionId | Yes | Stable generated or existing BPMN ID |
| connectionType | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations provide no positive hints (all false), so the description carries the full burden of behavioral disclosure. It fails to mention that this modifies the diagram, whether it validates element existence or compatibility, or any side effects. The agent has no idea what the operation actually does beyond a generic 'connect'.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise (one sentence), but it lacks the substance needed to be useful. It doesn't front-load key constraints or provide any structure that helps an agent parse intent quickly. While brevity is good, this is under-specification rather than efficient framing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 7 parameters including condition, isDefault, and language options, the description is grossly incomplete. An agent has no high-level understanding of how to use these together (e.g., when to supply a condition vs setting a default flow), or what the operation returns (despite an output schema, the description doesn't set context). The tool needs far more narrative to be safely invoked.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so all parameters are documented in the schema. The description itself adds no extra meaning beyond the generic notion of connecting, which is the baseline expectation for high coverage. It does not explain relationships between parameters (e.g., condition vs isDefault) outside what the schema already states.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear verb+resource ('Connect two elements in the current diagram') that conveys the basic action. It does not differentiate from sibling tools like add_association, which might represent a similar connection operation, so it lacks explicit distinguishing context.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives such as add_association, or on the prerequisites (e.g., elements must exist). With many sibling tools and complex connection semantics, the complete absence of routing information leaves an agent unable to choose correctly.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
currentBRead-onlyIdempotent
Get information about the current diagram
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| current | Yes | |
| diagram | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is clear. The description adds nothing beyond the name about behavior—it doesn't mention output format, scope, or any side effects. With strong annotations, a 3 is appropriate because it adds minimal context beyond structured data.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, concise sentence with no wasted words. The core action and target are front-loaded. Perfectly sized for a zero-parameter read tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has an output schema that presumably defines the return structure, so that gap is covered. However, the description doesn't clarify what 'information' means in practice—whether it returns the full diagram model, just properties, or a summary. Given the broad sibling set of read-like tools (list_elements, get_element, export), a slightly more explicit scope would make it self-contained. It's minimally complete but leaves ambiguity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has zero parameters, so schema description coverage is trivially 100%. With no parameters to explain, the baseline is 4. The description doesn't need to elaborate on parameters; it correctly avoids redundant parameter details.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear verb ('Get') and a resource ('current diagram'), but 'information' is vague—it doesn't specify whether this returns metadata, elements, or both. It's distinguishable from get_element (which targets a specific element) but not precisely from list_elements or export. The purpose is understandable but under-specified.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given on when to use this tool versus alternatives like list_elements, get_element, or export. It does not state what kind of 'information' it returns or when a caller should prefer this over sibling read operations. The usage context must be inferred entirely from the tool name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
delete_diagram_fileBDestructiveIdempotent
Delete a saved BPMN diagram file
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Filename of the diagram to delete |
Output Schema
| Name | Required | Description |
|---|---|---|
| filename | Yes | |
| closedCurrent | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description simply says 'delete', which is consistent with the destructiveHint annotation, but adds no extra behavioral context such as irreversibility, error handling for missing files, or side effects. Given the annotations already declare destructiveHint=true and idempotentHint=true, the description contributes no new information about the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that states the action and object without extraneous details. It is front-loaded with the verb, and every word earns its place. There is no redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple, one-parameter delete operation, the description is mostly sufficient, and the presence of an output schema means return values need not be explained. However, it lacks usage context (when to use vs. alternatives) and practical constraints (e.g., availability of the file), which an agent would benefit from. Given the sibling tool delete_element exists, the absence of any differentiation weakens completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The parameter 'filename' is fully described in the schema ('Filename of the diagram to delete'), and schema coverage is 100%. The description adds no further meaning beyond the schema; it only reiterates that the file is a BPMN diagram, which is already implicit. This meets the baseline but does not enhance understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'delete' and the resource 'a saved BPMN diagram file', which distinguishes it from sibling tools like delete_element that target elements rather than files. It is specific and unambiguous, though it does not elaborate on what 'saved' means in context.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives such as delete_element or close. It does not mention prerequisites (e.g., the file must exist) or situations where deletion is not appropriate, leaving the agent to infer usage solely from the name and description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
delete_elementADestructiveIdempotent
Delete an element (cascading incident connections) or a connection while preserving its endpoints
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | Yes | ID of the element to delete |
Output Schema
| Name | Required | Description |
|---|---|---|
| filename | Yes | Active BPMN filename |
| elementId | Yes | Stable generated or existing BPMN ID |
| deletedKind | Yes | |
| removedConnectionCount | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true and idempotentHint=true, so the agent knows it is a destructive, repeatable operation. The description adds value beyond these by specifying that element deletion cascades incident connections while connection deletion preserves endpoints. This is crucial context not present in annotations. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, compact sentence that front-loads the primary action and packs the two modes and their effects efficiently. Every word earns its place, with no redundancy or filler. It is optimally sized for the complexity of the tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter destructive tool with annotations covering safety and an output schema present, the description is largely complete. It explains the two deletion modes and their different implications. Minor omission: it does not explicitly state what happens to the endpoints of incident connections when deleting an element (beyond implying they are cascaded), which could be clarified. Overall, adequate for an agent to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema describes elementId as 'ID of the element to delete' with 100% coverage, but the tool description reveals that elementId can also refer to a connection, adding meaning beyond the schema. It clarifies that the ID serves double duty. However, it does not specify how an agent can distinguish an element ID from a connection ID, which is a minor gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Delete') and resource ('an element or a connection'), and concisely differentiates the two modes with their distinct effects. It is clear what the tool does overall, though it does not explain how it determines which mode applies (which is left to the parameter value).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides implicit usage guidance by explaining that it can delete either an element (cascading incident connections) or a connection (preserving endpoints), which helps an agent choose the appropriate action. However, it does not explicitly state when to prefer this tool over alternatives (no other element-deletion tool exists among siblings) or provide conditions for exclusion. The guidance is functional but not explicit about scenarios where deletion should not be used.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
exportARead-onlyIdempotent
Export the current diagram as BPMN XML text or an embedded image/svg+xml resource rendered by bpmn-js
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Export format | xml |
| formatted | No | Whether to format the output (for XML) |
Output Schema
| Name | Required | Description |
|---|---|---|
| uri | No | |
| format | Yes | |
| filename | Yes | Active BPMN filename |
| mimeType | Yes | |
| processId | Yes | Stable generated or existing BPMN ID |
| byteLength | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds that the output is 'rendered by bpmn-js', which is a behavioral detail beyond the annotations. It does not contradict any annotation; it is consistent. The description doesn't need to repeat safety hints since annotations carry that, and it adds value with the rendering detail.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence that is front-loaded with the action ('Export') and resource ('current diagram'), followed by the output formats and rendering detail. There is zero filler or repetition. Every word contributes to clarity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that the output schema exists (as indicated by context signals), the description does not need to explain return values. The tool has two optional parameters that are fully documented in the schema, and the description covers purpose and output formats. Annotations cover safety. Nothing needed for an agent to call this tool successfully is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema describes both parameters: 'format' with enum values and a default, and 'formatted' with a description. Schema description coverage is 100%, so the schema already documents parameters thoroughly. The description does not add any extra meaning about parameter syntax, alternatives, or nuances beyond what the schema provides. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific verb 'export' and the resource 'current diagram', and specifies the two possible output formats (BPMN XML or svg+xml). This distinguishes it from sibling tools like save and save_as, which persist files, while export produces a serialized representation. No ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear context that this tool is for exporting the current diagram in a specific format, which is implicitly distinct from saving or opening. It does not explicitly mention when not to use it or name alternatives, but the purpose is self-evident given the format and the 'current diagram' scope. A slight gap is the lack of explicit routing to save_as for persistence, but the context is adequate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_diagrams_pathARead-onlyIdempotent
Get the path where BPMN diagrams are saved
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| path | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is clear. However, the description adds no additional behavioral context, such as what the returned path looks like or any side effects, which is minimal over the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One concise sentence with no filler. The purpose is stated directly and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a trivial getter with no parameters and an existing output schema, the description is adequate. It doesn't provide context on typical use cases, but that's not necessary given its simplicity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the description adds no parameter meaning. According to the rubric, 0 params has a baseline of 4, which is appropriate since there is nothing to explain.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves the path where BPMN diagrams are saved. It is specific and distinguishes from siblings like open_bpmn or list_diagrams, as it returns the location rather than contents or list.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no guidance on when to use this tool versus alternatives, such as list_diagrams or current. It only states what it does, leaving the agent to infer usage from the name.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_elementBRead-onlyIdempotent
Get details of a specific element or association in the current diagram
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | Yes | ID of the element |
Output Schema
| Name | Required | Description |
|---|---|---|
| id | Yes | Stable generated or existing BPMN ID |
| kind | No | |
| name | No | |
| size | No | |
| type | Yes | |
| ownerId | No | Stable generated or existing BPMN ID |
| scopeId | No | Stable generated or existing BPMN ID |
| incoming | No | |
| outgoing | No | |
| position | No | |
| sourceId | No | Stable generated or existing BPMN ID |
| targetId | No | Stable generated or existing BPMN ID |
| waypoints | No | |
| processRef | No | Stable generated or existing BPMN ID |
| properties | No | |
| defaultFlow | No | Stable generated or existing BPMN ID |
| associationDirection | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and destructiveHint=false, covering the safety profile. The description adds the useful context that it operates on 'specific' elements and associations within the 'current diagram', which is not in the annotations. However, it does not disclose behavior on missing IDs or error conditions; the output schema likely covers return format.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with zero redundancy. It states the action, scope, and resource type efficiently, making it easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the essential scope ('current diagram', 'element or association') and safety is fully provided by annotations. The presence of an output schema means return values are documented elsewhere. It omits potential error behavior for nonexistent IDs, but that is a minor gap for such a simple retrieval tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already provides a description for elementId ('ID of the element'), and the description ('Get details of a specific element or association') implies it is the target identifier. No additional semantic detail is added beyond the schema, and with 100% schema coverage the baseline is 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Get' and the resource 'details of a specific element or association', and scopes it to 'the current diagram'. It distinguishes from list_elements (which lists) and update_element (which updates) by emphasizing specificity, though it does not explicitly name alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 its siblings, such as list_elements for enumeration or update_element for modification. The word 'specific' implies single-element retrieval, but no explicit selection criteria or alternative routing is given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_diagramsARead-onlyIdempotent
List diagrams in stable filename order as { count, returnedCount, offset, limit, hasMore, diagrams, path }; request the next page with offset + returnedCount
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (default 100, max 500) | |
| offset | No | Zero-based offset in the stable result order |
Output Schema
| Name | Required | Description |
|---|---|---|
| path | Yes | |
| count | Yes | |
| limit | Yes | |
| offset | Yes | |
| hasMore | Yes | |
| diagrams | Yes | |
| returnedCount | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare read-only, idempotent, and non-destructive behavior, so the description's job is lighter. It adds valuable context about stable ordering and pagination mechanics, going beyond what annotations provide. Does not contradict annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence that starts with the core purpose, then compactly provides return structure and pagination instruction. No wasted words; everything is essential and immediately useful.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only list operation, the description covers the result format, pagination logic, and ordering guarantee. The output schema (if present) is not shown, but the description explicitly lists the response fields, making it self-contained. No missing information that an agent would need to call this tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% for both parameters (limit, offset), but the description enhances understanding by explaining offset in the context of 'stable filename order' and pagination, which is not fully captured by the schema. This adds functional meaning beyond parameter names and defaults.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear verb ('List') and resource ('diagrams') with the specific ordering definition ('stable filename order'). It also specifies the return shape, making it unambiguous what the tool does and how it differs from other diagram operations like open, save, or export.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit pagination usage ('request the next page with offset + returnedCount') which is key to correct invocation. It doesn't explicitly mention when not to use this tool, but no direct alternative exists among siblings for listing diagrams, so the guidance is sufficient for the use case.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_elementsARead-onlyIdempotent
List elements and association artifacts in stable ID order as { count, returnedCount, offset, limit, hasMore, elements }; request the next page with offset + returnedCount
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (default 100, max 500) | |
| offset | No | Zero-based offset in the stable result order | |
| elementType | No | Filter by element type (optional) |
Output Schema
| Name | Required | Description |
|---|---|---|
| count | Yes | |
| limit | Yes | |
| offset | Yes | |
| hasMore | Yes | |
| elements | Yes | |
| returnedCount | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavioral traits beyond annotations: it specifies the response envelope, the stable sort order, and the pagination mechanism (offset + returnedCount). This gives the agent expectations about ordering and data volume that structured metadata alone cannot convey.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single compact sentence that front-loads the core purpose, then specifies the response format, and closes with pagination guidance. Every clause earns its place; there is no fluff or redundancy. It respects the token budget while delivering high-value details.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that an output schema exists (covering return values), the annotations cover read-only/idempotent safety, and the input schema fully documents all three parameters, the description is complete for an agent to call this tool correctly. It adds the crucial non-obvious detail of stable ordering and pagination, making it self-sufficient for both initial listing and subsequent page requests.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and every parameter (limit, offset, elementType) has a description, so the baseline is 3. The description adds contextual semantics for offset by tying it to the stable ID order and the pagination rule (offset + returnedCount), which clarifies how offset behaves beyond the schema's 'Zero-based offset' note. This elevates it above baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'List elements and association artifacts'. It further specifies the ordering ('stable ID order') and the exact response shape. This clearly distinguishes list_elements from sibling tools like get_element (targeted retrieval) and delete_element (mutation), so an agent can select it without needing to inspect the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not name alternative tools or give explicit when-not-to-use guidance, but it provides actionable usage context: it explains the pagination contract ('request the next page with offset + returnedCount'), which is the core operational detail. This is clear context, though it stops short of contrasting with siblings like get_element or export.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
new_bpmnA
Create a new BPMN diagram and set it as current context
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the diagram | |
| type | No | Type of diagram to create | process |
| extensionProfile | No | BPMN extension profile; portable emits no vendor attributes | portable |
Output Schema
| Name | Required | Description |
|---|---|---|
| name | Yes | |
| type | Yes | |
| filename | Yes | Active BPMN filename |
| processId | Yes | Stable generated or existing BPMN ID |
| extensionProfile | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses that it creates a diagram and sets it as the current context, which is a side effect. Annotations are minimal (all false), so the description carries the burden. However, it doesn't mention whether the diagram is persisted, what happens to the previous current diagram, or any error conditions. This is adequate but lacks depth.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence that front-loads the primary action and key side effect. No filler or redundant content. It efficiently conveys the essence.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple creation tool with fully documented parameters and an output schema, the description is mostly adequate but lacks usage guidance and detailed behavioral context (e.g., where the diagram is stored, effect on existing state). It covers the minimum but leaves some gaps that an agent might need.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% for all three parameters (name, type, extensionProfile), each with clear descriptions and enums. The description adds no extra meaning beyond what the schema provides. Baseline 3 applies since the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (create) and resource (BPMN diagram) and an additional effect (set as current context). It distinguishes from siblings like open_bpmn (open existing) and new_from_mermaid (create from mermaid), making the tool's purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no explicit guidance on when to use this tool versus alternatives. It doesn't mention conditions, exclusions, or when to prefer other tools like new_from_mermaid for mermaid-derived diagrams. Usage context is only implied by the tool's name and sibling list.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
new_from_mermaidA
Create a new BPMN diagram from Mermaid code and set it as current context
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new diagram | |
| mermaidCode | Yes | Mermaid flowchart code to convert | |
| extensionProfile | No | BPMN extension profile for the authored document | portable |
Output Schema
| Name | Required | Description |
|---|---|---|
| name | Yes | |
| type | Yes | |
| filename | Yes | Active BPMN filename |
| warnings | Yes | |
| flowCount | Yes | |
| nodeCount | Yes | |
| processId | Yes | Stable generated or existing BPMN ID |
| extensionProfile | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false and destructiveHint=false, so safety is covered. The description adds the behavioral trait of setting the new diagram as the current context, which is not in annotations. This is useful context beyond the structured data, though it does not disclose error handling or prerequisites.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that states the action, the input, and the side effect without any redundancy. Every word contributes to the meaning, making it highly concise and structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is a straightforward creation operation with a side effect. The description states the core purpose and the current-context behavior. An output schema exists (as indicated), so return values are presumably covered elsewhere. The description is sufficient for an agent to understand how to invoke it correctly, though it does not mention potential failure modes or prerequisites.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema descriptions fully cover all three parameters (name, mermaidCode, extensionProfile) with 100% coverage. The tool description does not add any further meaning beyond what the schema already provides, so the baseline score of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb ('Create'), a resource ('a new BPMN diagram from Mermaid code'), and a distinct side effect ('set it as current context'). It differentiates from siblings like new_bpmn (likely empty diagram) and open_mermaid_file (opens existing file) by emphasizing the conversion and context-setting behavior.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when you have Mermaid code and want to convert it to BPMN, but it does not explicitly state when to use this tool versus alternatives such as new_bpmn or open_mermaid_file. There is no 'use this when' or 'prefer this over' guidance, leaving the agent to infer context from the purpose.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
open_bpmnAIdempotent
Open an existing BPMN file and set it as current context
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Filename of the BPMN diagram to open |
Output Schema
| Name | Required | Description |
|---|---|---|
| name | Yes | |
| type | Yes | |
| filename | Yes | Active BPMN filename |
| processId | Yes | Stable generated or existing BPMN ID |
| elementCount | Yes | |
| connectionCount | Yes | |
| extensionProfile | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already disclose idempotency (idempotentHint: true) and non-destructiveness (destructiveHint: false). The description adds the key behavioural trait of switching the current context, which is not captured by annotations. It does not discuss failure modes, but given the annotations and the simple nature of the tool, this is sufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence states the action and effect with zero filler. Every word adds value, and the structure is optimally compact for a tool with one parameter.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with one parameter, an output schema, and annotations that cover safety, this description is complete. It explains what the tool does (opens and sets context), and nothing else is needed for an agent to invoke it correctly. The existence of the output schema relieves the description from explaining return values.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema fully describes the single parameter ('filename': 'Filename of the BPMN diagram to open') with 100% coverage. The description does not add any extra meaning about the parameter (e.g., path patterns, extensions, or constraints), so it merely echoes the schema. A baseline of 3 is appropriate when the schema carries the semantic load.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Open'), a clear resource ('existing BPMN file'), and an explicit effect ('set it as current context'). This distinguishes it from siblings like new_bpmn (create), open_mermaid_file (different format), and save (persist), making the purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly implies usage: open an existing BPMN diagram to make it the working context. It does not explicitly name alternatives or conditions for when not to use it, but the resource type ('existing BPMN') implicitly rules out new files or other formats. A named alternative would be stronger, but the core context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
open_mermaid_fileA
Open a Mermaid file, convert it to BPMN, and set as current context
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Filename of the Mermaid file to open and convert | |
| extensionProfile | No | BPMN extension profile for the authored document | portable |
Output Schema
| Name | Required | Description |
|---|---|---|
| name | Yes | |
| type | Yes | |
| filename | Yes | Active BPMN filename |
| warnings | Yes | |
| flowCount | Yes | |
| nodeCount | Yes | |
| processId | Yes | Stable generated or existing BPMN ID |
| sourceFilename | Yes | |
| extensionProfile | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark the tool as non-read-only and non-destructive, and the description adds the key side effect of setting current context. It does not disclose potential impacts on unsaved work or file modifications, but given the annotation coverage, the provided behavioral details are adequate and non-contradictory.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the primary action (open, convert, set context). Every word adds value with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the core purpose and the side effect of setting current context, while an output schema exists and all parameters are fully described. It does not explicitly mention the extensionProfile's role, but that is a minor omission given the schema's clarity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Both parameters (filename and extensionProfile) have full descriptions in the schema, including the enum for extensionProfile. The tool description itself adds no extra parameter context, which is acceptable because schema coverage is 100%.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear verb-resource-action: open a Mermaid file, convert it to BPMN, and set it as current context. This distinguishes it from siblings like open_bpmn (which opens BPMN files) and new_from_mermaid (which creates new BPMN from Mermaid).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The context where this tool should be used is implied: when an existing Mermaid file needs to be converted and made the active diagram. However, it does not explicitly mention alternatives or conditions for selection, leaving the agent to infer from tool names and sibling descriptions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
saveADestructiveIdempotent
Save the current diagram to its file (error if no filename set)
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| name | Yes | |
| filename | Yes | Active BPMN filename |
| processId | Yes | Stable generated or existing BPMN ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true and idempotentHint=true, covering the safety profile. The description adds the error condition (error if no filename set), which is useful behavioral context, but little else about side effects. It does not contradict annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence that front-loads the primary action and immediately notes the key error condition. Every word earns its place, with no filler or repetition of schema information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has no parameters and an output schema exists, the description adequately covers what the tool does and a critical edge case (missing filename). It does not discuss permissions or asynchronous behavior, but these are minor for a save operation with existing annotations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
This tool has zero parameters, so the description does not need to explain parameter semantics. The baseline of 4 applies because there is nothing to elaborate on; the description correctly avoids adding irrelevant details.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the exact action (save), the resource (current diagram), and the destination (its file), which immediately distinguishes it from save_as. The error condition adds precision. This is a clear, unambiguous purpose for an agent.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies that a filename must already be set to avoid an error, which indirectly suggests using save_as when no filename is set, but it does not explicitly name save_as or other alternatives. This leaves usage guidance implicit rather than explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
save_asAIdempotent
Save the current diagram with a new filename
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | New filename for the diagram |
Output Schema
| Name | Required | Description |
|---|---|---|
| name | Yes | |
| filename | Yes | Active BPMN filename |
| processId | Yes | Stable generated or existing BPMN ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false (write operation) and destructiveHint=false. The description adds the key 'new filename' behavior but does not disclose side effects such as whether the current diagram's internal file reference changes to the new filename, or what happens if a file with the same name already exists (overwrite vs. error). The description adds minimal behavioral context beyond the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, succinct sentence with no extraneous words. It front-loads the verb and directly conveys the essential action and differentiator. There is zero waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple (one parameter) and has an output schema, so return values are likely covered. However, the description omits important behavioral nuances: what happens to the current diagram's file association after save_as, and whether existing files are overwritten. Given the presence of a sibling 'save' tool, an explicit clarification of when to use save_as versus save would improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% (the 'filename' parameter has a clear description: 'New filename for the diagram'). The tool description essentially repeats this information without adding further meaning. The baseline of 3 applies since the schema fully documents the parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Save the current diagram with a new filename' clearly states the action (save), the resource (current diagram), and the key differentiator (with a new filename) that distinguishes it from the sibling 'save' tool. An agent can immediately understand what this tool does and how it differs from the alternative.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context (use when you want to save under a different name) but does not explicitly state when to prefer this over 'save' or mention any exclusions. The differentiation is implicit via the phrase 'with a new filename' rather than an explicit 'use this when you want to keep the original file intact'.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
update_elementADestructiveIdempotent
Update properties of an element in the current diagram
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the element | |
| elementId | Yes | ID of the element to update | |
| properties | No | Typed properties to update. isCollection and itemSubjectRef apply only to data object references; null clears itemSubjectRef, assignee, candidateGroups, or dueDate. Unknown and namespace-qualified fields are rejected. | |
| defaultFlow | No | Outgoing sequence-flow ID to make the element default, or null to clear its default flow |
Output Schema
| Name | Required | Description |
|---|---|---|
| filename | Yes | Active BPMN filename |
| elementId | Yes | Stable generated or existing BPMN ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate destructiveHint=true and idempotentHint=true, so the description does not need to restate that it mutates. However, the description adds no additional behavioral context, such as whether updating is partial (only provided properties change), whether null clears fields, or what happens if the element does not exist. Given the sparse description, the agent must rely on the schema for these nuances. The description is consistent with annotations but adds minimal value.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no wasted words. It clearly communicates the action and target. This is exemplary conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has a complex schema with nested properties and an output schema, and the description is very brief. While the schema carries detailed parameter semantics and annotations indicate destructive behavior, the description does not explain the partial-update semantics (unchanged properties remain) or that certain fields apply only to specific element types. An agent would need to read the schema carefully. For a mutation tool with this complexity, the description could provide more context, making it adequate but not complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% – each parameter (elementId, name, defaultFlow, and the properties object) already has a detailed description in the schema, including notes on clearing fields and restrictions. The tool description itself adds no semantic information about parameters, so it does not compensate beyond what the schema provides. Baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear verb ('Update') and a specific resource ('properties of an element in the current diagram'). This distinguishes it from sibling tools like get_element, delete_element, and add_* tools. The mention of 'current diagram' adds context. It is specific and unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no explicit guidance on when to use this tool versus alternatives, such as save (which persists the whole diagram) or get_element (to read). Usage is implied by the name and description, but there is no directing of the agent to consider alternatives or exclusions. It is acceptable but not explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validateARead-onlyIdempotent
Validate the current diagram using cumulative BPMN checks: syntax parses XML and resolves references; semantic adds owner-aware event, flow, subprocess, lane, and collaboration rules; full also adds executable-profile start/end/connectivity guidance
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Cumulative validation level: syntax; syntax + semantic; or syntax + semantic + executable-profile guidance | full |
Output Schema
| Name | Required | Description |
|---|---|---|
| level | Yes | |
| valid | Yes | |
| errors | Yes | |
| issues | Yes | |
| summary | Yes | |
| filename | Yes | Active BPMN filename |
| warnings | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, establishing the safety profile. The description adds valuable behavioral context by detailing what each validation level actually does—syntax parsing and reference resolution, semantic rules for events/flows/subprocesses/lanes/collaborations, and executable-profile guidance for full. This goes beyond the annotations and helps the agent understand what the validation entails, without contradicting the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, but it is well-structured with semicolons to separate the levels, and it front-loads the primary action ('Validate the current diagram'). It avoids unnecessary words while conveying all key information. The length is appropriate for the complexity of the tool's levels, and it doesn't repeat what the schema already states.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one optional parameter, no required params), the description adequately covers the validation levels and what they involve. An output schema exists, so the return value is documented elsewhere. The description is complete for an agent to understand how to invoke the tool and what to expect from each level, with no missing critical details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema covers the 'level' parameter with enum values and a description, but the tool description provides much richer semantics by explaining exactly what each level checks. For example, 'syntax parses XML and resolves references' adds meaning beyond the schema's simple cumulative statement. Since schema coverage is 100%, a baseline of 3 is appropriate, but the elaboration justifies a 4.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Validate' and the resource 'current diagram', making the tool's purpose unambiguous. It also distinguishes itself by explaining the cumulative levels, which is specific and not redundant with the name. Since sibling tools are all editing/IO operations, this is clearly the validation tool, and the description highlights its unique functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context on when to use the tool (to validate the current diagram) and explains the different validation levels, implicitly guiding the agent on choosing the appropriate level. It doesn't mention alternatives because there are none among the siblings that serve a similar purpose, so the absence of explicit exclusion is acceptable. The trigger condition is well-defined.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
27 tool updates
v0.2.0- First observed
add_activity - First observed
add_association - First observed
add_data_object - First observed
add_event - First observed
add_gateway - First observed
add_lane - First observed
add_pool - First observed
add_text_annotation - First observed
auto_layout - First observed
close - First observed
connect - First observed
current - First observed
delete_diagram_file - First observed
delete_element - First observed
export - First observed
get_diagrams_path - First observed
get_element - First observed
list_diagrams - First observed
list_elements - First observed
new_bpmn - First observed
new_from_mermaid - First observed
open_bpmn - First observed
open_mermaid_file - First observed
save - First observed
save_as - First observed
update_element - First observed
validate
TDQS
Scored across 27 tools
Each tool targets a clearly distinct action or resource. Element creation tools are separated by type (event, activity, gateway, data object, annotation, pool, lane), and file operations are distinct (new, open, save, save_as, close, list, delete). No two tools appear to overlap in purpose.
The naming pattern is mostly consistent with verb-first, underscore-separated names (e.g., add_event, list_elements, delete_diagram_file). Minor deviations exist, such as 'new_from_mermaid' and 'open_mermaid_file' vs. 'open_bpmn', and the noun 'current' as a standalone tool, but overall the convention is coherent.
27 tools is above the typical 3-15 range, but the complexity of a BPMN editor justifies the breadth. The tools cover file management, element operations, validation, layout, and export without excess overlap, so the count feels justified rather than bloated.
The tool surface is remarkably complete for a BPMN diagramming server. It covers full CRUD for elements and files, connections, associations, validation at multiple levels, layout, and export. There are no glaring gaps that would hinder common workflows, including lifecycle operations for diagrams and elements.
Maintenance
Related MCP Connectors
Create workflow, sequence, architecture, and mind map diagrams via AI assistants.
Generate dynamic Mermaid diagrams and charts with AI assistance. Customize styles and export diagr…
Create and manage Mermaid.js flowcharts and diagrams with AI agents via MCP.
Read, create and edit noddle diagram boards, browse versions and comment as an AI collaborator.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to programmatically create, modify, and export BPMN 2.0 workflow diagrams. It supports managing various process elements and sequence flows while providing export capabilities to standard XML and SVG formats.714MIT
- FlicenseBqualityDmaintenanceEnables AI agents to create, manipulate, and manage BPMN 2.0 diagrams programmatically, with support for Mermaid conversion, auto-layout, and file persistence.2412-
- FlicenseNot gradedqualityFmaintenanceEnables AI-driven graphical diagram creation and manipulation using natural language, with support for BPMN workflows, analysis, and manual editing via the Model Context Protocol.1-
- FlicenseCqualityBmaintenanceEnables generating BPMN 2.0 process models from natural language descriptions, YAML, or images via OCR, with templates, validation, and compatibility with tools like Bizagi Modeler and Camunda Modeler.41-