Skip to main content
Glama
mailbox-org-mcp
by getrdone

PGP keys

mailbox_pgp_keys

Manage PGP keys for encrypted and signed mail: check your own key status, list and look up public keys, import keys from text, files, or attachments, and export your public key to share.

Instructions

Manage PGP keys for encrypted and signed mail. status: is your private key set up (needed to decrypt and sign) and is your public key findable; list: public keys in the local keyring; lookup: find someone's key (local keyring, then their own Web Key Directory; keys.openpgp.org only with keyserver=true) and save it; import: add a key from armored text, a .asc file, or a message's key attachment (folder+uid); export_own: write your public key to a file to share. Encrypt/sign when sending with encrypt/sign on mailbox_send_message, mailbox_reply, mailbox_forward and mailbox_create_draft; mailbox_get_message decrypts and checks signatures automatically.

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": {
      "action": "<action>"
    },
    "name": "mailbox_pgp_keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidNoFor import: UID of that message
fileNoFor import: path to a .asc/.gpg file; for export_own: where to write
emailNoFor lookup
actionYes
folderNoFor import: folder of a message carrying a key attachment
armoredNoFor import: an armored public key block
keyserverNoFor lookup: also ask keys.openpgp.org (shares the address with that service)
response_formatNo'markdown' for readable text (default), 'json' for complete structured datamarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already disclose readOnlyHint=false, openWorldHint=true, and destructiveHint=false, and the description adds useful behavior: status checks private/public key readiness, lookup follows a source order and can share the address with keys.openpgp.org, import accepts several key sources, and export_own writes a file. It does not explain conflict handling or whether import overwrites an existing key, which is a meaningful remaining gap.

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 definition is front-loaded with the tool purpose and then proceeds action by action in a dense but readable semicolon structure. Every sentence contributes, though the single paragraph is long enough that bullet-style action separation would improve scanability.

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 five-action tool with eight parameters and no output schema, the description covers the purpose of every action and its integration with related mail tools. It is slightly incomplete because it does not describe return shapes for status/list/lookup or import overwrite/error behavior, but the core operational picture is present.

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 high at 88%, so the baseline is 3, but the description adds action-specific meaning: file serves import and export_own differently, uid and folder combine for message-attachment import, and keyserver controls whether lookup contacts keys.openpgp.org. Some of this repeats schema text, but the action mapping adds real value beyond the field descriptions.

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?

The description states a specific resource, PGP keys, and explicitly enumerates all five actions: status, list, lookup, import, and export_own. An agent can distinguish the tool's scope and each sub-operation without opening the schema.

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

Usage Guidelines5/5

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

It gives action-specific guidance, including the lookup source order (local keyring, then Web Key Directory, then keys.openpgp.org only with keyserver=true) and how encryption/signing integrates with mailbox_send_message, mailbox_reply, mailbox_forward, mailbox_create_draft, and mailbox_get_message. The when-to-use conditions are explicit for each action.

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