Skip to main content
Glama

workspace__ListScriptTasks

Lists script execution tasks in a Huawei Cloud project, with filters for task/script IDs, status, type, resource group, and execution time to help audit or monitor runs.

Instructions

[WORKSPACE] 查询脚本任务列表。

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": {
      "project_id": "<project_id>"
    },
    "name": "workspace__ListScriptTasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo单次查询的大小[1-100],默认值10。
offsetNo查询的偏移量,默认值0。
statusNo执行情况。
task_idNo执行脚本的任务ID。
script_idNo脚本ID。
task_typeNo任务类型(SCRIPT/COMMAND)。
project_idYes项目ID。
script_nameNo脚本名。
execute_time_endNo按执行时间查询的终止时间。指定该参数后,返回的结果为此时间之前的所有任务记录。时间格式如:“2021-10-01T12:00:00Z”。
resource_group_idNo执行脚本的资源组ID。
execute_time_startNo按执行时间查询的起始时间。指定该参数后,返回的结果为此时间之后的所有任务记录。时间格式如:“2021-10-01T12:00:00Z”。
resource_group_typeNo资源组类型。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it discloses nothing beyond a read/list implication. It does not mention pagination behavior, default ordering, whether results are limited to the given project, or the time-range filtering semantics of execute_time_start/end.

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 single sentence is front-loaded and contains no filler, but it is so terse that it lacks any structure or emphasis on the required project_id and the paging filters. Brevity here reflects underspecification rather than disciplined concision.

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?

For a 12-parameter read tool with no annotations and no output schema, a one-line description is far too thin. It omits which filters are combinable, how results are returned or paged, and what distinguishes this listing from its many siblings.

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%, and the schema already documents all 12 parameters including limits, offsets, status, task_type, and time-range formats. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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 names a specific verb and resource ('查询脚本任务列表' = list script tasks), so the basic purpose is legible. However, it gives no distinguishing detail against closely named siblings such as ListScriptRecords, ListScheduledTasks, or ShowDesktopPoolsScriptExecTasks, so an agent cannot tell which listing endpoint applies from the description alone.

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 guidance on when to use this tool versus the many sibling listing tools, no stated prerequisites (e.g., project scope required), and no exclusions. The only implicit cue is that a project_id is required.

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