Skip to main content
Glama

cae__UpdateComponent

Updates a Huawei Cloud CAE component's specification, replica count, source, build settings, runtime, and resource limits by project, application, and component ID.

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>",
      "metadata": "<metadata>",
      "project_id": "<project_id>",
      "spec": "<spec>"
    },
    "name": "cae__UpdateComponent"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesAPI类型,固定值“Component”,该值不可修改。
specYes组件规格。
metadataYes请求数据。
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.2/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 for a mutation, and it discloses nothing: not whether the update is a full replace or a merge, not that metadata.annotations.version is mandatory on every call, not permissions/authorization needs, and not whether changes are reversible. The only signal is the verb 更新, which merely implies mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but this is under-specification rather than conciseness — a five-character sentence for a 7-required-parameter, deeply nested mutation tool. Nothing is front-loaded because there is essentially nothing there.

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?

For a complex nested write operation with no annotations and no output schema, the description should explain replace semantics, the version requirement, and failure modes. The rich input schema lets an agent build a payload, but no behavioral context for a destructive-ish update is provided.

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% and the nested schema itself is richly annotated (enums for kind/api_version/runtime, required resource_limit, base64 note for namespace, mandatory version in annotations). Per the high-coverage baseline this is a 3, though the description itself contributes zero added meaning over the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"[CAE] 更新组件。" restates the tool name (UpdateComponent) almost verbatim, so it is a tautology rather than a description. It does confirm the resource is a CAE component and the operation is an update, but it does not distinguish this from siblings like servicestage__ModifyComponent or servicestage__ChangeComponent in any way.

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?

No when-to-use guidance at all: no prerequisites (a component must already exist), no contrast with CreateComponent / CreateComponentWithConfiguration, and no statement of what class of change warrants an update. The agent must infer all routing from the tool name alone.

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