Skip to main content
Glama

iam_mfa_virtual_device_create

Destructive

Create a virtual TOTP MFA device for Wasabi IAM, returning a one-time Base32 seed and QR code PNG for authenticator enrollment, or save both to a 0600 JSON file.

Instructions

Create a virtual (TOTP) MFA device, the only kind Wasabi supports; needs confirm=true. Returns the Base32 seed and a QR code PNG (base64) once, for the user to enrol in an authenticator app. With WASABI_MCP_SECRETS_DIR set, both go to one new 0600 JSON file instead and only serial_number and secrets_file are returned.

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": {
      "device_name": "<device_name>"
    },
    "name": "iam_mfa_virtual_device_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
confirmNo
device_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag a destructive, non-read-only, open-world write; the description adds the critical behavior the annotations cannot convey — the seed and QR code are returned exactly once and are unrecoverable afterwards, and output shape changes when WASABI_MCP_SECRETS_DIR is set (0600 JSON file, only serial_number and secrets_file returned). That is strong context beyond the structured fields, though it doesn't say what happens if confirm is false or whether an existing device is replaced.

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?

Three tight sentences, front-loaded with purpose and the confirm gate, then the one-time secret behavior, then the environment-dependent variant. No filler and no repetition of schema content.

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 security-sensitive create tool with an output schema, the description covers the safety gate, the one-time secret exposure, and the secrets-file mode, which is most of what an agent needs. The remaining gap is the undocumented `path` parameter and the absence of any statement about what happens on failure or repeated calls.

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

Parameters2/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 must carry the load. It explains only `confirm` ('needs confirm=true'); `path` is never mentioned and `device_name` is left entirely to inference, meaning two of three parameters remain undocumented anywhere.

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 ('Create a virtual (TOTP) MFA device') and immediately scopes it ('the only kind Wasabi supports'), so an agent knows exactly what object is produced and that no alternative MFA type exists. The verb also cleanly separates it from the deactivate/list siblings without needing to name them.

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 states a hard precondition ('needs confirm=true'), which is genuine usage guidance, but gives no when-to-use/when-not context such as whether the user already has an MFA device or how this relates to iam_mfa_device_deactivate. Usage is implied rather than spelled out.

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