Skip to main content
Glama
ORDNET

ORDnet MCP Server

Official
by ORDNET

Initialize Wallet from Environment

ordnet_wallet_init_env
Idempotent

Initialize a Bitcoin SV wallet by reading the WIF from an environment variable, avoiding direct key exposure. Returns address and balance.

Instructions

Initialize wallet from environment variable (highest security tier).

Reads WIF from environment variable instead of passing it directly. Recommended for production use.

Args:

  • envVarName (string): Environment variable name (default: ORDNET_WIF)

Returns: { address: string, balanceSatoshis: number }

Example: export ORDNET_WIF="L1a2b3c4..." ordnet_wallet_init_env({}) → Wallet initialized

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envVarNameNoEnvironment variable name containing the WIF (default: ORDNET_WIF)ORDNET_WIF
Behavior3/5

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

Annotations already indicate idempotentHint=true and destructiveHint=false. The description adds context about the security tier and reading from an environment variable, but does not disclose potential side effects like whether an existing wallet is overwritten or if state is persisted. With annotations covering the safety profile, this is acceptable but not rich.

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?

The description is compact and well-structured: a summary sentence, a security note, ARGS, RETURNS, and an example. Every part earns its place without unnecessary verbosity. Front-loaded with the primary purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with one optional parameter and no output schema, the description fully covers what it does, how it works, the parameter, the return shape, and a usage example. It is complete enough for an agent to select and invoke correctly.

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% with a clear description of the sole parameter. The description repeats the parameter and default but does not add significant meaning beyond the schema. An example shows calling with empty object, but the semantic value of the parameter is fully captured in the schema.

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 it initializes a wallet from an environment variable, using a specific verb and resource. It distinguishes itself from sibling tools like ordnet_wallet_init by emphasizing the security-enhanced method of reading the WIF from an env var rather than passing it directly.

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 explicitly recommends it for production use and highlights the security tier, implying when to use this over direct WIF passing. The phrase 'instead of passing it directly' effectively contrasts with the alternative initialization method, providing clear usage guidance.

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