Skip to main content
Glama

iam__ShowPermanentAccessKey

Retrieve details of a specified IAM permanent access key so administrators can inspect any user's key or IAM users can view their own.

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>"
    },
    "name": "iam__ShowPermanentAccessKey"
  }
}

Input Schema

NameRequiredDescriptionDefault
access_keyYes待查询的指定AK。

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 must carry the behavioral load; it does disclose the permission model (admin-scoped vs. self-scoped) and implies a read-only lookup via 查询. It does not cover failure behavior (e.g. key not found), whether deleted keys are visible, or what the response contains.

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?

One compact sentence, front-loaded with the [IAM] domain tag and the action, with the permission scoping attached. The embedded markdown link to the admin manual is noise that does not help an agent invoke the tool.

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 one-parameter read tool with no output schema, the definition covers who can call it and what it targets, which is the minimum viable set. It omits any hint of the returned key material/fields and any error or not-found semantics, which an agent would otherwise have to discover at call time.

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 single parameter (access_key) is already documented in the schema as the target AK. The description only restates that it is the 'specified' key to query, adding no format, validation, or sourcing detail beyond the schema's example.

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 states a specific verb and resource (query a specified permanent access key) and adds the scope of who may do it (administrator on behalf of an IAM user, or a user on their own). It is clearly a single-item lookup rather than a listing, which implicitly separates it from ListPermanentAccessKeys, but no sibling is named explicitly.

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?

The description gives an authorization condition for use (admin vs. self) but never states when to prefer this over ListPermanentAccessKeys or what to do if the key is unknown. Usage is implied by 'specified AK' rather than spelled out as guidance.

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