Skip to main content
Glama
vaultwarden-mcp

vaultwarden-mcp

Delete attachment admin

vaultwarden_delete_attachment_admin
Destructive

Delete an attachment from a Vaultwarden/Bitwarden-compatible server via the admin path by specifying cipher_id and attachment_id; set confirm when destructive-action prompts are unavailable.

Instructions

Delete an attachment (admin path)

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": {
      "cipher_id": "<cipher_id>",
      "attachment_id": "<attachment_id>"
    },
    "name": "vaultwarden_delete_attachment_admin"
  }
}

Input Schema

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

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

C2.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=true, so the safety profile is covered. The description adds only the '(admin path)' hint, which weakly signals elevated privileges but does not state auth requirements, irreversibility, or how the confirm parameter interacts with the client's confirmation prompt.

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 short sentence is front-loaded and free of padding. Its brevity, however, reflects under-specification rather than disciplined editing.

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

Completeness1/5

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

For a destructive, admin-scoped tool with 6 parameters, 17% schema coverage, and no output schema, the description is wholly inadequate: it omits permission requirements, target identification, and confirmation behavior that an agent needs to invoke it safely.

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 17% with 6 parameters, so the description carries most of the burden and fails to do so. It says nothing about cipher_id versus attachment_id, nor about form, params, json_body, or when the confirm flag is required beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/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 (delete an attachment) and the '(admin path)' parenthetical hints at the privileged endpoint variant. However, the sibling list contains vaultwarden_delete_attachment, vaultwarden_delete_attachment_post, and vaultwarden_delete_attachment_post_admin, and the description gives no basis for choosing among them, leaving scope ambiguity.

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 when-to-use guidance, no prerequisites, and no mention of the sibling alternatives that perform similar deletions. The agent must infer from the name alone that this is the admin-route variant.

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