Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENT_NSECNoAlternative secret key for Nostr identity in bech32 nsec1... (alias for NOSTR_SECRET_KEY).
NOSTR_SECRET_KEYNoSecret key for Nostr identity in hex or bech32 nsec1... If not set, the server will generate or load a local keystore.
NOSTRPULSE_PROFILENoProfile for MCP server: minimal, radar, payment, or full. Defaults to full.full
AGENT_MAX_SATS_PER_TXNoMaximum satoshis allowed per transaction. Defaults to 50.50
AGENT_DAILY_LIMIT_SATSNoRolling 24-hour spending limit in satoshis. Defaults to 500.500
AGENT_MIN_RECIPIENT_SCORENoMinimum required trust score (0-100) for payment recipients. Defaults to 40.40

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_trust_scoreA

Verify anti-Sybil Trust Score (0-100) and Web-of-Trust distance for a Nostr pubkey.

pay_cashu_nutzapA

Send an eCash NutZap payment (NIP-61) to a Nostr recipient under guardrail limits.

request_nip90_jobC

Dispatch a NIP-90 DVM analytics computation task across Nostr relays with local fallback.

pay_lightning_nwcC

Pay a BOLT-11 Lightning invoice via NIP-47 Nostr Wallet Connect.

pay_with_nwcC

Pay a BOLT-11 Lightning invoice via NIP-47 Nostr Wallet Connect (alias).

audit_cashu_mintB

Audit Cashu mint health, NUT-06 status, and counterparty risk score.

route_cashu_mintB

Route to the highest-trust, lowest-latency Cashu mint for a payment.

get_agent_identityA

Get the autonomous agent's Nostr public identity and npub.

get_spending_guardrailsA

Check current AI agent spending budget, daily limits, and remaining satoshis.

get_agent_telemetryB

Retrieve agent telemetry metrics, rolling spend volume, and security events.

get_agent_wallet_balanceA

Check the autonomous AI agent's eCash wallet balance across all Cashu mints.

deposit_agent_walletC

Deposit a Cashu eCash token into the autonomous AI agent's stateful local vault.

fetch_with_402_paymentB

Fetch a web API or resource and automatically settle Bitcoin HTTP 402 paywalls via Cashu NUT-24 (X-Cashu) or Lightning L402.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 13 tools

Disambiguation3/5

Most tools target clearly distinct operations (balance, deposit, mint audit, trust score, telemetry, guardrails, NutZap). However, pay_lightning_nwc and pay_with_nwc are explicitly documented as aliases doing the identical thing, which creates a guaranteed misselection point. The Cashu mint pair (route_cashu_mint vs audit_cashu_mint) is related but the descriptions distinguish them adequately.

Naming Consistency4/5

All tools use snake_case with a leading verb (pay_, get_, request_, route_, deposit_, fetch_, audit_, check_), which is a readable, predictable convention. Minor deviations exist: some names append protocol suffixes (_nwc, _402_payment, _nutzap) and noun phrasing is inconsistent (get_agent_wallet_balance vs get_agent_identity), but nothing is chaotic.

Tool Count4/5

13 tools is within a sensible range for a Nostr payments/agent-wallet server and each roughly maps to a real capability. The only wasted slot is the duplicate pay_with_nwc alias, which should be removed rather than occupying a tool position.

Completeness3/5

The surface covers deposit, payment (Lightning, Cashu NutZap, 402), trust, identity, guardrails, and telemetry, so the core agent-payment loop exists. But there is no withdraw/transfer-out from the agent wallet, no transaction history or per-payment status lookup, and no invoice/request creation or mint listing, leaving several dead ends an agent will hit.

Maintenance

ActivityActive
ResponsivenessNo recent community issues