Skip to main content
Glama

iam__ListCustomPolicies

Lists custom IAM policies for Huawei Cloud administrators, using page and per_page parameters to retrieve paginated results.

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__ListCustomPolicies"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo分页查询时数据的页数,查询值最小为1。需要与per_page同时存在。
per_pageNo分页查询时每页的数据个数,取值范围为[1,300]。需要与page同时存在。

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 full disclosure burden, and it says nothing beyond the bare purpose. It does not state that the operation is read-only and idempotent, what the response contains, whether pagination is required for large tenants, or what errors occur when the caller lacks admin rights.

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 short sentence with the service prefix and the resource front-loaded; nothing is redundant. The terseness is efficient rather than padded, though the embedded markdown link to the admin doc is noise for an agent reader.

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?

This is a simple two-optional-parameter list tool whose parameters are fully covered by the schema, so the thin description is nearly adequate. The notable gap is the absence of any output schema combined with no statement of what a policy list entry looks like, leaving the return shape unspecified.

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%: both page and per_page are fully documented in the schema, including the [1,300] range and the requirement that they be supplied together. The description adds no meaning about these parameters, so the baseline of 3 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 names a specific verb and resource: query (查询) the custom policy list (自定义策略列表), scoped to the IAM service by the [IAM] prefix. An agent can tell this is a list operation rather than the sibling detail/create/delete variants, though it does not explicitly name or contrast with them.

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 guidance is that the call is intended for administrators, which hints at a permission prerequisite. There is no statement of when to prefer this over iam__ShowCustomPolicy or the other sibling list tools, and no exclusions or preconditions beyond the admin audience.

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