Skip to main content
Glama

cae__UpdateSecret

Updates a CAE secret's credential version in Huawei Cloud DEW, enabling you to change which registered credential version is active by specifying the secret ID and project ID.

Instructions

[CAE] 修改用户已在DEW服务上注册的凭据版本。

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>",
      "kind": "<kind>",
      "project_id": "<project_id>",
      "secret_id": "<secret_id>",
      "spec": "<spec>"
    },
    "name": "cae__UpdateSecret"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes资源种类。
specYes
secret_idYes凭据ID。
project_idYes项目ID,获取项目ID请参见[获取项目ID](https://support.huaweicloud.com/api-cae/cae_06_0021.html)。
api_versionYesAPI版本,固定值“v1”,该值不可修改。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 for a mutation tool, and it discloses almost nothing: not whether the update is reversible, whether prior versions are retained, what permissions are needed, or how CAE interacts with DEW. It only implies a write operation and a cross-service dependency, which is a thin return for a destructive-capable call.

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

Conciseness3/5

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

It is a single front-loaded sentence with no padding, which is good structurally. But the brevity reflects under-specification rather than disciplined concision for a five-parameter mutation.

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?

A required-parameter mutation with a nested object, no annotations and no output schema needs the description to explain effects and prerequisites; one sentence about modifying a DEW-registered version leaves the agent guessing what the call actually changes.

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 coverage is 80%, with all five required parameters documented including the nested name/version_id pair, so the schema does the heavy lifting. The description adds only the cross-service framing (the secret lives in DEW), not any meaning about how version_id is interpreted on update.

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

Purpose3/5

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

States a verb (修改) and a resource (凭据版本) and scopes it to credentials registered on the DEW service, so the CRUD family (CreateSecret/DeleteSecret) is distinguishable by the verb alone. However, what exactly is being modified is vague: it is unclear whether this switches the active version, creates a new version, or only relabels an existing one.

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?

There is no when-to-use guidance, no prerequisites (e.g., whether the DEW artifact must already exist), and no reference to any alternative sibling such as cae__CreateSecret. The single scoping remark about DEW implies context but never states conditions.

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