Skip to main content
Glama

cae__CreateSecret

Creates a CAE secret by associating a tenant-registered credential version with a project, so applications can reference the credential.

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

Input Schema

NameRequiredDescriptionDefault
kindYes资源种类。
specYes
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.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, and it discloses almost nothing. It does not state that this is a write/creation operation with persistent effects, whether it is idempotent, what permissions are needed, or what happens when spec.name already exists. Only the word "关联" hints at an association side effect, which is not enough for a mutating tool.

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?

The single sentence is compact, but its brevity reflects under-specification rather than efficient communication. It front-loads a bracketed product tag and then delivers almost no actionable content.

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 four-parameter, all-required mutation tool with a nested object, no annotations, and no output schema, so the description needs to do substantial work. One vague sentence leaves the agent without the information required to call it correctly or know what a successful call produces.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 75% schema description coverage and a nested spec object (name, version_id), the description explains none of the parameters. It does not clarify the meaning of version_id (is it a version already registered in the tenant, and what happens if it is wrong?) or that api_version is a fixed constant, beyond what the schema already states.

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?

"关联租户已注册的凭据" names an action (associate) and a resource (a credential registered by the tenant), but the verb does not match the tool name CreateSecret and leaves it unclear whether a secret resource is created, linked, or merely referenced. It gives no separation from siblings like cae__UpdateSecret or cae__DeleteSecret.

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 statement of when to use this tool, no prerequisites (e.g., that a credential must already be registered, hinted only obliquely by "已注册"), and no routing to alternatives. The agent must infer call conditions entirely from the name and schema.

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