Skip to main content
Glama

mermaid_to_excalidraw

Convert Mermaid flowchart syntax into an Excalidraw diagram. Auto-detects component types from node labels for appropriate styling.

Instructions

Convert Mermaid flowchart syntax into an Excalidraw diagram.

Supports the mermaid flowchart subset that AI agents commonly generate:

  • Directions: graph TD, LR, BT, RL

  • Node shapes: [text], {text}, ((text)), ([text])

  • Edge types: -->, ---, -.-> ==> with |label|

  • Subgraphs: subgraph Title ... end

Component types are auto-detected from node labels (e.g., a node labeled "PostgreSQL DB" automatically gets database styling).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mermaid_syntaxYesMermaid flowchart source code.
output_pathYesFile path to save the .excalidraw file.
themeNoColor theme - "default", "dark", "colorful", "professional". Default: "default". "professional" uses clean lines (no hand-drawn effect) and Helvetica font.default

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description details the supported Mermaid subset and auto-detection of component types. With no annotations, it carries the full burden and mostly covers behavior, though missing details on file overwrite or error handling.

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 succinct and well-structured with bullet points for supported features. Every sentence adds value, and the most important information is front-loaded.

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

Completeness4/5

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

Given the tool's moderate complexity and presence of an output schema, the description covers essential aspects like supported syntax and auto-detection. Minor gaps exist (e.g., error handling), but overall it is sufficiently complete.

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

Parameters4/5

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

Schema coverage is 100%, baseline is 3. The description adds value beyond the schema by elaborating on the supported syntax and theme options (e.g., 'professional' uses Helvetica). This aids parameter understanding.

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 converts Mermaid flowchart syntax into an Excalidraw diagram. It specifies the supported subset, which distinguishes it from sibling tools like create_diagram, get_diagram_info, and modify_diagram that do not involve conversion.

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

Usage Guidelines4/5

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

The description provides clear context on when to use the tool—when you have Mermaid syntax and need an Excalidraw diagram. However, it does not explicitly state when not to use it or mention alternatives, though 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.

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/KTCrisis/arch7'

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