Skip to main content
Glama

delete_queue_items

Remove specific items from the ComfyUI queue by prompt_id to clear unwanted jobs; retrieve the IDs with list_queue first.

Instructions

Remove specific items from ComfyUI queue by prompt_id. Use list_queue to get prompt_ids. Requires COMFYUI_HOST.

Input Schema

NameRequiredDescriptionDefault
prompt_idsYesList of prompt_id to remove from queue (from list_queue or execute_workflow)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
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 behavioral burden for a mutation tool. It mentions the COMFYUI_HOST requirement but does not disclose whether removal affects running versus pending items, whether it is reversible, or what happens on invalid prompt_ids.

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?

Three short sentences, front-loaded with the action and followed by the lookup dependency and config prerequisite. No wasted text.

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

Completeness3/5

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

Adequate for a one-parameter tool with full schema coverage and no output schema, but as an unannotated destructive operation it should disclose more about queue state and side effects.

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?

Schema coverage is 100%, so the single prompt_ids parameter is already documented in the schema. The description reiterates that IDs come from list_queue but adds no format or validation detail beyond the 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?

Names a specific verb and resource ('Remove specific items from ComfyUI queue') and scopes it by 'prompt_id', which clearly distinguishes it from broad queue operations like clear_queue.

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

Usage Guidelines4/5

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

Gives a concrete prerequisite step: use list_queue to get prompt_ids. It does not explicitly contrast with clear_queue or interrupt_execution, so the agent must infer when removal is preferable to clearing or interrupting.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.