Skip to main content
Glama
ORDNET

ORDnet MCP Server

Official
by ORDNET

Encrypt Wallet

ordnet_security_encrypt_wallet
Read-onlyIdempotent

Encrypt a WIF private key with AES-256-GCM to create a securely stored wallet. Decrypt it later with the same password using ordnet_wallet_init.

Instructions

Encrypt a WIF private key with AES-256-GCM.

Use this to create an encrypted wallet that can be stored safely. The encrypted data can later be decrypted with ordnet_wallet_init with the password.

Args:

  • wif (string): WIF private key to encrypt

  • password (string): Strong password (min 12 chars)

Returns: { encrypted: { iv, data, tag, salt } }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wifYesWIF private key to encrypt
passwordYesStrong password for encryption
Behavior1/5

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

The description's return fields (iv, salt) imply randomness, contradicting the annotation idempotentHint=true. Since AES-GCM typically requires unique IVs and salts, this is a significant behavioral inconsistency. Annotation Contradiction flagged.

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?

Concise, front-loaded with the core purpose, then args and return format in a clean list. No wasted words.

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?

No output schema exists, so the description explains the return format. It also covers companion decryption tool and password strength. Missing error cases/security caveats, but adequate for a simple encryption utility.

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 description coverage is 100% (wif and password already explained). The description repeats the same info and adds no deeper meaning beyond specifying min 12 chars, which matches minLength. Baseline 3 is appropriate.

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 'Encrypt a WIF private key with AES-256-GCM' – a specific verb, resource, and algorithm. It clearly distinguishes the tool from wallet management and inscribing siblings.

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?

Provides explicit context: 'Use this to create an encrypted wallet that can be stored safely' and names the companion decryption tool 'ordnet_wallet_init'. Does not list exclusions but sufficiently conveys when to use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ORDNET/ORDnet-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server