Skip to main content
Glama

draw_activity_diagram

Create UML activity diagrams with nodes, decisions, forks, joins, start/end, flows, and swimlanes. Outputs editable .drawio files for diagrams.net.

Instructions

Create a UML activity diagram as a .drawio file. Accepts action nodes, decisions, forks/joins, start/end nodes, flows, and swimlanes. Output is a .drawio file that opens in draw.io (diagrams.net).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowsYes
nodesYes
titleNoActivity Diagram
endNodeIdNo
swimlanesNo
startNodeIdNo
Behavior3/5

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

With no annotations, the description carries full burden. It discloses the output format and that it opens in draw.io, but does not mention side effects, authentication needs, rate limits, or behavior on invalid input.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences long, front-loads the main purpose, and contains no redundant or unnecessary information.

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

Completeness2/5

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

Given the complexity of activity diagrams and the absence of an output schema, the description is too brief. It does not explain constraints (e.g., one start/end node), valid flow connections, or error scenarios, which may lead to incorrect tool invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It mentions nodes, flows, and swimlanes but does not explain parameters like startNodeId, endNodeId, or individual property semantics. This is insufficient for a 6-parameter tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool creates a UML activity diagram as a .drawio file, specifying the resource (activity diagram) and verb (create). It distinguishes from sibling tools that draw class, sequence, or usecase diagrams.

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

Usage Guidelines3/5

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

The description implicitly indicates usage for activity diagrams via the name and mention of node types, but it lacks explicit guidance on when to use this tool over alternatives or any when-not conditions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

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

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rifujin123/drawio-mcp'

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