Skip to main content
Glama

comfyui_import_workflow

Import a ComfyUI API-format workflow into the managed workflow store, saving it for subsequent use and management.

Instructions

Import a ComfyUI API-format workflow object into the managed workflow store.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
workflowYes
overwriteNo
descriptionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states that the object is imported into a store; it does not mention overwrite behavior, validation, execution semantics, or any side effects. For a mutation tool this is insufficient.

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 one sentence, front-loaded with the verb, and contains no filler. Every phrase contributes to identifying the action and target.

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?

Despite an output schema being present and the workflow object being nested, the one-sentence description is too thin for a 4-parameter import tool with no annotations. It leaves out usage context, overwrite behavior, and validation implications, forcing the agent to infer too much.

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?

With schema description coverage at 0%, the description must compensate. It usefully clarifies that 'workflow' is a ComfyUI API-format object, which is not evident from the schema. However, it adds no meaning for name, overwrite, or description, though those are less ambiguous.

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 uses the specific verb 'Import' and identifies the exact resource ('ComfyUI API-format workflow object') and destination ('managed workflow store'). The API-format qualifier distinguishes this from sibling tools like create_workflow or run_workflow.

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 given on when to use this tool versus alternatives such as create_workflow. The phrase 'API-format workflow object' implies use for importing existing API JSON, but there is no direct statement of when not to use it or which sibling to prefer.

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

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