Skip to main content
Glama

iam__UpdateDomainConsoleAclPolicy

Updates the console access control policy for a Huawei Cloud account by configuring allowed IPv4/IPv6 ranges or address netmasks to restrict who can access the console.

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": {
      "console_acl_policy": "<console_acl_policy>",
      "domain_id": "<domain_id>"
    },
    "name": "iam__UpdateDomainConsoleAclPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYes账号ID,获取方式请参见:[获取账号ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。
console_acl_policyYes控制台访问控制策略,请至少选择一种控制台访问策略。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3/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 behavioral burden and largely fails it. It implies mutation but never says whether the submitted policy replaces the existing one wholesale (as the required nested object and the schema note 'at least choose one policy' suggest), whether changes take effect immediately, or whether existing console sessions are affected. Only the admin-role hint adds anything beyond the name.

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?

It is a single short sentence with no wasted words, but it is also nearly all boilerplate ('该接口可以用于…') plus a support link. Brevity here comes from under-specification rather than disciplined editing, and nothing is front-loaded beyond the bare purpose.

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 mutation endpoint with a nested policy object, no annotations and no output schema, which is exactly the case where the description must do more work. It says nothing about replacement semantics, validation of IP ranges, failure modes, or the effect of an empty allow-list, leaving the agent to infer the risk of locking out console access.

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%, including per-field examples for IP ranges, IPv6 ranges and CIDR netmasks, so the baseline of 3 applies. The description adds no meaning beyond the schema — it does not explain the interaction between the four allow-lists (e.g. whether they are unioned or whether one supersedes another).

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 (修改/modify) and resource (账号控制台访问策略/account console access policy), which is enough to separate it from iam__ShowDomainConsoleAclPolicy (read) and iam__UpdateDomainApiAclPolicy (API ACLs rather than console). It does not name any sibling or state the differentiation explicitly, so it stops short of 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 only usage signal is that it is intended for 管理员 (administrators), which hints at a permission prerequisite but is not an explicit when-to-use rule. There is no statement about when not to call it, no mention of the read-only sibling for inspection first, and no note that the console ACL should already exist.

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