Skip to main content
Glama

aom__CreateFastExecuteScript

Creates an AOM task to execute a shell, batch, Python, or PowerShell script on specified ECS machines using the chosen user, arguments, and script content.

Instructions

[AOM] 该接口用于创建快速执行脚本的任务,可以指定脚本类型,执行用户,脚本参数,执行机器,脚本内容,在用户指定的机器上执行脚本。(注:接口目前开放的region为:华东-苏州二零一)。

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": {
      "cmd_user": "<cmd_user>",
      "ecs_id_list": "<ecs_id_list>",
      "name": "<name>",
      "project_id": "<project_id>",
      "script_content": "<script_content>",
      "script_type": "<script_type>"
    },
    "name": "aom__CreateFastExecuteScript"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes任务名称。
cmd_userYes执行脚本的ECS机器用户。
project_idYes项目ID。
ecs_id_listYes执行的机器列表。
script_argsNo任务参数,多个参数以空格分隔。
script_typeYes脚本类型。SHELL BAT PYTHON POWER_SHELL
script_contentYes脚本内容。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose the notable regional availability limit and that arbitrary script content is executed on remote machines, but it omits whether the task executes immediately or is merely queued, what permissions are required, and whether the call returns a task identifier for polling results.

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?

The purpose is front-loaded in a single sentence, followed by a short parenthetical for the region caveat. The field enumeration is somewhat redundant with the schema, but overall the text is compact and free of filler.

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

Completeness3/5

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

For a six-required-parameter mutation tool with no annotations and no output schema, the definition covers what the tool does and where it is available, but leaves the agent unclear on execution model (sync vs. task-queued) and on what the call returns, which matters for a task-creation API.

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 the schema already documents all seven parameters with lengths and the script_type value list. The description merely re-enumerates the same fields (script type, user, args, machines, content) without adding format or constraint detail beyond the schema.

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: creating a fast-execute-script task, and clarifies the outcome that the script runs on user-specified ECS machines. It does not explicitly contrast itself with siblings such as coc__ExecuteScript or dlf__ExecuteScript, so differentiation is left to the name.

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

Usage Guidelines3/5

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

Usage is implied (you have script content and target machines, you create a task) and a concrete regional constraint is disclosed (East China - Suzhou 201 only). However, there is no explicit when-to-use/when-not guidance and no pointer to alternative script-execution tools that a sibling list suggests exist.

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