Skip to main content
Glama

iam_group_add_user

Destructive

Adds an IAM user to a group so they inherit the group's policies; requires confirm=true to apply the change.

Instructions

Add an IAM user to a group, granting them the group's policies; needs confirm=true.

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": {
      "group_name": "<group_name>",
      "user_name": "<user_name>"
    },
    "name": "iam_group_add_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
user_nameYes
group_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already flag destructiveHint=true and openWorldHint=true, and the description adds meaningful context beyond that: the operation grants the group's policies to the user, i.e. a privilege change, and requires an explicit confirm flag. It does not say what happens if the user is already a member or whether existing policies are affected, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single compact sentence with zero padding; the action is front-loaded and the confirm requirement follows the consequence clause. Nothing could be removed without losing information.

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?

An output schema exists, so return values need no explanation, and annotations cover the safety profile. However, for a destructive permission-granting mutation, the description omits idempotency behavior and the effect on existing memberships/policies, leaving a moderate gap.

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 0%, so the description has to carry all parameter meaning. It does map all three parameters conceptually (user, group, confirm), but it gives no format detail such as whether names are paths or ARNs, or any validation constraints.

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 ('Add an IAM user to a group') and even states the consequence ('granting them the group's policies'), so the agent knows exactly what the call mutates. It does not explicitly distinguish itself from the obvious inverse, iam_group_remove_user, but the verb alone makes the direction unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

It supplies one concrete usage requirement ('needs confirm=true'), which is genuine prerequisite guidance. It says nothing about when to prefer this over related tools such as iam_user_update or the group-removal counterpart, so usage context is only implied.

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