Skip to main content
Glama

iam__KeystoneListUsers

List IAM users in Huawei Cloud with filters for username, enabled status, account ID, and password expiration to audit or manage user access.

Instructions

[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__KeystoneListUsers"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoIAM用户名。
enabledNo是否启IAM用户,true为启用,false为停用,默认为true。
domain_idNoIAM用户所属账号ID,获取方式请参见:[获取账号ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。
password_expires_atNo密码过期时间,格式为:password_expires_at={operator}:{timestamp}。timestamp格式为:YYYY-MM-DDTHH:mm:ssZ。示例:

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 provided, so the description carries the full disclosure burden. It only says administrators can list users; it does not confirm the operation is non-mutating, does not mention pagination or result-set limits, and does not state what happens with no filters. For a list endpoint with zero annotation coverage this leaves real gaps.

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 no filler, and the caller role plus the resource are established immediately. It is arguably too terse rather than bloated; no sentence is wasted.

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?

The tool is a simple filtered list with four optional parameters and no output schema, so the bar is modest. Still, with no annotations and no output schema, the description should say what the list contains and how results are bounded (paging or not). That omission keeps it at minimum-viable.

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 all four optional query parameters (name, enabled, domain_id, password_expires_at) are documented inline with formats and examples. The description adds nothing beyond them, which is acceptable given the schema already does the work, but it earns no credit for parameter meaning.

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: administrators query (查询) the IAM user list. That is unambiguous about what the tool returns. What it does not do is distinguish the tool from close siblings such as iam__KeystoneListUsersForGroupByAdmin or iam__ListUsersForEnterpriseProject, so the agent must infer the scope boundary itself.

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 text implies usage ('for administrators') which hints at the authorization context needed to call it. It gives no explicit when-to-use vs. when-to-use-an-alternative guidance, and no exclusions against the several other user-listing siblings. Enough to orient, not enough to route.

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