Skip to main content
Glama

visualize_workflow_hierarchical

Create hierarchical diagrams of ComfyUI workflows with 20+ nodes. Automatically detect sections, resolve virtual wires, and generate overviews, detailed views, or text summaries.

Instructions

Visualize a large ComfyUI workflow as a hierarchical diagram. Detects logical sections using node categories from /object_info, resolves Get/Set virtual wires, and produces either a compact overview (sections as summary nodes), a detailed view of one section, or a text listing of all sections. Best for workflows with 20+ nodes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
viewNooverview: compact diagram with sections as summary nodes; detail: full diagram for one section; list: text summary of all sections; summary: structured text optimized for AI ingestion with node IDs, key settings, virtual wires, and full connection graphoverview
sectionNoSection name to show in detail view (required when view=detail). Use view=list to see available section names.
workflowYesComfyUI workflow in API format or UI format (auto-detected)
show_valuesNoInclude widget values in node labels (detail view only)
directionNoFlowchart direction (default: TB for overview, LR for detail)
Behavior4/5

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

The description discloses key behaviors such as detecting logical sections, resolving virtual wires, and producing different output formats. It is clear that the tool is read-only and non-destructive, which is appropriate for a visualization tool.

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 very concise: two sentences plus a final recommendation. It front-loads the main purpose and efficiently adds detail without any wasted words.

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?

The description covers the main aspects: purpose, views, and usage context. However, it could be more explicit about the output format (e.g., whether it returns an image or text) and the 'summary' view's exact structure. Overall, it is fairly complete for a visualization tool with a well-documented schema.

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 description coverage is 100%, and the schema already provides clear descriptions for each parameter. The tool description does not add significant extra meaning beyond what the schema offers, so a baseline score of 3 is appropriate.

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 it visualizes a ComfyUI workflow as a hierarchical diagram, specifically for large workflows, and distinguishes it from sibling tools (e.g., visualize_workflow) by mentioning 'hierarchical' and '20+ nodes'.

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 a usage guideline ('Best for workflows with 20+ nodes') and outlines different views (overview, detail, list, summary) with brief explanations. However, it does not explicitly exclude alternatives or mention when not to use this tool.

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/artokun/comfyui-mcp'

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