Skip to main content
Glama

coc__ListScheduledTaskHistory

Retrieve the execution history of a scheduled task by task ID, with pagination, status, time-range, and sorting filters to review past runs.

Instructions

[COC] get scheduled task history list

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": {
      "limit": "<limit>",
      "task_id": "<task_id>"
    },
    "name": "coc__ListScheduledTaskHistory"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo工单ID
limitYes每页数量
markerNo上一页数据的最后一条记录的id
offsetNo分页指针
regionNo区域
statusNo状态
task_idYesID of ScheduledTask
sort_dirNo排序方式,asc升序,desc降序desc
sort_keyNo排序字段名:支持 started_time,finished_timestarted_time
started_end_timeNo开始时间参数的查询结束区间时间戳
finished_end_timeNo结束时间参数的查询结束区间时间戳
started_start_timeNo开始时间参数的查询开始区间时间戳
finished_start_timeNo结束时间参数的查询开始区间时间戳

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior1/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, and it discloses nothing: not that this is a read-only query, not pagination behavior (marker/offset/limit interplay), not the timestamp-unit and range semantics of the four *_time parameters, and not the return shape. For a 13-parameter history query with zero annotation coverage this is a serious gap.

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?

Six words, front-loaded and free of padding, so there is no wasted text. But the brevity is under-specification rather than economy: the single fragment leaves no room for the scope or filtering context an agent needs before invoking a 13-parameter query.

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?

The tool is a fairly complex filtered/paginated query with 13 parameters, two enums, four timestamp bounds, and no annotations or output schema. The description covers none of this complexity, leaving an agent unable to know what the result contains or how the time windows and sort options behave.

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%, so every parameter including the time-range and sorting fields is documented in the schema, which sets the baseline at 3. The description adds no additional meaning beyond that, such as clarifying how marker and offset interact or what the started/finished time windows filter on.

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?

The description identifies a resource ('scheduled task history list') and a weak verb ('get'), so an agent can roughly infer it returns execution history entries for a scheduled task. However, it never distinguishes this from the sibling coc__ListScheduledTask, which plausibly returns the task definitions themselves rather than their run history. 'Get ... list' is close to restating the tool name.

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?

There is no when-to-use guidance at all: no mention of choosing this over coc__ListScheduledTask or coc__ShowScheduledTask, no statement that a valid task_id is a precondition, and no hint about when history is useful versus current task state. The only usage signal is the required task_id in the schema.

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