Skip to main content
Glama
askuma

workflow-generator

generate_workflow

Scan any project directory to generate a visual system workflow with component analysis, communication paths, concurrency model, and bottleneck estimates. Supports Python, Node.js, Go, and mixed projects.

Instructions

Scan a project directory and generate WORKFLOW.html — a visual system workflow showing all components, their communication paths, concurrency model, concurrent request capacity, and bottleneck analysis. Works with Python (FastAPI, Flask, Django), Node.js (Express, Nest.js), Go, and mixed projects. Detects: API frameworks, gateways, LLM providers, vector stores, databases, queues, rate limits, async primitives, and worker counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
output_fileNoOutput path for WORKFLOW.html. Defaults to <project_dir>/WORKFLOW.html.
project_dirNoAbsolute path to the project root. Defaults to current working directory.
open_browserNoOpen the generated file in the default browser.
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses the tool scans directories, reads project files, and produces an HTML file. Could mention nondestructive nature or that it doesn't modify files, but current detail 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.

Conciseness4/5

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

Description is a single paragraph that efficiently conveys purpose, supported projects, and detection capabilities. Every sentence adds value, though slightly lengthy; could be more structured but not wasteful.

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?

Given no output schema, description thoroughly explains what the generated HTML contains and lists many detectable components. Provides complete understanding of tool's capabilities and output.

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

Parameters3/5

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

Schema coverage is 100% and parameters are well-described in schema. Description adds context that output file is a visual workflow, but doesn't enhance meaning beyond schema definitions for the three parameters.

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?

Description clearly states the tool scans a project directory and generates a visual workflow HTML file. Verb 'generate' with specific resource 'WORKFLOW.html' and explicit detection capabilities distinguish it from sibling 'analyze_workflow'.

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?

Description specifies supported project types (Python, Node.js, Go, mixed) and frameworks, giving clear context for when to use. However, lacks explicit 'when not to use' or comparison to alternatives like analyze_workflow.

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/askuma/workflow-generator'

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