Skip to main content
Glama

agent_ex_status

Query task status: list all running tasks, inspect one by task ID, or include finished tasks to recover previously dispatched tasks after a restart or context reset.

Instructions

查询任务状态。无参数调用返回全部进行中的任务,用于一次性概览; needs_input 任务会返回 question 字段。 include_finished=true 时连已结束的任务(completed/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": "agent_ex_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo配合 include_finished:返回最近 N 个(默认 20)
task_idNo任务 id;缺省返回全部进行中的任务
include_finishedNo是否包含已结束的任务;缺省只返回进行中的任务

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does it well: it states the default scope (in-progress only), the finished statuses covered (completed/failed/cancelled), the descending creation-time ordering, and that needs_input tasks expose a question field. It stops short of describing error conditions or what a missing task_id yields beyond the default.

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?

It is front-loaded with the core behavior and organized around the two calling modes. The closing parenthetical restating that the default list contains only in-progress tasks is slightly redundant with the opening sentence.

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?

For a parameterless-by-default read tool with no output schema and no annotations, the description covers the default scope, the finished-task mode, ordering, and the needs_input question field. Remaining gaps, such as task_id edge cases and failure behavior, are minor for this complexity level.

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 would be 3, but the description adds genuine meaning beyond the schema: it explains why include_finished exists (recognizing previously dispatched tasks after restart) and that the default list omits finished work. The limit parameter is only echoed from the schema, so it is not a full 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 description states a specific verb and resource ("查询任务状态") and immediately defines the no-parameter behavior as an overview of all in-progress tasks. This is clear enough that an agent can distinguish it from mutating siblings like agent_ex_cancel or agent_ex_submit, though no sibling is named explicitly.

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?

It gives concrete when-to-use conditions: call with no parameters for a one-shot overview, and set include_finished=true specifically after a session restart or context compaction to recover the last dispatched task. It does not point to alternatives for cancelling or restarting tasks, so it falls short of full when-not/alternative routing.

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