Skip to main content
Glama

ddflow_job_list

List long-running jobs with live status (running, exited, gone, elsewhere, ended) to decide whether to wait, collect results, or restart.

Instructions

Long-running jobs and their LIVE status: running, exited (with the exit code its log recorded), gone (killed: no exit recorded), elsewhere (another host), or ended. Use it to decide whether to keep waiting, collect results, or restart. A long run is a WAIT, never a reason to stop working the queue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNoInclude jobs already recorded as ended.
itemNoOnly this item's jobs.
as_agentNoSubagent sharing the parent's connection: your own stable name, for this call only (see ddflow_identify).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.10

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the state model: exited carries the recorded exit code, gone means killed with no exit recorded, elsewhere means another host. That is genuinely useful behavioral context beyond the schema. It does not cover auth/permissions, ordering, or response shape, so it is not fully complete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the resource and status taxonomy; three short sentences, each contributing. The closing emphatic fragment ('never a reason to stop working the queue') is slightly rhetorical but does serve to prevent a real agent error.

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?

No output schema exists, and the description compensates well by explaining the returned status values. It does not explain default filtering (ended jobs excluded unless 'all' is set) or ordering, leaving a small gap for a list tool.

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%, so the three optional parameters (all, item, as_agent) are already documented in structured data. The description adds no parameter-level semantics, matching the baseline of 3.

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?

States a specific verb and resource (listing long-running jobs) and immediately enumerates the live status taxonomy it returns. An agent can distinguish it from ddflow_job_add, ddflow_job_end, and ddflow_job_run without opening any schema.

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?

It gives explicit decision context ('Use it to decide whether to keep waiting, collect results, or restart') and guidance on how to react to a running job. It stops short of naming alternative tools or when NOT to call it, so it falls just below the top tier.

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

Deploy Server

Other Tools