zap-wallet-clear

Remove the NWC wallet for the active identity. Falls back to the global NWC_URI if set.

SERVERNostr Bray SOURCEnostr-bray
Critical RISK CLASS
Category Destructive
Parameters 00 required
Recommended Hiddensee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/dev-forgesworn-bray/zap-wallet-clear.md

What zap-wallet-clear does on Nostr Bray

AI agents call zap-wallet-clear to permanently remove resources in Nostr Bray, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Why zap-wallet-clear is rated Critical

Removing a wallet configuration is a destructive operation—it permanently deletes the wallet association for the active identity. While the fallback to global NWC_URI mitigates some impact, the primary action is irreversible deletion. The high severity reflects the financial context (Nostr wallet configuration) and the inability to undo the removal without manual reconfiguration.

From the tool's definition Tool name 'zap-wallet-clear' and description 'Remove the NWC wallet' indicates deletion/removal of wallet configuration. This is an irreversible action that cannot be undone without reconfiguration.

Questions about zap-wallet-clear

What does the zap-wallet-clear tool do? +

Remove the NWC wallet for the active identity. Falls back to the global NWC_URI if set. It is categorised as a Destructive tool in the Nostr Bray MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on zap-wallet-clear? +

Register the Nostr Bray MCP server in PolicyLayer and add a rule for zap-wallet-clear: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Nostr Bray. Nothing to install.

What risk level is zap-wallet-clear? +

zap-wallet-clear is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit zap-wallet-clear? +

Yes. Add a rate_limit block to the zap-wallet-clear rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block zap-wallet-clear completely? +

Set action: deny in the PolicyLayer policy for zap-wallet-clear. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides zap-wallet-clear? +

zap-wallet-clear is provided by the Nostr Bray MCP server (nostr-bray). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Nostr Bray, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Nostr Bray's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.