Skip to main content
Glama
Passhold Agents

Passhold Agents

Official

save_api_key

Seals a newly created API key into the owner's Passhold inbox for review, optionally piping command output directly so the secret never enters model context.

Instructions

Seal a newly created API key directly into the human owner’s Passhold inbox for review. Prefer passing from_command (argv array, shell: false) so the secret goes straight from command stdout into Passhold without entering model context.

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": {
      "title": "<title>"
    },
    "name": "save_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoOptional working directory for from_command.
envNoDefault environment variable name (e.g. STRIPE_API_KEY).
keyNoDirect secret key value (omit when using from_command).
hostsNo
keyIdNo
notesNo
titleYesShort display name for the API key (e.g. "Stripe sandbox").
reasonNoShort context shown to the owner in Passhold inbox.
scopesNo
sendAsNobearer, basic, header:<name>, or query:<name>.
serviceNo
environmentNoe.g. production, sandbox, development.
from_commandNoCommand argv executed directly (shell: false) whose trimmed stdout is sealed as the key without returning it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does meaningful work: it discloses that the key is sealed into a human's inbox for review, that from_command runs argv with shell: false, and that the secret is sealed without returning it or entering model context. Remaining gaps are permissions, whether the stored key is later retrievable, and what the call returns, which keeps it from a 5.

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?

Two sentences, zero filler, with the action stated first and the security-relevant recommendation second. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter write-ish tool with no annotations and no output schema, the description explains the core flow but leaves the agent guessing about most optional parameters and about the result of the call. Adequate to invoke the preferred path correctly, not complete for the full surface.

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

Parameters3/5

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

Schema coverage is a middling 62%, and the description adds real meaning only for from_command (argv form, shell: false, trimmed stdout, secret not returned). The other eleven parameters, including hosts, scopes, keyId, sendAs, and service, get no prose explanation beyond their own schema entries.

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?

States a specific verb and resource ('Seal a newly created API key') and names the exact destination ('the human owner's Passhold inbox for review'), so the agent knows what the tool produces. It does not differentiate itself from siblings such as run_command or reveal, which is why it stops short of a 5.

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

Usage Guidelines3/5

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

The description recommends one mode over another ('Prefer passing from_command') and gives the reason, which is genuine usage guidance for the two input paths. It never states when this tool should not be used, nor which sibling to choose for related tasks such as revealing an existing key.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.