Skip to main content
Glama
vaultwarden-mcp

vaultwarden-mcp

Vaultwarden Maintenance Rotate Password

vaultwarden_maintenance_rotate_password
Destructive

Rotate a login item's password by generating a new one, keeping the old password in history; requires confirmation before rotating.

Instructions

Replace a login item's password with a generated one; the old one goes to history.

The new password is stored in the vault and never returned.

CONCEPT:VW-ECO.mcp.maintenance-operations

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": {
      "item_id": "<item_id>"
    },
    "name": "vaultwarden_maintenance_rotate_password"
  }
}

Input Schema

NameRequiredDescriptionDefault
lengthNoLength of the new password.
confirmNoMust be true; set only after the person agrees.
item_idYesId of the login item to rotate.
use_symbolsNoInclude symbols.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.8
    • addedInput schema / properties / confirm
      Added value: +{
      +  "default": false,
      +  "description": "Must be true; set only after the person agrees.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / item_id
      Added value: +{
      +  "description": "Id of the login item to rotate.",
      +  "type": "string"
      +}
    • addedInput schema / properties / length
      Added value: +{
      +  "default": 24,
      +  "description": "Length of the new password.",
      +  "type": "integer"
      +}
    • removedInput schema / properties / params_json
      Removed value: -{
      -  "default": "{}",
      -  "description": "JSON object of parameters for the action.",
      -  "type": "string"
      -}
    • addedInput schema / properties / use_symbols
      Added value: +{
      +  "default": true,
      +  "description": "Include symbols.",
      +  "type": "boolean"
      +}
    • addedInput schema / required
      Added value: +[
      +  "item_id"
      +]
  2. Addedv0.2.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, but the description adds two facts not in them: the previous password is preserved in history, and the new password is never returned to the caller. That is useful, non-duplicative context about recoverability and output. It does not address permissions, whether history entries are visible to the agent, or any rate limits.

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 core behavior and the non-return caveat are front-loaded in two tight sentences with no wasted wording. The trailing 'CONCEPT:VW-ECO.mcp.maintenance-operations' tag contributes nothing for an agent selecting the tool and is minor noise.

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 a confirmation gate, the description covers the essential unknowns: what is destroyed, that it is recoverable via history, and that the result is not readable. An output schema exists, so return value detail is not needed; the only gap is that the confirm precondition is left to the schema.

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 coverage is 100%, so every parameter including confirm, length, and use_symbols is already documented. The description's statement that the password is generated internally gives context for length/use_symbols, but adds no syntax or constraint detail beyond that baseline.

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 uses a specific verb+resource pair ('Replace a login item's password with a generated one') and clarifies that generation happens server-side, which distinguishes it from vaultwarden_maintenance_generate_password or vaultwarden_ciphers_edit_item. It stops short of naming a sibling explicitly, so an agent must still infer the boundary from the 'maintenance' namespace.

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

Usage Guidelines2/5

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

There is no statement of when to prefer this over vaultwarden_maintenance_generate_password, vaultwarden_ciphers_edit_item, or vaultwarden_post_set_password. The only gating signal, the confirm flag requiring prior human agreement, lives in the schema rather than the description, so usage context is entirely implied.

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