Skip to main content
Glama

workspace__ListScriptRecords

Retrieve and filter script execution records for a Huawei Cloud Workspace project by script, resource, status, task type, or execution time range, with pagination to track run history.

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__ListScriptRecords"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo单次查询的大小[1-100],默认值10。
offsetNo查询的偏移量,默认值0。
statusNo执行脚本的执行情况。
script_idNo执行的脚本ID。
task_typeNo执行记录的任务类型(SCRIPT/COMMAND)。
project_idYes项目ID。
resource_idNo执行脚本的资源ID列表。
script_nameNo执行的脚本名称。
show_historyNo是否查询历史记录,默认为false,为true时需要同时传入resource_id与script_id。
is_first_orderNo是否首批执行。
script_task_idNo执行脚本的任务ID。
execute_time_endNo按执行时间查询的终止时间。指定该参数后,返回的结果为此时间之前的所有执行记录。时间格式如:“2021-10-01T12:00:00Z”。
resource_group_idNo执行脚本的资源组ID。
execute_time_startNo按执行时间查询的起始时间。指定该参数后,返回的结果为此时间之后的所有执行记录。时间格式如:“2021-10-01T12:00:00Z”。

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 behavioral burden, and it discloses nothing beyond the bare operation. It doesn't say the query is read-only, whether pagination applies, what permissions or project scoping are required, or how results are ordered. For a 14-parameter query tool with zero annotation coverage, this is a substantial 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?

It is a single clean sentence with no wasted words and the purpose is front-loaded. The brevity is under-specification rather than efficient conciseness, so it doesn't earn a high score despite being structurally tidy.

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 14 parameters, no annotations, and no output schema, the definition needs to explain filtering semantics, pagination behavior, and the show_history prerequisite in prose; it does none of that. The only mitigating factor is that the schema itself is fully described, so an agent can still construct a call, but not confidently.

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 is already documented in the input schema, including limit/offset defaults and the show_history dependency rule. The description adds no additional meaning on top of that, which is the expected baseline when the schema does the work.

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 states a verb and resource ('查询脚本执行记录列表' – query the script execution record list), so the basic operation is identifiable. However, it gives no scope or distinguishing detail, and siblings such as workspace__ListScriptTasks and workspace__ShowScriptRecordDetail could plausibly be confused with it; nothing in the text separates this tool from those.

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, no exclusions, and no mention of alternatives. An agent has to infer from the name alone whether this is the right call versus ShowScriptRecordDetail (for a single record) or ListScriptTasks.

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