Skip to main content
Glama
vaultwarden-mcp

vaultwarden-mcp

by metodex-tech

Get allowlisted secret

get_secret

Retrieve one allowlisted secret field from a vault item by ID and field, with audit logging, when you need the value itself instead of sending it to an API.

Instructions

Return one secret field of a vault item, only if that item id and field are listed in the server-side allowlist. Every call is audited. Prefer use_secret when the value only needs to be sent to an API.

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": {
      "id": "<id>",
      "field": "<field>"
    },
    "name": "get_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesVault item id (UUID) from list_item_metadata.
fieldYespassword | username | totp | notes | sshPrivateKey | sshPublicKey | field:<custom field name>

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description does real work: it discloses the server-side allowlist gate, that every call is audited, and that only a single field is returned. It stops short of describing failure behavior (e.g., what an unlisted id/field returns) or whether the returned value is logged or redacted.

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

Conciseness5/5

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

Three short sentences: capability and its gate first, the audit note second, sibling routing last. No filler, and the most important constraint is front-loaded.

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 two-parameter read tool with no annotations and no output schema, the definition covers gating, auditing, and routing well. The remaining gap is what a caller gets on a non-allowlisted id or field, which is left to inference.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not carry: the id+field pair must both be allowlisted, and the returned value is a single field rather than the whole item. That gating semantics is genuinely beyond the field patterns.

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

Purpose5/5

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

Specific verb and resource ("Return one secret field of a vault item") plus an explicit scope constraint (only when the item id and field are on the server-side allowlist). It is clearly separable from use_secret, which is named as the alternative.

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

Usage Guidelines5/5

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

States the selecting condition for the sibling tool outright: "Prefer use_secret when the value only needs to be sent to an API." The allowlist sentence also implicitly defines when this tool cannot be used, so an agent knows both the preferred path and the gate.

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