Skip to main content
Glama

Register your encryption key (and E2E policy)

locker_register_key

Owner-signed. Publishes your X25519 public key so senders can seal to you. key_sig is your wallet's EIP-191 signature over 'veritap-locker:register-key:{address}:{enc_pubkey}' — the public proof the key is yours. Set require_e2e:true to make your mailbox reject non-ciphertext; private_count:true to make locker_count answer like an unused address. Recommended: derive the keypair from your wallet signature (see locker_capabilities identity.derived_enc_key) so your wallet stays your only secret.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nonceYesNonce from locker_nonce (single-use; expires in 5 min).
addressYesEVM wallet address (0x…, the mailbox identity).
key_sigYesEIP-191 signature over the registration statement.
signatureYesEIP-191 wallet signature over the exact nonce string.
enc_pubkeyYesBase64 X25519 public key (32 bytes).
require_e2eNo
private_countNo

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does well: it discloses the owner-signed requirement, the EIP-191 signature formats, the effects of require_e2e (mailbox rejects non-ciphertext) and private_count (locker_count answers as unused), and the recommendation to derive keys from the wallet signature. It could add more about side effects or reversibility, but the core behavioral traits are covered.

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 description is compact and front-loaded with the core purpose. The first sentence states the action and effect, and subsequent sentences add necessary signing and policy details. Every sentence contributes useful information without fluff.

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 7-parameter tool with no output schema, the description explains the key mechanics: the signed statement, the nonce, the pubkey format, and the privacy flags. It lacks explicit return-value or error-case details, but the essential operational context for correctly invoking the tool is present.

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 71%, and the schema already describes most parameters. The description adds real meaning for key_sig by specifying the exact signed statement format ('veritap-locker:register-key:{address}:{enc_pubkey}'), which is valuable. The two optional booleans get semantic context (require_e2e and private_count effects) beyond their bare names. However, some parameters like 'signature' and 'nonce' are not further enriched, so the extra value is moderate.

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 clearly states that the tool registers an X25519 public key to a mailbox identity so senders can encrypt to it. The verb 'publishes' and the resource ('X25519 public key') are specific and distinguish this tool from the locker_read/send/status sibling functions.

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?

It explains when the tool is used (initial key registration for end-to-end encryption) and gives guidance on the require_e2e and private_count flags, plus a recommended key-derivation practice. It does not explicitly name alternative tools to compare against, but the usage context is clear enough for an agent to select it appropriately.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Each tool targets a distinct area: mailbox operations (ack/read/count/send), checkpoint storage, key registration/directory, and account/billing info. The only mild ambiguity is that locker_checkpoint bundles save/load/list/delete into one tool, and locker_send can target your own future self, which could blur the boundary with checkpoint storage.

Naming Consistency3/5

All names share the locker_ prefix and consistent snake_case, which keeps the set cohesive. However, the second part mixes bare verbs (read, send, ack, count, invite) with nouns (capabilities, directory, nonce, status) and one true verb_noun pair (register_key), so the naming convention is not uniform.

Tool Count5/5

Twelve tools is well within the ideal range, and each tool earns its place by covering a distinct capability: mailbox, checkpoint memory, key identity, billing, and onboarding. Nothing feels redundant or like padding.

Completeness4/5

The set covers the full message lifecycle (send/read/ack/count), checkpoint CRUD via locker_checkpoint, key registration/verification, and billing/status. Minor gaps remain, such as no explicit key revocation/rotation tool or sent-message history, but core workflows are complete.