Skip to main content
Glama
Erseni

vault-ask (Erseni Vault)

run_with_secret

Requests passwords, tokens, or API keys from the user via a one-time encrypted link and runs exactly one command with them as environment variables, masking values in output.

Instructions

Use this whenever a single command needs a password, token, API key or other secret from the user, for example "connect to the database with my password" or "deploy with my API token". Never ask the user to type or paste a secret into the chat. Asks the user for one or more secrets and runs exactly one command with them as environment variables. The user sees the command before entering anything, and only this command can receive the values. First call without request_id: returns a link. Show it to the user, then call again with the returned request_id; that call waits for the answer, runs the command and returns its exit code and its output with every value masked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory for the command
namesNoNames of the values to ask for, for example ["DB_PASSWORD"]
commandNoThe command and its arguments, for example ["psql", "-h", "db.example.com"]
request_idNoThe id returned by the first call
ttl_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so thoroughly: two-phase handshake (first call returns a link, second call with request_id waits and executes), the security model (user sees the command before entering anything, only that command receives the values), and the return shape (exit code plus output with every value masked).

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?

The critical 'when to use this' guidance is front-loaded in the first sentence and the two-phase flow is laid out in sequence. Slightly repetitive in restating the secret concept across the trigger examples and the summary sentence, but nothing is wasted.

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 tool with no output schema, the description compensates by explaining the return values and the asynchronous request_id flow completely. The only gap is that ttl_seconds is undocumented in both the schema description and the description text.

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 80%, so the schema documents most fields itself. The description adds real meaning beyond it by explaining the request_id lifecycle ('call again with the returned request_id') and that names drives which secrets the user is prompted for, though ttl_seconds and cwd get no added context.

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: it asks the user for secrets and runs exactly one command with them as environment variables. It is instantly distinguishable from a plain secret-request tool because it executes a command, though it never names the sibling tools request_secret or send_secret to make the boundary explicit.

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?

Strong trigger condition is given ('use this whenever a single command needs a password, token, API key') plus a hard rule ('never ask the user to type or paste a secret into the chat'). It stops short of stating when not to use it or which sibling to prefer for the non-command case.

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