Skip to main content
Glama

iam__ListGroupsForEnterpriseProject

Lists user groups associated with a specified enterprise project in Huawei Cloud IAM. Use it to inspect group access tied to an enterprise project by providing its ID.

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": {
      "enterprise_project_id": "<enterprise_project_id>"
    },
    "name": "iam__ListGroupsForEnterpriseProject"
  }
}

Input Schema

NameRequiredDescriptionDefault
enterprise_project_idYes待查询的企业项目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 exist, so the description carries the full burden of behavioral disclosure. It implies a read-only association lookup but says nothing about pagination, permission requirements, whether the result is a fixed or paged list, or what fields are returned for each group.

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?

The description is one front-loaded sentence that clearly states purpose and has no filler. Its brevity is clean, though it leaves no room for the guidance an unannotated tool needs.

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 simple one-parameter list tool with a fully described schema and no output schema, a single sentence is minimally adequate. However, with no annotations and no return-shape hint, the agent still lacks context on permissions and result format.

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?

The schema already documents the single enterprise_project_id path parameter at 100% coverage, so the baseline is 3. The description adds no semantics beyond the schema, such as how to obtain the project ID or what happens when it is invalid.

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 and resource: query user groups associated with an enterprise project. This clearly distinguishes it from siblings such as iam__ListUsersForEnterpriseProject or iam__ListRolesForGroupOnEnterpriseProject, although it does not explicitly name those alternatives.

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?

It contains only the vague phrase '可用于' (can be used for) and gives no when-to-use guidance, no prerequisites, and no routing to alternatives. The agent must infer from the tool name alone whether this is the right listing call.

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