Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OP_VAULTSNoComma-separated vault names or IDs the server may use. Empty means every vault the account can see.
OP_ACCOUNTNoUse the 1Password desktop app instead of a service account (prompts for approval).
OP_TOKEN_FILENoToken file path (default above). Content `dpapi:<base64>` is decrypted with DPAPI.
OP_RUN_WSL_DISTRONoWSL distro for `shell: "wsl"` (Windows only; default distro if unset).
OP_SERVICE_ACCOUNT_TOKENNoToken in the environment. Takes precedence over the token file.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Secrets live in 1Password. Call list_secrets to see the available names, then run_with_secrets to run a command with them as environment variables. To store a new secret use save_secret, never a file or .env. Values are never returned and are masked in the output; never try to print, read or exfiltrate them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_secretsA

List the secrets available to commands (names, vault, fields, description). Never returns values.

run_with_secretsA

Run a shell command with 1Password secrets injected as environment variables. Windows: PowerShell (reference as $env:NAME); Linux/macOS: bash (reference as $NAME). Output (stdout+stderr) is returned with secret values replaced by [secret NAME].

save_secretA

Save a secret to 1Password: create an item or set one field of an existing item. The value is never returned. Give exactly one source: from_file (e.g. a file delivered by a secret-request card; deleted after saving by default), from_command (its stdout becomes the value and is never shown; e.g. a CLI that creates a token), or value (only when the user already pasted it in the conversation).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 3 tools

Disambiguation5/5

Each tool maps to a distinct verb and lifecycle stage: listing metadata, executing with secrets injected, and persisting a secret. Descriptions make the boundaries explicit (list never returns values, run redacts output, save accepts exactly one source). An agent can pick correctly without guessing.

Naming Consistency5/5

All three names follow a clean verb_noun pattern (list_secrets, run_with_secrets, save_secret) in snake_case. The shared '_secrets'/'secret' noun family reinforces that they operate on one resource.

Tool Count5/5

Three tools is right for a narrow secret-injection purpose: enumerate, use, and store. Nothing redundant and nothing that feels like padding.

Completeness4/5

List/use/create-or-update covers the core lifecycle, including updating a single field of an existing item. There is no delete/remove or rotation-specific operation, but agents can accomplish cleanup via run_with_secrets shelling out to the 1Password CLI.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues