Skip to main content
Glama
vaultwarden-mcp

vaultwarden-mcp

Delete attachment post

vaultwarden_delete_attachment_post
Destructive

Deletes an attachment from a Vaultwarden cipher using the cipher and attachment IDs; set confirm when the client cannot answer a confirmation prompt.

Instructions

Delete an attachment (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"
  }
}

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, readOnlyHint=false, and openWorldHint=true, so the basic safety profile is covered. The description adds nothing beyond that: it does not say the attachment is permanently removed, whether the cipher must be owned by the caller, or why a POST alias exists (e.g., clients that cannot issue DELETE). For a destructive mutation this leaves meaningful behavioral gaps.

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 description is extremely short and front-loads the core action, so there is no wasted wording. However, the brevity comes at the cost of substance—it reads as a terse label rather than a useful definition, which is under-specification rather than effective concision.

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, open-world mutation with six parameters at 17% schema coverage and no output schema, the description should at minimum explain the alias rationale and identify the required identifiers. As written, an agent has annotations for safety but no additional context to invoke it correctly or prefer it over the many sibling delete 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 17%, with cipher_id and attachment_id undocumented in both schema and description, and the purpose of form, params, and json_body left opaque. The description names no parameters and clarifies nothing about the required identifiers or the confirm flag, so it fails to compensate for the low coverage.

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 ('Delete an attachment') and flags that this is the POST-method alias, which is meaningful in a sibling set crowded with delete_attachment, delete_attachment_admin, and delete_attachment_post_admin variants. It does not explain how this differs functionally from the DELETE-method sibling, so differentiation is partial rather than complete.

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 guidance on when to choose this tool over vaultwarden_delete_attachment (DELETE variant) or the admin variants, and no mention of prerequisites such as ownership of the cipher or authentication state. The only implicit cue is the '(POST alias)' label, which an agent must interpret on its own.

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