Skip to main content
Glama

iam__ListRolesForGroupOnEnterpriseProject

Retrieve the roles and permissions assigned to a user group for a specified enterprise project.

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>",
      "group_id": "<group_id>"
    },
    "name": "iam__ListRolesForGroupOnEnterpriseProject"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes待查询用户组。
enterprise_project_idYes待查询企业项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/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. '查询' implies a read-only listing, but the description says nothing about permissions required, whether results include inherited or project-scoped roles only, pagination, or response shape — significant gaps for a tool with zero annotation coverage.

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 front-loaded sentence with no filler, tagged with the [IAM] service prefix. It is efficient, though its brevity reflects thin content 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 two-parameter read-only listing tool with a fully documented schema and no output schema, the description is minimally adequate. It still leaves unanswered what the returned permissions represent and whether the group must already be associated, which an agent would need to interpret results.

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% and both path parameters (group_id, enterprise_project_id) are documented in the schema. The description adds no additional meaning about the parameters beyond what the schema already provides, so the baseline 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 names a specific verb (查询/query) and resource (企业项目已关联用户组的权限), so the operation is identifiable. However, it essentially restates the tool name in Chinese and never differentiates itself from close siblings such as iam__ListRolesForUserOnEnterpriseProject or iam__ListGroupsForEnterpriseProject; the distinction is carried entirely by the name.

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 guidance on when to use this tool versus the many sibling list/associate/revoke tools, and no mention of preconditions such as needing an existing group-project association. The agent must infer applicability from the 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