Skip to main content
Glama
vaultwarden-mcp

vaultwarden-mcp

Delete attachment post admin

vaultwarden_delete_attachment_post_admin
Destructive

Delete a specific Vaultwarden attachment using the admin POST endpoint by supplying cipher and attachment IDs, with confirmation for destructive operations.

Instructions

Delete an attachment (admin path, POST alias)

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_post_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
Behavior2/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is covered structurally. The description adds only the route shape ('POST alias') and says nothing about permanence, required admin privileges, or what happens to the parent cipher – all things an agent would want before invoking a destructive admin call.

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?

It is short and front-loaded with the verb, but it is under-specified rather than efficiently concise; the single parenthetical does all the differentiating work.

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 tool with two undocumented required identifiers, a client-bypass confirmation parameter, no output schema, and a very large sibling set of near-identical delete variants, this description leaves far too much to inference.

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%, so the description carries most of the burden, yet it names no parameters. The required cipher_id and attachment_id are undocumented, and the confirm flag (whose purpose lives only in the schema) is never referenced in the description.

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?

States a specific verb and resource ('Delete an attachment') and disambiguates via '(admin path, POST alias)', which separates it from vaultwarden_delete_attachment, _admin and _post siblings. The parenthetical is terse, but an agent can place it in the delete-attachment family.

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?

No when-to-use or when-not-to-use guidance; the agent is not told to prefer vaultwarden_delete_attachment or the non-POST admin variant, nor when the admin path is required. The only hint is the path/verb tag in parentheses.

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