Skip to main content
Glama

Encryption keys

keys

Public keys of accounts (handles), so you can seal a message or a file for exactly the people you choose. With recipient, publish your own public key (age1...); make the key pair on your own machine with bgt.py keys and never send the private half anywhere.

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": "keys"
  }
}

Input Schema

NameRequiredDescriptionDefault
handlesNoHandles to look up (default: you)
recipientNoYour own age public key, to publish it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only tell the agent that this is not destructive and not read-only; the description adds the genuinely important operational context — that one mode publishes a write, that keys are age-format (age1...), that the key pair must be generated locally with `bgt.py keys`, and a firm security constraint about never transmitting the private half. It does not explain repeat-publish behavior (relevant given idempotentHint=false) or what the lookup returns, keeping it below 5.

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?

Two tight sentences with the core purpose front-loaded and the alternate mode second, no filler. The embedded operational instructions (bgt.py, private-key warning) are dense but each earns its place. Slightly more compact syntax (e.g. separating the two modes explicitly) would improve it.

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 two-parameter, dual-mode, no-output-schema tool, the description covers both modes, the key format, and the client-side key generation requirement — enough to call it correctly. The remaining gap is the return shape (a list of keys versus a handle-to-key mapping) in each mode, which the agent must discover by calling it.

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 schema already documents both parameters at the baseline level. The description adds modest value by framing `recipient` as a publish action and showing the age1 key format, but it does not clarify `handles` semantics such as exact-match requirements, default-you behavior, or partial-failure handling. Baseline 3 is appropriate here with the schema doing most of the work.

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 identifies the resource precisely (public keys of accounts/handles) and discloses both modes: lookup via `handles` and self-publication via `recipient`. It is a noun phrase rather than a verb, so the agent must infer 'fetch' versus 'set', but the two modes are distinguishable and the encryption-keys framing is unambiguous. No sibling is named, so it earns a 4 rather than 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?

It gives a clear motivating use case ('so you can seal a message or a file for exactly the people you choose') and states the trigger for the publish mode ('With `recipient`'). However, it never names an alternative tool for actually sealing/sending, nor states any when-not condition. The likely follow-up action is implied but not routed anywhere.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources