Skip to main content
Glama

kilo_task_progress

Poll fine-grained live progress of a background coding task—plan steps, recent commentary, cost, and tokens—to judge what it's doing and decide whether to wait, cancel, or correct.

Instructions

Poll FINE-GRAINED LIVE progress of a running background kilo_implement task: Kilo's own plan/todo list (each step's status), a tail of its most recent commentary, and running cost/tokens — read directly from Kilo's session database (kilo.db), not inferred from OS-level process heuristics.

Use this instead of (or alongside) kilo_task_status when you need to actually judge WHAT Kilo is doing, not just whether the process is alive — e.g. to decide whether to keep waiting, kilo_task_cancel a run that has drifted off-spec, or prepare a corrective kilo_implement call with continue_session_id.

Scale how often you poll to the task's complexity/risk: a small, well-scoped delegation rarely needs this at all (just wait for kilo_task_result); a large, multi-file, or high-stakes one is worth checking periodically so problems surface long before the final report.

If no session is found yet, Kilo has probably just started — try again in a few seconds.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "task_id": "<task_id>"
    },
    "name": "kilo_task_progress"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesThe task_id returned by kilo_implement when launched with background=true (the default).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/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 well: it discloses the data source (Kilo's session database, kilo.db, not OS process heuristics) and the empty-state behavior (no session yet means Kilo just started, retry in a few seconds). It never states that it is read-only or whether polling has cost/rate implications, and doesn't say what it returns once the task has finished.

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 purpose and the sibling comparison in the first sentence, then usage and polling cadence in later paragraphs. It runs a bit long and the final retry note could be tighter, but no sentence is truly redundant.

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?

Return content is spelled out and an output schema exists, so return-value explanation is unnecessary. Remaining gap is modest: behavior after the run ends (terminal state vs. error) and whether the commentary tail is bounded are left unspecified.

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% and the single task_id is already documented in the schema as coming from kilo_implement with background=true. The description adds no format, validation, or reuse guidance beyond that, so the baseline 3 applies.

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 — polling fine-grained live progress of a running background kilo_implement task — and enumerates exactly what is returned (plan/todo statuses, commentary tail, cost/tokens). It explicitly separates itself from kilo_task_status (alive-vs-not) so an agent can pick the right tool without opening either schema.

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

Usage Guidelines5/5

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

Gives concrete when-to-use triggers (decide whether to keep waiting, cancel a run that drifted off-spec, prepare a corrective kilo_implement with continue_session_id) and an explicit when-not: small, well-scoped delegations should just wait for kilo_task_result. It even scales polling frequency to task complexity and risk.

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