Skip to main content
Glama

Zovo Flowchart

Generate flowchart

generate_flowchart
Read-onlyIdempotent

Use this when the user wants a flowchart, process diagram, decision tree or workflow chart from a list of steps and decisions, or wants Mermaid flowchart text drawn as an image or PDF. Takes text with one edge per line (A -> B, A -> B: label, Mermaid flowchart syntax) or nodes (id, text, shape: start, end, process, decision, input, document) with edges (from, to, label), plus top-down or left-right direction. Returns the laid-out chart in an interactive widget, layout checks (box overlaps, edge crossings), process checks (unknown ids with the line number, decisions with fewer than two branches, unreachable and dead-end steps), Mermaid text, and SVG, PDF and Mermaid downloads. Limits are 150 nodes and 300 edges. Does not draw swimlanes, org charts, mind maps, sequence diagrams or charts of data; does not save or share charts.

Input Schema

NameRequiredDescriptionDefault
textNoThe flowchart as text, one edge per line, e.g. "Start -> Check stock\nCheck stock -> In stock?\nIn stock? -> Ship: yes\nIn stock? -> Reorder: no". Node forms: id[Text] process, id{Question?} decision, id([Text]) start or end, id[/Text/] input or output, id@{ shape: doc, label: "Text" } document. Plain words are a node too. Labels: A -> B: label or A -->|label| B. Mermaid flowchart text works. Leave empty when you give nodes and edges.
edgesNoArrows between node ids, up to 300, e.g. [{"from":"q","to":"ship","label":"yes"}].
nodesNoNodes, 1 to 150, e.g. [{"id":"s","text":"Start","shape":"start"},{"id":"q","text":"Paid?","shape":"decision"}]. Use with edges instead of text.
titleNoTitle shown above the chart and used for file names, up to 80 characters, e.g. "Order handling".
directionNoFlow direction, e.g. top-down (default) or left-right.
page_sizeNoPDF page, e.g. auto (default, page fits the chart at full size), letter or a4 (chart scaled to fit one page).
edge_styleNoArrow style, e.g. orthogonal (default, right-angle lines) or straight.

Output Schema

NameRequiredDescriptionDefault
pdfYes
sizeYes
titleYes
layersYes
mermaidNo
overlapsYes
warningsYes
dead_endsYes
directionYes
downloadsYes
end_nodesYes
page_sizeYes
back_edgesYes
edge_countYes
edge_styleYes
node_countYes
self_loopsYes
start_nodesYes
unreachableYes
shape_countsYes
mermaid_linesYes
preview_countNo
edge_crossingsYes
warnings_countNo
dead_ends_countNo
end_nodes_countNo
layer_crossingsYes
start_nodes_countNo
unreachable_countNo
decisions_missing_branchesYes
decisions_missing_branches_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description goes well beyond that by disclosing the validation behavior (layout checks for box overlaps and edge crossings, process checks for unknown ids with line numbers, single-branch decisions, unreachable and dead-end steps) and the hard limits of 150 nodes and 300 edges, which an agent needs before constructing input.

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

Conciseness4/5

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

Front-loaded with the trigger condition, then inputs, then outputs, then limits, then exclusions — a logical order with no filler sentences. It is a dense single paragraph, and the long enumeration of return artifacts and checks makes it heavier than strictly necessary, but each clause carries information an agent would otherwise have to discover by trial.

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

Completeness5/5

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

For a 7-parameter generative tool with an output schema, the description covers trigger, input modes, output artifacts, validation feedback, and hard limits. Even though the output schema exists and return values need not be explained, the description's summary of what comes back (widget, checks, Mermaid, SVG/PDF downloads) helps the agent set user expectations correctly.

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%, so the baseline is 3, but the description adds real meaning the schema does not: it explains the two mutually exclusive input modes (text with one edge per line vs. nodes plus edges) and states "Leave empty when you give nodes and edges," which resolves an ambiguity the schema leaves open. It also names the accepted node shapes and label syntaxes in prose, though it does not elaborate on page_size or edge_style beyond the enum descriptions.

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?

States a specific verb and resource (generate a flowchart) and enumerates the concrete artifacts it produces (Mermaid text, SVG, PDF, interactive widget). It also draws a hard boundary against adjacent diagram types (swimlanes, org charts, mind maps, sequence diagrams, data charts), so an agent can tell exactly what this tool is and is not.

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

Usage Guidelines5/5

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

Opens with an explicit trigger condition ("Use this when the user wants a flowchart, process diagram, decision tree or workflow chart...") and closes with explicit when-not conditions (no swimlanes, org charts, mind maps, sequence diagrams, data charts; no saving or sharing). With no sibling tools, the exclusions do the routing work that sibling differentiation would otherwise do.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources