Skip to main content
Glama

list_tasks

Retrieve recent coding tasks with truncated prompt previews and optional status or limit filters to monitor queue progress and identify pending, running, completed, failed, or cancelled jobs.

Instructions

列出最近的任务概览(含截取后的 prompt 预览)。 List recent tasks with truncated prompt previews.

Args: limit: 返回的最大任务数(默认 10,上限 200)。 status: 可选状态过滤:pending / running / done / failed / cancelled;留空表示不过滤。

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
limitNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose one real trait beyond the name: prompts come back truncated, so output is a preview and not the full text. It omits ordering guarantees beyond 'recent', pagination behavior, and the fields a task record contains.

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?

The argument details are front-loaded and easy to scan, so structure is sound. However, the entire description is duplicated in Chinese and English, roughly doubling length with no added information, and the maximum-limit and status semantics are the only parts that earn their space.

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?

With no annotations and no output schema, the description must cover both safety profile and return shape, and it only partly does. The truncation note is helpful, but an agent still cannot tell how results are ordered, whether pagination exists beyond the limit cap, or what a task entry looks like beyond its prompt preview.

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 description coverage is 0%, so the description must carry parameter meaning and largely does: limit's default of 10 and hard ceiling of 200, plus the five valid status values and the empty-string-means-no-filter convention. The enum values appear nowhere in the schema, making the description the sole source for them. Only minor gaps remain, such as what happens if limit exceeds 200.

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?

A specific verb plus resource: list recent tasks, with the notable detail that each entry carries a truncated prompt preview. That preview note genuinely separates it from get_task_status, but the description never names a sibling or states the boundary explicitly.

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?

Filtering usage is implied through the status enumeration and the note that an empty value means no filtering, so an agent can infer how to narrow results. There is no explicit when-to-use or when-not-to-use guidance, and nothing distinguishes this listing from get_task_status or tells the agent which to reach for first.

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