Skip to main content
Glama

iam__KeystoneListPermissions

Query IAM permissions by name, type, catalog, or domain to find available system and custom policies for access management.

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

Input Schema

NameRequiredDescriptionDefault
nameNo系统内部呈现的权限名称。如云目录服务CCS普通用户权限CCS User的name为ccs_user。 建议您传参display_name,不传name参数。
pageNo分页查询时数据的页数,查询值最小为1。需要与per_page同时存在。传入domain_id参数查询自定义策略时,可配套使用。
typeNo过滤权限的显示模式。取值范围:domain,project,all。type为domain时,返回type=AA或AX的权限;type为project时,返回type=AA或XA的权限;type为all时返回type为AA、AX、XA的权限。
catalogNo权限所在目录。catalog值精确匹配策略的catalog字段(可以过滤服务的策略、或者自定义策略)。
per_pageNo分页查询时每页的数据个数,取值范围为[1,300],默认值为300。需要与page同时存在。不传page和per_page参数时,每页最多返回300个权限。
domain_idNo账号ID,获取方式请参见:[获取账号ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。
display_nameNo过滤权限名称。如传参为Administrator,则返回满足条件的所有管理员权限。
permission_typeNo区分系统权限类型的参数。当domain_id参数为空时生效。

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 entire behavioral burden, and it discloses almost nothing beyond the admin prerequisite. It does not state that the call is a non-mutating read, what the default page size is (300 per the schema), what happens when page/per_page are omitted, or what the response contains — all material for an 8-parameter paginated listing.

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 admin constraint up front and no filler, so it is efficiently structured. The brevity is a virtue here, though it borders on under-specification.

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?

With 8 optional parameters, zero annotations, and no output schema, the description should explain what is returned and how paging behaves. It instead offers one sentence, leaving the agent to reconstruct behavior entirely from the schema.

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 rich per-parameter guidance such as preferring display_name over name and the meaning of type=domain/project/all, so the schema already does the semantic work. The description adds no parameter meaning of its own, which matches the baseline-3 rule for high-coverage schemas.

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: an administrator querying/gaining a list of permissions ('查询权限列表'). Combined with the [IAM] tag, an agent can tell this is the IAM permission-catalog listing operation. It does not contrast itself with the many sibling List*Permissions*ForGroup/ForAgency tools, 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage signal is that the caller should be an administrator, which is an audience restriction rather than routing guidance. Nothing says when to prefer this over the sibling tools that list project/domain permissions for groups or agencies, and there are no stated exclusions.

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