Skip to main content
Glama

aom__CreateWorkflow

Creates an AOM workflow (task) using a specified template, task type, and input parameters, then returns the workflow details. Supports cron and manual workflows in supported regions.

Instructions

[AOM] 该接口用于创建工作流(任务),返回工作流详情。任务类型取决于模板名称和'input'参数。(注:接口目前开放的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": {
      "input": "<input>",
      "name": "<name>",
      "project_id": "<project_id>",
      "task_type": "<task_type>",
      "template_id": "<template_id>",
      "type": "<type>"
    },
    "name": "aom__CreateWorkflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes工作流名称,需要满足中文、英文大小写、数字、中划线和下划线{1,64}。
tagsNo标签键和值列表,标签键值对数量范围是0至20。
typeYes工作流类型,可以为cron、manual
inputYes任务执行时需要的参数列表。
quoteNo引用,参数引用。
job_idNo作业id。
job_nameNo作业名称。
task_typeYes任务类型。package,script,job,cloud,standard,customize
project_idYes租户从IAM申请到的projectid,一般为32位字符串。
descriptionNo工作流描述信息。
template_idYes模板id。
service_nameNo服务名称。
template_nameNo模板名称,示例:CMS::ECS::BulkyRunScript CMS::ECS::BulkyStartECSInstances CMS::ECS::BulkyCleanDisks
service_scenarioNo服务场景分类。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/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. It does disclose two non-trivial behavioral facts the schema cannot convey: the call returns workflow details, and the service is only available in four named regions. However, it says nothing about required IAM permissions, whether workflow names must be unique, idempotency, or side effects of creation.

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?

Two compact sentences with the primary purpose front-loaded and the region limitation neatly parenthesized. No redundant restatement of the name or schema fields, though the parenthetical region list is somewhat dense inline.

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

Completeness5/5

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

For a 14-parameter creation tool with full schema documentation, no output schema, and no annotations, the description covers the essentials an agent needs before calling: what it creates, what it returns, how task type is determined, and where it is available. Remaining gaps (permissions, uniqueness rules) are secondary given the rich schema descriptions.

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 14 parameters, which sets the baseline at 3. The description adds one genuinely useful cross-parameter insight — that task_type is determined by template_name and input — but does not clarify the many optional fields (tags, quote, job_id, service_name, etc.).

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?

States a specific verb and resource (创建工作流) and adds that it returns workflow details plus that the task type is determined by template name and the 'input' parameter. An agent can tell what it does, though nothing distinguishes it from the similarly named functiongraph__CreateWorkflow sibling.

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?

Implies usage context (creating a workflow from a template, with task type derived from template_name/input) and gives the important constraint on available regions (华北-北京四, 华东-上海一/二, 华南-广州). There is no explicit when-to-use vs. alternative guidance and no statement of prerequisites or exclusions.

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