Skip to main content
Glama
vaultwarden-mcp

vaultwarden-mcp

by metodex-tech

Use a secret without revealing it

use_secret

Send an HTTPS request with a vault secret injected server-side, keeping the value hidden from the model and limiting calls to policy-approved URLs.

Instructions

Send an HTTPS request with a vault secret injected server-side. Write {{secret}} where the secret goes (URL, header value, or body); the value is substituted by the server and is never returned to you. Responses are masked. Only URLs allowlisted for that item/field in the server policy are permitted; the policy may also require human approval and limit uses or lifetime.

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>",
      "request": "<request>"
    },
    "name": "use_secret"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the disclosure burden and does it well: server-side substitution, secrets never returned, masked responses, allowlist enforcement, possible human approval, and use/lifetime limits. What is missing is failure behavior (e.g. what happens if {{secret}} is omitted or the policy denies the call) and any statement about idempotency or side effects of the outbound request.

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?

Four front-loaded sentences with no filler; the mechanism comes first, then placeholder usage, then policy constraints. Slight redundancy between 'is never returned to you' and 'Responses are masked', but nothing that wastes the reader's time.

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 nested-object tool with no output schema, the description covers the mechanism, placeholder placement, and policy gating comprehensively. The remaining gap is what a masked response actually looks like (status code only? redacted body?), which matters since there is no output schema to consult.

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 67%, and the description adds the key semantic the schema only implies in fragments: write {{secret}} wherever the value belongs — URL, header value, or body — and the server substitutes it. This clarifies how the nested `request` fields interact with the secret, though it does not explain the `field` selector's relationship to the placeholder.

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?

States a specific verb and resource ('Send an HTTPS request with a vault secret injected server-side') and explains the mechanism that distinguishes it from a plain secret-reading tool: the value is substituted by the server and never returned. An agent can tell this apart from get_secret without opening the schema.

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

Usage Guidelines4/5

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

Usage context is clear: use this when you need to call an external endpoint that requires a credential you must not see, and the description sets the precondition that the URL must be allowlisted for that item/field. It stops short of explicitly naming get_secret as the alternative for cases where the raw value is needed.

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