Skip to main content
Glama
vaultwarden-mcp

vaultwarden-mcp

Remove 2fa

vaultwarden_remove_2fa
Destructive

Removes all two-factor authentication methods from a specified user as an admin recovery action, helping restore account access when 2FA is unavailable.

Instructions

Strip all 2FA methods from a user (admin recovery action)

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_id": "<user_id>"
    },
    "name": "vaultwarden_remove_2fa"
  }
}

Input Schema

NameRequiredDescriptionDefault
formNo
paramsNo
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.
user_idYes
json_bodyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.8
    • addedInput schema / properties / confirm
      Added value: +{
      +  "default": false,
      +  "description": "Explicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.",
      +  "type": "boolean"
      +}
  2. Addedv0.2.2

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds meaningful scope by saying all 2FA methods are stripped and frames it as an admin recovery action, but it does not explain irreversibility, confirmation behavior, or authorization requirements beyond the word 'admin'.

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?

The single sentence is front-loaded with the action and resource and contains no filler. It is efficiently structured, though its extreme brevity contributes to the gaps in parameter and behavioral detail.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive admin mutation with five parameters at 20% schema coverage and no output schema, the description is too thin. It omits how user_id is specified, how confirm interacts with confirmation prompts, and how this differs from the many sibling 2FA and disable tools.

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 only 20%, with just the confirm parameter documented in the schema. The description does not clarify the required user_id format, nor does it explain the purpose of form, params, or json_body, leaving most parameters undocumented in both places.

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 states a specific verb and resource ('Strip all 2FA methods from a user') and adds the operational context '(admin recovery action)'. It does not differentiate this tool from close siblings such as vaultwarden_disable_twofactor or vaultwarden_disable_twofactor_put, so it falls short of a 5.

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?

'Admin recovery action' implies the scenario in which this tool is appropriate, which is useful guidance. However, there is no explicit statement of when not to use it, no mention of the alternative disable_twofactor siblings, and no prerequisites such as required admin privileges.

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