Skip to main content
Glama

Set up the agent's Lightning wallet

setup_wallet

Set up a Bitcoin Lightning wallet for automatic payments: choose hosted custodial or connect your own NWC wallet, then get funding instructions.

Instructions

One-time wallet setup so purchases can pay automatically. Call with no arguments first: it returns the operator-facing options — present them to the operator verbatim and let them choose; do not choose for them. Then call {action:'create_hosted', confirm:true} ONLY after the operator explicitly agreed (creates a hosted custodial wallet at coinos.io; credentials are stored locally in ~/.hypawave/wallet.json and never sent to Hypawave), or {action:'connect_own'} to use an existing NWC wallet — without nwc_url it returns per-wallet steps to help the operator find their connection string. Also: {action:'funding_options', amount_sats?} returns operator-facing funding instructions for the configured wallet (instant Lightning invoice/address + on-chain deposit address for exchanges without Lightning, e.g. Robinhood) — present them verbatim whenever the wallet needs sats. The NWC_URL env var, when set, always takes precedence over anything configured here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoOmit to get the options to present to the operator
confirmNoRequired true for create_hosted — set only after the operator explicitly agreed
nwc_urlNoFor connect_own: the wallet's NWC connection string
amount_satsNoFor funding_options: mint an exact-amount Lightning funding invoice for this many sats
Behavior5/5

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

With no annotations, the description carries full responsibility for behavioral disclosure. It transparently explains that create_hosted creates a custodial wallet at coinos.io, stores credentials locally in ~/.hypawave/wallet.json, and never sends them to Hypawave. It also describes what each action returns and that the NWC_URL env var overrides configured values.

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 information-dense and every sentence contributes meaning, but it is structured as a single long paragraph that reduces scannability. A bulleted list or more sentence breaks would improve readability, though the content length is justified given the tool's multi-modal behavior.

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 tool with four parameters and no output schema, the description covers all invocation paths, return values (operator-facing options, steps, funding instructions), and configuration precedence. The agent is fully equipped to decide when and how to call the tool, including safety constraints about operator consent.

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?

The schema already documents all parameters with descriptions, so the baseline is 3. The description adds value by explaining the required call flow (omit action for options, confirm must be true only after explicit agreement), the effect of omitting nwc_url, and the optional nature of amount_sats, which goes beyond the schema's static 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 opens with 'One-time wallet setup so purchases can pay automatically,' which clearly states the tool's purpose. It also enumerates specific actions (create_hosted, connect_own, funding_options) that distinguish it from siblings like wallet_status and other transactional tools.

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?

The description gives explicit step-by-step guidance: call with no arguments first, present options verbatim, and only then invoke specific actions after operator consent. It also specifies when to use funding_options ('whenever the wallet needs sats') and that NWC_URL takes precedence, leaving no ambiguity about invocation order.

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/hypawave/mcp'

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