clear_queue
Remove all queued jobs from ComfyUI while keeping the current job running.
Instructions
Clear all pending jobs from the ComfyUI queue. Does not affect the currently running job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Remove all queued jobs from ComfyUI while keeping the current job running.
Clear all pending jobs from the ComfyUI queue. Does not affect the currently running job.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
v0.5.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It discloses that only pending jobs are cleared, not the currently running job. This is key behavioral info. No mention of irreversibility or permissions, but the operation is simple.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with the action, no unnecessary words. Very concise and efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity (no params, no output schema), the description fully covers the tool's behavior and limitations. Complete for its complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters, so schema coverage is 100%. Description adds no param details, but baseline for zero params is 4. It does add context about what is cleared.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (clear all pending jobs) and the resource (ComfyUI queue), and distinguishes itself from related operations like cancel_job or cancel_queued_job by specifying the scope (all pending, not current job).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use (clear entire queue) but does not explicitly exclude alternatives like cancel_queued_job for individual cancellations. It provides clear context but lacks comparative guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.