Skip to main content
Glama

tasks

Read-only

List and paginate delegated coding-agent jobs from Kimi, DeepSeek Harness, and Codex, filter by all or caller session, and use a cursor to fetch the next page.

Instructions

分页列任务。

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

Input Schema

NameRequiredDescriptionDefault
limitNo
scopeNo默认 all。mine 按当前调用方会话或连接筛选。
cursorNo
providerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.5
    • addedInput schema / properties / scope
      Added value: +{
      +  "description": "默认 all。mine 按当前调用方会话或连接筛选。",
      +  "enum": [
      +    "all",
      +    "mine"
      +  ]
      +}
  2. First observedv0.2.4

TDQS

C2.6/5.0
Behavior3/5

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

The annotations already establish that this is a read-only, non-open-world operation, so the safety profile is covered. The description adds only the fact that results are paginated ("分页"), which is genuinely useful because it signals cursor/limit behavior, but it says nothing about ordering, defaults, or how many items a page holds.

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?

There is zero wasted wording and the core action is front-loaded, but the phrase is so terse that brevity crosses into under-specification. A slightly longer statement could have carried scope and provider meaning at little cost.

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

Completeness2/5

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

With four parameters, two enums, low schema coverage, and no output schema, an agent needs more than "paginated list of tasks" to call this correctly. The description leaves the meaning of provider, the scope default behavior, and the returned item shape unaddressed.

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

Parameters2/5

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

Schema description coverage is only 25% (just the scope enum carries a description), so the description needs to compensate and does not. It never explains limit bounds, cursor semantics, or what the provider enum values (kimi/dsh/codex) mean, beyond the word "paginated" hinting at cursor usage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"分页列任务" names a general action (list, paginated) and an object (tasks), so the basic intent is legible. It does not explain what a "task" is here, nor distinguish this listing from related siblings such as status, result, or artifact, which an agent would need in order to pick this tool confidently.

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

Usage Guidelines2/5

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

The description gives no guidance for when to use this versus alternatives; there is neither a stated context nor an exclusion. An agent must infer usage entirely from the tool name and the scope enum.

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