Skip to main content
Glama

iam__ListPermanentAccessKeys

Lists all permanent access keys for a specified IAM user, or lets an IAM user retrieve their own keys for auditing and credential management.

Instructions

[IAM] 该接口可以用于管理员查询IAM用户的所有永久访问密钥,或IAM用户查询自己的所有永久访问密钥。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "iam__ListPermanentAccessKeys"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idNo待查询的IAM用户ID。

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?

With no annotations, the description carries the full burden, and it does disclose the authorization model (admin vs. self-scoped access), which is real behavioral context. It does not explain what happens when user_id is omitted (presumably defaults to the caller's own keys), nor whether results are paginated or how many keys may be returned.

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?

The core statement is a single dense sentence with no wasted hedging, which is good. However, it embeds an inline support-portal hyperlink that is pure noise for an agent and slightly obscures the actionable content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, read-only list operation with a fully documented schema and no output schema, the description covers what is listed, whose keys they are, and who may call it. Only the default behavior when user_id is absent and any pagination/result-size expectations are missing.

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% for the single parameter, so the schema already documents user_id as the target IAM user ID. The description reinforces that the key set belongs to a user but adds no format or default behavior beyond what the schema states; 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 (query/list) and resource (all permanent access keys) plus the scope (all keys, not a single key), which distinguishes it from the Show/Create/Delete siblings in the same family. It stops short of explicitly naming the sibling it is not, but the 'all' framing makes the list-vs-single distinction inferable.

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 gives the caller model (administrators may query any IAM user; an IAM user may query only their own keys), which is genuinely useful context for deciding whether this is the right tool. It does not explicitly contrast with iam__ShowPermanentAccessKey or state when a caller should prefer one over the other.

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