Skip to main content
Glama

iam__KeystoneListProjects

Query and list projects under a Huawei Cloud account by name, domain, parent project, or enabled status. Filter results to find project IDs and organize resources across tenants.

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

Input Schema

NameRequiredDescriptionDefault
nameNo项目名称,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。
pageNo分页查询时数据的页数,查询值最小为1。需要与per_page同时存在。
enabledNo项目是否启用。
per_pageNo分页查询时每页的数据个数,取值范围为[1,5000]。需要与page同时存在。
domain_idNo项目所属账号ID,获取方式请参见:[获取账号、IAM用户、项目、用户组、委托的名称和ID](https://support.huaweicloud.com/api-iam/iam_17_0002.html)。
is_domainNo该字段无需填写。
parent_idNo如果查询自己创建的项目,则此处应填为所属区域的项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 discloses almost nothing: no auth/permission requirements, no pagination behavior (despite page/per_page params), no note on what an empty result or disabled projects mean, and no indication of the response shape. Only the read-only nature is implicit in "查询".

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 an [IAM] tag prefix and nothing wasted, so structure is fine. The problem is under-specification rather than verbosity; a slightly longer sentence naming the scoping filters or a sibling would have earned more.

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 7 optional parameters, no annotations, and no output schema, the description should explain at least selection criteria, pagination semantics, and permission scope. It supplies none of these, so an agent must rely entirely on the schema to call it correctly.

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%, with every one of the 7 query parameters documented in the schema including examples and the note that is_domain 无需填写. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb+resource pair (query the project list) but qualifies it only with the vague phrase "指定条件下" (under specified conditions), which conveys no actual scope. It gives no hint of how this differs from siblings such as KeystoneListAuthProjects, KeystoneListFederationProjects, or KeystoneListProjectsForUser, all of which also list projects.

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 prerequisites, and no mention of alternatives. An agent cannot tell from the description whether to call this versus the several sibling project-listing tools, so selection must be inferred from the tool name alone.

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