Skip to main content
Glama

iam_group_delete

Destructive

Delete an IAM group by setting confirm=true. Use cascade=true to remove members and detach or delete policies first, with each step listed.

Instructions

Delete an IAM group; needs confirm=true. With cascade=true it first removes the members and detaches or deletes its policies, and lists each step.

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

Input Schema

NameRequiredDescriptionDefault
cascadeNo
confirmNo
group_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

With destructiveHint=true and openWorldHint=true already declared, the description adds genuine value by disclosing what cascade destroys (membership plus policy attachments or the policies themselves) and that steps are reported. It does not say what happens when cascade=false is used on a non-empty group, which is the key behavioral unknown for a destructive call.

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?

Two compact sentences, front-loaded with the mandatory confirm gate before describing the optional cascade path. Nothing is padded and every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 the description covers the two non-obvious parameters plus the destructive side effects. The one gap is the failure behavior for deleting a populated group without cascade, which an agent would need to avoid a surprise error.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry the load, and it defines the semantics of two of the three parameters: confirm acts as the safety gate and cascade triggers member removal plus policy detach/delete. group_name is self-evident from the required field.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Delete an IAM group" gives a specific verb and resource that is immediately distinguishable from the sibling create/update/get/list group operations, and the cascade clause further pins down the scope of the deletion.

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

Usage Guidelines4/5

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

It states a hard prerequisite (confirm=true must be set) and explains when the cascade variant is appropriate by describing exactly what it does. It stops short of explicitly naming alternatives or saying when not to use it, but the confirm gate supplies real decision guidance.

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