Skip to main content
Glama

iam__UpdatePermanentAccessKey

Modify a specified IAM permanent access key by updating its status (active/inactive) or description, for an administrator or the key owner.

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

Input Schema

NameRequiredDescriptionDefault
access_keyYes待修改的指定AK。
credentialYes认证信息。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/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. It does disclose the authorization model (admin vs. self-service), which is genuine behavioral context beyond the schema, and the verb establishes a mutation. However, it says nothing about irreversibility, what happens to fields not supplied, whether the key continues to work after deactivation, or the response shape.

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 that states the resource, the action, and the actor scope with no filler. The embedded documentation link is slightly noisy but does not obscure the meaning.

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 two-parameter mutation with no annotations and no output schema, the description covers purpose and authorization but leaves the mutation's effects and the 'at least one of status/description' rule to the schema. It is adequate but thin for a write operation with zero annotation coverage.

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%, with both access_key and the nested credential.status/description documented, including the enum values and the 'status and description: at least one' constraint. The description adds no parameter meaning beyond 'specified access key', 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 names a specific verb and resource: modify ('修改') a specified permanent access key ('指定永久访问密钥') for an IAM user. It also distinguishes the two caller profiles (administrator vs. the user themselves), which sharpens what the operation covers. It does not explicitly contrast with siblings like Create/Delete/Show PermanentAccessKey, but the resource and verb are unambiguous.

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?

Usage context is implied through the actor framing: an administrator may modify another user's key, or a user may modify their own. That tells the agent who can call it but not when to prefer this over alternatives (e.g., delete + recreate, or ShowPermanentAccessKey to inspect first). No exclusions or prerequisites such as 'at least one of status/description must be supplied' appear in the description.

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