Skip to main content
Glama

iam__CreatePermanentAccessKey

Creates a permanent access key (AK/SK) for an IAM user, enabling administrators or users to issue long-term credentials for programmatic Huawei Cloud access.

Instructions

[IAM] 该接口可以用于管理员给IAM用户创建永久访问密钥,或IAM用户给自己创建永久访问密钥。

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": {
      "credential": "<credential>"
    },
    "name": "iam__CreatePermanentAccessKey"
  }
}

Input Schema

NameRequiredDescriptionDefault
credentialYes认证信息。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.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, and it discloses only the authorization model. For a write operation it omits material facts: that the response contains the secret key shown only once, the per-user limit on permanent keys, and whether the operation is reversible or affects existing keys.

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 front-loaded sentence with the [IAM] tag marking the service and no redundant wording; the inline documentation link is compact enough not to dilute the core statement.

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 single-parameter tool with full schema coverage, the purpose and caller model are adequately covered. But with no output schema and no annotations, the description omits what the call returns (the AK/SK pair) and the limits that would cause a call to fail, leaving a meaningful gap for a mutating tool.

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 both fields (user_id, description) are documented in the schema with an example and a link for obtaining the user ID. The description adds no parameter meaning beyond the schema, so the baseline 3 applies.

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 gives a specific verb+resource ('create a permanent access key') and explicitly names the two actors (an administrator acting on an IAM user, or an IAM user acting on themselves). The word 'permanent' implicitly separates it from the CreateTemporaryAccessKey* siblings, but no sibling is named directly, so it falls short of a 5.

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?

It states the caller contexts in which the tool applies (admin vs. self), which is genuine usage guidance. However, it never says when NOT to use it or points to the temporary-key alternatives, so the choice between permanent and temporary key creation is left to inference.

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