Skip to main content
Glama

iam__RevokeRoleFromUserOnEnterpriseProject

Revokes a role directly assigned to a user on a Huawei Cloud enterprise project by specifying the enterprise project ID, role ID, and user ID.

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": {
      "enterprise_project_id": "<enterprise_project_id>",
      "role_id": "<role_id>",
      "user_id": "<user_id>"
    },
    "name": "iam__RevokeRoleFromUserOnEnterpriseProject"
  }
}

Input Schema

NameRequiredDescriptionDefault
role_idYes权限ID。
user_idYes用户ID。
enterprise_project_idYes企业项目ID。

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 supplied, so the description carries the entire behavioral burden, yet it discloses only that a deletion occurs. It does not say whether the removal is permanent, whether the user loses the role only on that project or globally, what permission level is required, or what happens if the association does not exist — all material facts for an irreversible mutation.

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 the [IAM] domain tag and zero filler; nothing is wasted. It is, however, so terse that the brevity comes at the cost of the behavioral and usage detail scored above.

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 three-parameter revoke operation with no output schema, the definition tells the agent enough to identify the call and its inputs. It is not complete enough to safely execute a destructive mutation, since consequences, idempotency, and error conditions are all left unaddressed.

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 coverage is 100% with all three path parameters individually documented (role_id, user_id, enterprise_project_id), so the schema does the heavy lifting and baseline 3 applies. The description adds no syntax, format, or constraint detail beyond the field names already in the schema.

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 (revoke/delete) and resource (the role permissions a user holds on an enterprise project), and the qualifier "直接关联用户" (directly associated with the user) separates it from the group- and agency-scoped siblings in the catalog. It falls short of a 5 only because it never names those alternative tools 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?

Usage is implied rather than stated: "直接关联" hints that this is for direct user-role assignments as distinct from group-inherited ones, but there is no explicit when-to-use or when-not-to-use statement and no mention of the paired associate call or the revoke-by-group variant. An agent must infer the routing decision from the tool name and the phrase "直接关联".

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