Skip to main content
Glama

comfyui_summarize_workflow

Read-onlyIdempotent

Summarize ComfyUI workflow structure, data flow, and key parameters from a JSON graph. Get a human-readable text summary or a Mermaid flowchart.

Instructions

Summarize a ComfyUI workflow's structure, data flow, and key parameters.

Parses the workflow graph, extracts models, parameters, and execution flow. Enriches with display names from the ComfyUI server when available.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflowYesJSON string of a ComfyUI workflow (API format). Each top-level key is a node ID, each value has 'class_type' and 'inputs'.
output_formatNoOutput format: 'text' (human-readable summary) or 'mermaid' (Mermaid flowchart markup).text

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already mark this as read-only and idempotent. The description adds useful behavioral detail by noting that it enriches the summary with display names from the ComfyUI server 'when available', implying a conditional server call and fallback. No contradictions with annotations.

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?

The description is compact but has some redundancy—'key parameters' in the first sentence is echoed by 'extracts models, parameters' in the second. It is structured with a clear lead sentence and supporting bullets, though it could be slightly tightened without losing meaning.

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 simple 2-parameter schema, presence of an output schema, and safety annotations, the description adequately covers the tool's purpose and enrichment behavior. It doesn't need to explain return values because the output schema exists, so it is sufficiently complete for an agent to use correctly.

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?

Both parameters are fully documented in the schema with descriptions (100% coverage), so the schema carries the parameter semantics. The tool description does not add parameter-specific details beyond restating 'workflow', so the baseline 3 is appropriate.

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

Purpose4/5

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

The description opens with 'Summarize a ComfyUI workflow's structure, data flow, and key parameters', which is a clear verb+resource statement. It doesn't explicitly differentiate from sibling tools like comfyui_analyze_workflow or comfyui_validate_workflow, but the summarize verb makes the intended action obvious.

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?

No explicit guidance is provided on when to use this tool versus alternatives. The description implies it should be used for obtaining a workflow overview, but it doesn't mention exclusions or alternative tools, so usage context is only implicit.

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/hybridindie/comfyui_mcp'

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