Skip to main content
Glama

Create (encrypt) a vault locally

zib_create_vault

Encrypt a letter and optional attachments with a recovery phrase, then write a local vault file (0600). Enable split mode to create four parts, any two of which open the vault.

Instructions

Encrypt a letter (from letter_file or letter_text) and optional attachments with the phrase in phrase_file. Writes the encrypted vault to out_file (0600); nothing is uploaded yet. With split=true also writes 4 part files (any 2 open the vault) into parts_dir. Returns only paths and the expiry date.

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": {
      "phrase_file": "<phrase_file>",
      "out_file": "<out_file>"
    },
    "name": "zib_create_vault"
  }
}

Input Schema

NameRequiredDescriptionDefault
splitNo
out_fileYesPath to a local file (created with mode 0600 when written).
parts_dirNo
attachmentsNo
letter_fileNo
letter_textNo
phrase_fileYesPath to a local file (created with mode 0600 when written).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare the safety profile (not read-only, not destructive, not idempotent, closed-world); the description adds real behavior: 0600 file mode, that split=true produces 4 part files where any 2 open the vault, and that the response is limited to paths and an expiry date. It does not say what happens if out_file or parts_dir already exists, which matters for a non-idempotent write.

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?

Three sentences, front-loaded with the core action, then output location, then the split variant and return shape. Every clause carries information; nothing is repeated from the schema or annotations.

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?

With no output schema, the description correctly covers the return value (paths plus expiry date), and it covers the split/parts_dir interaction and file permissions. The main remaining gap for a 7-parameter write tool is overwrite/error behavior and any prerequisite on the phrase file.

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 only 29%, but the description compensates: it establishes that the letter comes from letter_file OR letter_text (an either/or relationship the schema does not encode), that attachments are optional, and that split=true populates parts_dir with 4 part files. It leaves open what happens if both or neither letter source is supplied, and says nothing about the phrase_file format.

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 ('Encrypt a letter ... and optional attachments'), names the input sources (letter_file/letter_text, phrase_file) and the output (out_file), and distinguishes itself from the upload sibling with 'nothing is uploaded yet'. An agent can tell this apart from zib_store_vault without opening either 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?

'nothing is uploaded yet' makes clear this is the local creation step that precedes storing, which is strong contextual guidance. It stops short of explicitly naming zib_store_vault as the follow-up or stating when not to use this tool (e.g. re-creating an existing vault).

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