Skip to main content
Glama

List background tasks

task_list
Read-onlyIdempotent

List background tasks with state, PID, exit code, log size, and paths; reads persisted metadata to include tasks started before a server restart.

Instructions

List background tasks with state, PID, exit code, log size and paths. Reads persisted metadata, so tasks started before a termux-mcp restart are included.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum tasks to return. Default 50.
include_finishedNoInclude finished tasks. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered. The description adds real value beyond them: it reads persisted metadata, meaning tasks started before a termux-mcp restart still appear — a non-obvious trait an agent would otherwise guess wrong about.

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?

Two sentences, zero waste, with the core purpose front-loaded and the persistence caveat following. Every clause carries information the agent cannot get from annotations or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With annotations covering the safety profile and a 100%-covered two-parameter schema, the only remaining gap is return shape — and the description compensates by naming the returned fields, so no output schema is needed. Nothing required for a correct call is missing.

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%, with limit (max 500, default 50) and include_finished (default true) fully documented in the schema. The description mentions no parameter behavior beyond that, so 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 ('List') and resource ('background tasks') and enumerates the fields returned (state, PID, exit code, log size, paths). The resource domain is clearly distinct from siblings like terminal_list and task_output, so an agent can route without opening a schema.

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?

Usage is only implied: the description establishes this is the enumeration entry point for background tasks, but never says when to prefer it over task_output (read a single task's output) or terminal_list, nor any exclusions. The restart note is behavioral context, not selection guidance.

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