Skip to main content
Glama

describe_workflow

Inspect a ComfyUI workflow to see its inputs, outputs, and model files, with parameter details and resolved values.

Instructions

Report the parameters a workflow accepts, plus its outputs and model files.

Each parameter lists where it is actually written in the graph. Values reached through primitives and switches are resolved automatically, so steps points at the primitive node feeding the sampler rather than the sampler itself.

When ComfyUI is running, each parameter also carries its real type, allowed options and numeric range, taken from the node's own schema.

Args: name: workflow file name, without the .json extension. refresh_schemas: re-read node schemas from ComfyUI. Use after installing models or custom nodes, since schemas are cached.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
refresh_schemasNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses automatic resolution through primitives/switches, dynamic schema enrichment when ComfyUI is running, and the fact that schemas are cached (prompting refresh_schemas). It does not explicitly state the operation is read-only, but 'Report' implies no mutation; this is a minor omission.

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 well-structured: a purpose sentence, a paragraph on parameter resolution behavior, a paragraph on dynamic schema details, and an Args list. Every sentence adds value with no fluff or redundancy, achieving strong conciseness for a tool with moderate complexity.

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 inputs, key behaviors (resolution, caching, dynamic types), and mentions outputs. Since an output schema exists, return-value details need not be in the description. It lacks explicit guidance on when to use versus alternatives (covered in usage_guidelines) and does not mention error cases, but overall it is sufficiently complete for an agent to invoke correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate. The Args section explains both parameters: 'name' is the workflow file name without .json extension, and 'refresh_schemas' re-reads node schemas and should be used after installing models/custom nodes because schemas are cached. This adds meaningful semantics beyond the raw schema.

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 opens with 'Report the parameters a workflow accepts, plus its outputs and model files,' which specifies the verb and resource. It clearly distinguishes from siblings like list_workflows (listing) and describe_node (node-specific), while sharing the 'workflow' domain.

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?

The description implies usage when you need to inspect a workflow's parameters/outputs, but it does not explicitly state when to use this over describe_node, get_workflow_guide, or list_workflows. No exclusions or alternative tool mentions are provided.

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

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