Skip to main content
Glama

list_tasks

Read-onlyIdempotent

List all generation tasks and filter them by status (working, completed, failed, or cancelled) to monitor and manage ComfyUI workflow runs.

Instructions

List all generation tasks, optionally filtered by status

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoFilter tasks by status

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is fully covered structurally. The description adds only the optional-filter capability, and says nothing about ordering, pagination, or result volume for a tool that lists 'all' tasks.

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?

One short sentence with the resource front-loaded and the filter qualifier trailing; there is no redundant wording or filler. It reads at a glance and nothing could be trimmed.

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?

For a low-complexity read-only list tool with rich annotations, only the filterable field, and no output schema, the description is close to sufficient. However, with no output schema the description could state what a returned task contains or note pagination limits, and it omits both.

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 description coverage is 100% and the single status parameter carries an enum of allowed values in the schema. The description merely restates the filter's existence without adding semantics beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List all generation tasks') plus the scope of the status filter, so the agent knows exactly what it retrieves. It does not differentiate from related siblings such as get_task or get_task_result, leaving the agent to infer that those are single-task lookups.

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 'optionally filtered by status' clause implies when the filter is appropriate, but there is no explicit guidance on when to use this tool versus get_task, get_task_result, or cancel_task. Usage is implied rather than stated.

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