Skip to main content
Glama

comfyui.job.cancel

DestructiveIdempotent

Remove a queued ComfyUI job from the queue. Running jobs are safely rejected and not interrupted.

Instructions

Remove this principal's queued ComfyUI job; running jobs are safely rejected because ComfyUI interrupt is global.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prompt_idYes
server_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorYes
statusYes
outputsYes
client_idYes
prompt_idYes
server_idYes
workflow_idYes
idempotency_keyYes
Behavior5/5

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

Beyond annotations (destructiveHint=true, idempotentHint=true), the description explains that running jobs are 'safely rejected because ComfyUI interrupt is global,' adding valuable behavioral context about why the tool cannot cancel running jobs.

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, well-structured sentence that conveys the core purpose and a key behavioral caveat without any superfluous words.

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?

Given the tool's simplicity (two self-explanatory parameters) and the presence of an output schema, the description covers the primary use case and constraints. Missing parameter details are a minor gap, but overall it's fairly complete.

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

Parameters1/5

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

The description does not discuss either parameter (prompt_id, server_id). With 0% schema description coverage, the agent must infer meaning from parameter names alone, which is insufficient for reliable use.

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 action ('Remove') and the resource ('this principal's queued ComfyUI job'), differentiating it from sibling tools get and upload. It also explains behavior for running jobs, leaving no ambiguity.

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?

The description implies usage for cancelling queued jobs and notes that running jobs are rejected safely, providing context for when the tool will succeed. However, it does not explicitly state when not to use it or suggest alternatives.

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/ShiroEirin/ComfyUI_MCP_Skills'

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