Skip to main content
Glama

iam__ShowDomainApiAclPolicy

Retrieves the API access control policy for a specified Huawei Cloud account ID, helping you review which IP addresses or networks are allowed to access account APIs.

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

Input Schema

NameRequiredDescriptionDefault
domain_idYes待查询的账号ID,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和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

C2.9/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. It implies a read via 查询, but says nothing about required permissions, whether an empty/absent policy yields an error or a default object, or what the returned policy contains. For a zero-annotation tool this is a thin disclosure.

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?

One short front-loaded sentence with a bracketed service tag and no filler. It is efficient, though its brevity reflects under-specification rather than disciplined editing.

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 single-parameter read tool with full schema coverage and no output schema, the description is minimally adequate: the agent knows what it queries and what it needs. It is incomplete in that it never explains what an API ACL policy consists of or how the account-level policy differs from the console-level policy exposed by the sibling tool.

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?

There is a single required parameter (domain_id) and schema coverage is 100%, with the schema itself linking to Huawei Cloud documentation for obtaining the account ID. The description adds no additional meaning about the parameter, so the baseline of 3 for a fully documented single-parameter schema applies.

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 gives a specific verb (查询/query) and a specific resource (账号接口访问控制策略 – account API access control policy), naming the IAM service prefix. An agent can tell it apart from the sibling ShowDomainConsoleAclPolicy only by inference from the word 接口 (API), not by anything the description says explicitly.

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?

There is no when-to-use guidance, no prerequisite context, and no mention of any alternative. The sibling list contains a near-identical tool (iam__ShowDomainConsoleAclPolicy) and its update counterpart (iam__UpdateDomainApiAclPolicy), yet the description does nothing to route the agent between them.

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