Skip to main content
Glama

comfy_cli_workflow

Validate or run ComfyUI workflow files to check class types, inputs, enums, and edge wiring without submission, or execute asynchronously with optional wait for outputs.

Instructions

Validate or run an API/UI workflow file using official comfy-cli. Validation checks class types, inputs, enums, and edge wiring without submission. Run submits asynchronously by default; set wait=true to await outputs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNo
whereNo
actionYes
workspaceNoOptional ComfyUI workspace override. Otherwise COMFYUI_PATH/auto-detection is used.
workflowPathYes
timeoutSecondsNo
Behavior4/5

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

Discloses that validation checks without submission (non-destructive) and run submits asynchronously by default with wait option for synchronous outputs. No annotations exist, so description carries full burden adequately.

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?

Two concise, front-loaded sentences with no redundant information. Every word adds value.

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

Completeness2/5

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

Lacks crucial details such as prerequisites (comfy-cli installation), return values, error handling, and behavior differences between local/cloud. Given no output schema and many sibling tools, description is incomplete.

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

Parameters2/5

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

Schema description coverage is only 17% (workspace only), yet description only adds context for 'wait' (set wait=true to await outputs). Other parameters like where, timeoutSeconds, and workflowPath remain unexplained.

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 clearly states it validates or runs workflow files using comfy-cli, distinguishing between the two actions. However, it does not differentiate from sibling tools like validate_workflow or run_workflow_url.

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

Usage Guidelines2/5

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

Provides basic context for using validate vs run and async vs wait, but no guidance on when to prefer this tool over numerous siblings such as validate_workflow, enqueue_workflow, or run_workflow_url.

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