Skip to main content
Glama

iam_user_delete

Destructive

Delete an IAM user with explicit confirmation; enable cascade to first remove access keys, login profile, group memberships, policies, and MFA devices.

Instructions

Delete an IAM user; needs confirm=true. With cascade=true it first removes the user's keys, login profile, group memberships, policies and MFA devices, 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": {
      "user_name": "<user_name>"
    },
    "name": "iam_user_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
cascadeNo
confirmNo
user_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

The destructiveHint=true annotation already flags the destructive nature, and the description adds real value beyond it by enumerating exactly what cascade destroys (keys, login profile, group memberships, policies, MFA devices) and noting that each step is reported. The remaining gap is the non-cascade path: it does not say whether deletion fails or is refused when the user still has attached resources, which is the main behavioral risk.

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 sentences with zero filler; the required confirmation gate is front-loaded, and the cascade semantics follow immediately where the agent needs them.

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?

For a destructive single-resource mutation with output schema available, the description covers the essential decision points and destruction scope. It could be more complete by stating the outcome when cascade is omitted for a user with attachments and whether the operation can be partially applied on failure.

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 description coverage is 0%, so the description carries the full burden, and it does explain the two non-obvious flags: confirm must be true, and cascade triggers prior removal of attachments. user_name is self-explanatory in context, so all three parameters are effectively covered, though accepted name formats are not stated.

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?

The description opens with a specific verb and resource ('Delete an IAM user') and immediately qualifies scope with the confirm and cascade modes, so it is distinguishable from siblings like iam_access_key_delete or iam_login_profile_delete, which remove only one attachment.

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 the hard prerequisite (confirm=true) and explains the two operating modes, cascade on versus off, which is the main decision an agent must make. It stops short of saying when to prefer cascade versus deleting attached resources with the dedicated sibling tools, and it does not describe the failure case when cascade is false but the user still has attachments.

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