Skip to main content
Glama
vaultwarden-mcp

vaultwarden-mcp

Delete attachment

vaultwarden_delete_attachment
Destructive

Delete a Vaultwarden/Bitwarden cipher attachment using its cipher ID and attachment ID; optionally require explicit confirmation for this destructive action.

Instructions

Delete an attachment

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"
  }
}

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

D1.9/5.0
Behavior2/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 description's only contribution is reiterating deletion. It says nothing about irreversibility, whether the attachment blob is permanently removed versus soft-deleted, or how the 'confirm' flag interacts with client confirmation prompts.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single four-word sentence contains no filler, but its brevity reflects under-specification rather than efficient communication. Nothing is front-loaded because there is nothing substantive to front-load.

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 mutation with 6 parameters, low schema coverage, no output schema, and a large set of confusable sibling delete tools, this description is completely inadequate. It leaves the agent unable to know which delete variant to call or how to supply the required identifiers safely.

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

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 6 parameters and only 17% schema description coverage, the description carries the burden of explaining cipher_id, attachment_id, form, params, and json_body. It mentions none of them, so an agent gets no guidance on identifier formats or what 'form'/'params' are for.

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

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Delete an attachment' simply restates the tool name and title, adding no distinguishing detail. It does not differentiate this tool from the many near-identically named siblings such as vaultwarden_delete_attachment_admin, vaultwarden_delete_attachment_post, or vaultwarden_delete_attachment_post_admin.

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 at all: no statement about required permissions, no mention of when to prefer this over the admin or POST variants, and no preconditions such as whether the cipher must be unlocked or owned. The agent must infer everything from the name alone.

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