Skip to main content
Glama

aom__StopExecution

Stops a running AOM workflow execution by specifying its workflow ID and execution ID, then returns the termination status.

Instructions

[AOM] 该接口可终止正在执行的任务,指定工作流ID和执行ID去终止对应的任务,返回终止操作状态。(注:接口目前开放的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": {
      "execution_id": "<execution_id>",
      "project_id": "<project_id>",
      "workflow_id": "<workflow_id>"
    },
    "name": "aom__StopExecution"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户从IAM申请到的projectid,一般为32位字符串。
workflow_idYes任务id,从工作流命令列表中获取的工作流id。
execution_idYes任务执行id。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/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 add value by disclosing the return value (termination operation status) and by listing the four supported regions, which is genuine operational context absent from the schema. However, for a destructive mutating call it says nothing about irreversibility, idempotency, permission requirements, or the outcome when the execution is not running — significant omissions given zero annotation coverage.

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?

A single compact sentence plus a parenthetical region note; the core operation is front-loaded and no wording is wasted. The parenthetical region caveat is slightly detached from the main flow but is still short and informative.

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 three-parameter mutation with no annotations and no output schema, the definition covers purpose, required identifiers, return status, and regional availability. It leaves gaps an agent would want: failure mode for an already-finished execution, whether the stop is immediate or graceful, and any permission prerequisites.

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%, with all three required path parameters documented in the schema, so the baseline is 3. The description reinforces the roles of workflow_id and execution_id in the termination operation but says nothing about project_id or about ID format/sourcing beyond what the schema already states.

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 names a specific verb and object in Chinese: it terminates a running task (正在执行的任务) and identifies the target via workflow ID plus execution ID, then returns the termination status. An agent knows exactly what operation this performs. It does not explicitly distinguish itself from similarly named stop siblings, but the AOM workflow-execution framing is clear.

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 rather than stated: the task must be 'currently executing' and both a workflow ID and execution ID must be supplied, which is a real precondition. There is no explicit guidance on when to prefer this over the many sibling stop/execution tools, and no statement about what to do if the execution has already completed. The region list is a useful availability constraint but is not usage guidance.

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