Skip to main content
Glama

iam_mfa_device_deactivate

Destructive

Deactivates a user's MFA device so they can sign in without MFA. Set delete=true to also remove the virtual device; requires confirm=true.

Instructions

Deactivate a user's MFA device, and with delete=true also delete the virtual device; needs confirm=true. The user can then sign in without MFA.

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

Input Schema

NameRequiredDescriptionDefault
deleteNo
confirmNo
user_nameYes
serial_numberYes

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?

Annotations already flag destructiveHint=true and readOnlyHint=false, so the description's real contribution is the confirm=true gate and the conditional delete behavior, neither of which is derivable from the schema. It also discloses the security consequence ('can then sign in without MFA'), which is valuable framing for a destructive IAM operation. It stops short of saying whether the device record is retained when delete is false, or what errors arise if policy still mandates MFA.

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?

Two tight sentences, front-loaded with the primary action and escalating to the optional destructive variant. Every clause carries information; the only slight roughness is that the confirm requirement trails the delete clause parenthetically rather than being stated as a precondition.

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 mutation with an output schema present, the description covers the safety gate, the optional destructive branch, and the user-facing consequence. Remaining gaps are secondary: expected serial_number format and behavior when delete=false leaves a deactivated device entry.

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 must carry the parameter burden; it does explain both booleans (delete escalation, confirm gate) and their defaults implicitly (

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 and resource ('Deactivate a user's MFA device') and clarifies the optional escalation path ('with delete=true also delete the virtual device'). The scope is unambiguous, though it does not explicitly contrast itself with siblings such as iam_user_mfa_get or iam_mfa_device_list.

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 implied rather than stated: it is clearly the tool for removing MFA from a user, and the sentence 'The user can then sign in without MFA' supplies the outcome that motivates calling it. There is no explicit when-not guidance, no mention of policy preconditions, and no named alternative for read-only inspection of MFA devices.

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