Skip to main content
Glama

iam_group_remove_user

Destructive

Removes an IAM user from a group, revoking that group's policies and permissions from the user. Requires confirm=true to run, so use it to revoke access safely.

Instructions

Remove an IAM user from a group, taking away 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_remove_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

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the description inherits the safety profile rather than carrying it. Two details here genuinely matter: the description states the consequential effect (group policies are no longer granted) and states that confirm=true is required, which the schema does not encode. However, the sentence is terse and omits what happens to existing sessions or credentials, whether the user's other group memberships are affected, and what errors occur if the user is not a member. The confirm detail is the main value add, so a 2 is appropriate rather than higher.

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?

One sentence, front-loaded with the action and consequence, with the operational precondition appended. Every clause earns its place, though the semicolon construction is slightly compressed and the confirm requirement could be more prominent given its safety role.

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?

Annotated destructive mutation with an output schema available, so return values need not be described. The description covers the consequence and the confirmation gate, but with 0% schema coverage it should also clarify the two required parameters' semantics and mention error behavior for non-members. Adequate but short of complete for a destructive IAM operation.

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% across three parameters, so the description carries more burden than usual. It does explain the confirm parameter's necessity ('needs confirm=true'), which corrects the schema's misleading default of false and non-required status, but it says nothing about user_name or group_name beyond being implied by the verb phrase. Partial compensation justifies the middle score.

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?

Names a specific verb and resource: remove an IAM user from a group. The trailing clause states the effect ('taking away the group's policies'), which makes the operation distinguishable from the sibling iam_group_add_user without opening the schema. It stops short of naming that sibling explicitly, so it is clear but not fully differentiated.

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?

Usage is only implied by the verb: an agent can infer this is the membership-revocation path, but the description never states when to use it versus alternatives (iam_group_add_user for the inverse, iam_user_delete for broader removal), nor any when-not conditions such as the group or user needing to already exist.

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