Skip to main content
Glama

cae__ExecuteAction

Executes specified lifecycle actions—deploy, upgrade, restart, stop, start, scale, configure, rollback—on Huawei Cloud CAE components.

Instructions

[CAE] 对组件执行指定操作,如部署、升级、重启、停止、启动、伸缩、配置、回滚。

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": {
      "api_version": "<api_version>",
      "application_id": "<application_id>",
      "component_id": "<component_id>",
      "kind": "<kind>",
      "project_id": "<project_id>"
    },
    "name": "cae__ExecuteAction"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesAPI类型,固定值“Action”,该值不可修改。
specNoaction规格信息。
metadataNo请求数据。
project_idYes项目ID,获取项目ID请参见[获取项目ID](https://support.huaweicloud.com/api-cae/cae_06_0021.html)。
api_versionYesAPI版本,固定值“v1”,该值不可修改。
component_idYes组件ID。
application_idYes应用ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It does not say that this is a mutating operation that changes component state, whether actions are reversible or how long they take, what permissions are needed, or whether the call is synchronous or asynchronous. For a multi-action lifecycle tool, this is a significant gap.

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 description is a single compact sentence that puts the core operation first. The action enumeration is useful but largely duplicates the schema enum. It is efficient and easy to scan.

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?

This is a complex tool with seven parameters, five required, nested objects, and no annotations or output schema. The description says nothing about the return value, the asynchronous nature of deployments, or how the spec fields relate to each action. It is too thin for a tool of this complexity.

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. The action names in the description duplicate the metadata.name enum in the schema. The description adds no meaning about the spec fields (source, build, replica, resource_limit) or how they relate to specific actions.

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: execute an action on a component. It also lists concrete action types (deploy, upgrade, restart, stop, start, scale, configure, rollback). It does not distinguish this tool from similar Execute*Action tools in other services, but the sibling names show those belong to different services, so the CAE prefix already does that work.

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?

The description never says when to use this tool instead of alternatives. It does not state prerequisites (project/application/component IDs must exist), when not to use it, or how this differs from dedicated lifecycle tools. The action list hints at possible use cases, but no guidance is explicit.

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