Skip to main content
Glama

iam__KeystoneDeleteGroup

Deletes an IAM user group by its group ID, enabling administrators to remove unused or obsolete access groups from Huawei Cloud IAM.

Instructions

[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": {
      "group_id": "<group_id>"
    },
    "name": "iam__KeystoneDeleteGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes待删除的用户组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.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full burden of explaining behavior. It says only that the operation deletes a group. It does not state that the action is irreversible, whether the group must be empty, or what happens to nested memberships and domain/project permission bindings. For a destructive operation with zero annotation coverage, this is a significant gap.

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?

The description is one front-loaded sentence with zero filler, and it leads with the [IAM] domain tag and the actor. It is efficient. However, given how destructive the operation is, it is arguably too terse rather than optimally sized.

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

Completeness2/5

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

This is a destructive single-parameter delete with no annotations and no output schema. The definition therefore needs to disclose irreversibility and preconditions, and it does not. An agent can identify the operation but cannot confidently predict consequences or failure modes from the definition alone.

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?

The schema description coverage is 100%: the single group_id parameter already documents its purpose and links to instructions for obtaining the ID. The description adds no further meaning about the parameter, such as format constraints or what happens when the ID does not exist. This makes the baseline 3 appropriate, because the schema already does the work.

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 in Chinese: an administrator deletes a user group (删除用户组). It is clearly distinguishable from siblings such as iam__KeystoneCreateGroup, iam__KeystoneShowGroup, and iam__KeystoneUpdateGroup. It stops short of naming those siblings or noting scope limits, which keeps it below a 5.

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 phrase 管理员 (administrator) implies that the caller needs elevated IAM privileges, which is a real usage precondition. However, the description gives no guidance on when to choose deletion over alternatives such as iam__KeystoneRemoveUserFromGroup or iam__KeystoneRemoveProjectPermissionFromGroup. It also does not explain how to interpret the outcome instead of deleting the group.

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