Skip to main content
Glama

seal_pack

Encrypt named skills or an entire skills directory into an OpenSSL-compatible AES-256-CBC pbkdf2 blob, using a passphrase from env or args, to protect skill packs at rest.

Instructions

Encrypt named skills (or every skill under skillsDir) into an openssl-compatible AES-256-CBC pbkdf2 blob. Passphrase via env PACKSMITH_PASSPHRASE or args.passphrase; never logged or returned.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "seal_pack"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesNoskill slugs to seal
outPathNowhere to write the .enc blob
skillsDirNodirectory of <slug>/SKILL.md to seal instead of names
passphraseNopassphrase (prefer env PACKSMITH_PASSPHRASE)

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, the description carries the full burden and does well: it discloses the cipher/PBKDF2 scheme, that the passphrase may come from env or args, and that it is never logged or returned. It omits overwrite behavior for outPath and what happens on failure, keeping it short of 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 dense sentences, front-loaded with the action and the two selection modes, with the secret-handling caveat last. No redundant or filler wording.

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 four-parameter, all-optional write tool with no output schema and no annotations, the description covers the encryption mechanics and passphrase secrecy well but leaves gaps: default output location, overwrite semantics, and any indication of what is returned or how errors 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 100%, so the baseline is 3; the description adds only the mutual-exclusivity nuance ('or every skill under skillsDir', 'instead of names'), which the schema's own field descriptions largely repeat. It does not clarify behavior when all four optional params are omitted.

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 uses a specific verb ('Encrypt') with an explicit resource ('named skills' or 'every skill under skillsDir') and even names the output format (openssl-compatible AES-256-CBC pbkdf2 blob). This clearly contrasts with unseal_pack by inversion, though no sibling is named outright.

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?

It explains the two input modes (explicit skill slugs vs. scanning skillsDir) which implies usage, but gives no when-to-use/when-not guidance, no mention of prerequisites like skill existence, and never points to unseal_pack or build_pack as part of a workflow.

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