Skip to main content
Glama

comfy_queue_prompt

Queue a ComfyUI workflow for execution. Configure priority, metadata, and partial execution targets, then receive a structured queue acknowledgment.

Instructions

Queue a workflow for execution. Returns structured QueueAck.

Args: workflow: Workflow dict to queue front: If True, insert at front of queue instead of back workflow_id: Optional stable workflow UUID for ComfyUI job metadata workflow_version_id: Optional workflow-version UUID partial_execution_targets: Optional output node IDs to execute extra_data: Optional metadata to attach to the queued prompt

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frontNo
workflowYes
extra_dataNo
workflow_idNo
workflow_version_idNo
partial_execution_targetsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
prompt_idNo
upload_mapNo
node_errorsNo
queue_numberNo
auto_snapshotNo
queue_positionNoDeprecated: ComfyUI does not return an ordinal queue position
Behavior3/5

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

Annotations already indicate readOnlyHint=false, so the mutation aspect is known. The description adds that it returns a QueueAck and mentions parameter behavior (e.g., front insertion) but does not disclose any additional side effects, permissions, or error conditions. It is not contradictory to annotations, but adds limited behavioral context beyond the annotations.

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 a single concise paragraph with a clear opening statement and an Args list. It is front-loaded with the purpose and then lists parameters efficiently without any unnecessary words or repetition.

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 tool is moderately complex with 6 parameters and nested objects, but has an output schema. The description explains all parameters and the return type (QueueAck), which covers the key usage aspects. It does not go into workflow structure expectations or error handling, but given the output schema and annotations, it is sufficiently complete for an agent to use the tool 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?

With 0% schema description coverage, the description carries the full burden for parameter meaning. It clearly explains each parameter: workflow (dict to queue), front (insert at front), workflow_id (stable UUID), workflow_version_id (version UUID), partial_execution_targets (output node IDs), extra_data (metadata). This fully compensates for the schema's lack of descriptions.

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 the tool queues a workflow for execution and returns a structured QueueAck. It uses a specific verb (queue) with a clear resource (workflow), and it is distinct from sibling tools like comfy_validate_workflow or comfy_cancel_run.

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 this is the main tool for submitting workflows for execution, but it does not explicitly state when to use it versus alternatives (e.g., validate first) or mention prerequisites. It gives no exclusion criteria or alternative tool guidance.

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/dreamrec/ComfyPilot'

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