Skip to main content
Glama

iam__AssociateRoleToGroupOnEnterpriseProject

Assigns a role to a user group on an enterprise project to grant access permissions.

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>",
      "role_id": "<role_id>"
    },
    "name": "iam__AssociateRoleToGroupOnEnterpriseProject"
  }
}

Input Schema

NameRequiredDescriptionDefault
role_idYes权限ID。
group_idYes用户组ID。
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 are supplied, so the description carries the full behavioral burden, yet it only restates the purpose. It does not state that this is a mutation, whether it requires admin/IAM permissions, whether the grant is idempotent or additive to existing role assignments, or how to undo it (the RevokeRoleFromGroupOnEnterpriseProject sibling).

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 and no redundancy. Its brevity is appropriate, though it borders on under-specification given the mutation semantics that go unstated.

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?

For a three-required-parameter authorization mutation with no annotations and no output schema, the description is thin: it never tells the agent what the call changes, whether it fails on duplicate associations, or what the response confirms. An agent could pick the wrong user/agency/group variant without further context.

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% — all three parameters carry descriptions ('权限ID', '用户组ID', '企业项目ID') — so the baseline of 3 applies. The description adds no format, ID-source, or constraint detail beyond the schema.

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 (授权/grant authorization) and resource scope (企业项目/enterprise project), and the qualifier 基于用户组 (based on a user group) distinguishes it from the user- and agency-scoped siblings. It is clear but does not explicitly name those siblings as 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?

There is no guidance on when to use this versus iam__AssociateRoleToUserOnEnterpriseProject, iam__AssociateRoleToAgencyOnEnterpriseProject, or the Keystone* variants. No prerequisites, no exclusions, and no statement of what state must already exist (group, role, enterprise project) before calling.

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