Skip to main content
Glama

kilo_task_status

Checks the status of Kilo run tasks and queues, reports queue positions and process health, and restarts the detached queue runner when queued work lacks an active runner.

Instructions

Diagnose the state of running kilo run tasks and/or batch queues.

When called with task_id, reports that task's status (for a queued task: status queued, queue name, and 1-based FIFO position in queue). When called with queue (or with no task_id), lists queues with queued/running/finished counts and the queued task IDs in FIFO order, in addition to the OS-level check of running kilo run processes (elapsed vs CPU time, network activity, matching Kilo session update, and verdict: WORKING / STARTING / LIKELY STUCK). Also restarts the detached queue runner if queued tasks exist and no runner is currently active.

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": "kilo_task_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
queueNoOptional queue name to inspect queued/running/finished counts and queued task IDs in order.
task_idNoOptional task_id to check status, queue name, and queue position for a single task.
working_directoryNoOnly report tasks running in this workspace. Leave empty to report every running `kilo run` process.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it enumerates the verdict vocabulary (WORKING / STARTING / LIKELY STUCK), explains the evidence used (elapsed vs CPU time, network activity, session update match), and discloses a genuine side effect — it restarts the detached queue runner when queued tasks exist with no active runner. That mutation hidden inside an ostensibly diagnostic tool is exactly the kind of behavior an agent must know before calling.

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

Conciseness3/5

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

Front-loaded and information-dense, but the parenthetical enumerations ('elapsed vs CPU time, network activity, matching Kilo session update, and verdict...') and nested clauses make the middle paragraph dense and harder to scan than it needs to be. Nothing is wasted, yet the structure could be listified for faster parsing.

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?

An output schema exists, so return-value explanation is optional, and the description is complete on mode selection, evidence sources, and the runner-restart side effect. It falls short only on failure conditions for the restart and on any distinction from the adjacent progress/wait/result tools.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description goes beyond it by specifying what each mode returns — queue name and 1-based FIFO position for `task_id`, per-state counts and queued IDs in order for `queue`. `working_directory` is only covered by the schema, not the description, which keeps this from a 5.

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?

The opening sentence gives a specific verb+resource: 'Diagnose the state of running `kilo run` tasks and/or batch queues', and the two following paragraphs delineate the two operating modes. It does not explicitly name siblings such as kilo_task_progress or kilo_task_wait to differentiate, but the 'diagnose' framing is distinct enough to infer.

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?

Explicit routing is given between modes: pass `task_id` for a single task, pass `queue` or nothing to list queues plus an OS-level process check. What is missing is guidance against alternatives (progress/wait/result tools) or when this tool should not be used.

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