Skip to main content
Glama

iam__KeystoneListGroups

Lists IAM user groups for an account or filters by group name, helping administrators inspect and identify groups before access management tasks.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
nameNo用户组名,长度小于等于128字符,获取方式请参见:[获取用户组名](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。
domain_idNo用户组所属账号ID,获取方式请参见:[获取账号ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 one genuinely useful trait beyond the schema, namely that administrator privileges are required, and 'query' correctly implies a read-only operation. It says nothing about pagination, result volume, or whether name matching is exact or partial — meaningful gaps for a list endpoint.

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 audience and the operation with no filler. The embedded markdown link to the IAM admin docs is slightly noisy but serves as useful background, and nothing 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?

For a read-only, two-optional-parameter list tool with full schema coverage and no output schema, the essentials are present. However, in a sibling cluster of three group-listing tools, the definition lacks the scoping and result-shape information an agent would need to choose and call it confidently.

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%: both name and domain_id have inline descriptions, examples, and links to the docs for obtaining the values. The description adds no interpretation of these filters, which is acceptable given the schema does the work, but it earns only the baseline.

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: 'query the user group list' ([管理员]查询用户组列表), so an agent knows this is a group-listing operation rather than a user- or project-listing one. It does not, however, distinguish it from close siblings such as KeystoneListGroupsForUser or ListGroupsForEnterpriseProject, leaving the scope of 'the list' ambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only contextual hint is that the call is intended for administrators; there is no statement of when to prefer this over the sibling tools that list groups for a specific user or enterprise project, and no exclusions. An agent must infer from the parameters alone that this returns the account-wide group list.

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