Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BLACKPOOL_KEYNoPrivate key for the agent wallet. The server starts without it, but tools that move funds require it.
BLACKPOOL_MCP_TOOLSNoComma-separated list of tools to expose, for example "balance,send".
BLACKPOOL_MCP_READONLYNoSet to "1" to expose only the read-only tools.

Instructions

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

Private payments with zero-knowledge pools. Check blackpool_balance before paying; deposit first if the private balance is short. Never retry deposit, send, swap or bridge after a timeout without checking blackpool_balance or blackpool_bridges. blackpool_recover is always safe. Full guide: resource blackpool://agents.md.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
resources
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
blackpool_addressA

Address of the agent wallet. Fund it with the asset to shield plus a little native gas for deposits.

blackpool_balanceA

Read the agent wallet's private (shielded) and public balances. Without pool: both pools of the chain (native coin and stablecoin) with their note (UTXO) counts; chain "all" covers every chain. With pool: that one private pool only. Read-only; needs BLACKPOOL_KEY. Use wait=true right after a deposit or send, when the private balance may still read 0. Returns {balances: [{chain, address, private: {SYMBOL: {balance, utxos}}, public: {SYMBOL: balance}}]}, or with pool {chain, pool, balance, symbol, utxos}.

blackpool_depositA

Shield public funds from the agent wallet into the private pool. Signs and pays gas from the agent wallet. Takes 30-90 s. Do not retry after a timeout without checking blackpool_balance.

blackpool_sendA

Pay any EVM address privately from the private balance. The relayer pays gas; the recipient receives amount minus the fee (flat + 0.35%). amount "max" sends the whole balance of the pool (or of every pool when pool is omitted), splitting across several sends when needed and leaving dust untouched. Takes 30-90 s per send. Never retry after a timeout without checking blackpool_balance.

blackpool_swapA

Private same-chain swap between the native pool and the stablecoin pool; output is re-shielded. If it stops half-way, run blackpool_recover.

blackpool_bridgeA

Private cross-chain transfer via NEAR Intents. from = origin private pool (base_eth, base_usdc, hood_eth, hood_usdg, arb_eth, arb_usdc, bsc_bnb, bsc_usdc, bsc_usdt); dest_asset from blackpool_assets; recipient is EVM 0x… or a Solana address for sol_*. Returns once submitted unless wait=true.

blackpool_bridgesA

Every bridge of this account with status (PENDING_DEPOSIT, PROCESSING, SUCCESS, REFUNDED, FAILED) and refund address.

blackpool_assetsA

List what the private bridge can deliver and which private pools can fund a bridge. Returns {assets: {KEY: {chain, symbol, decimals, isNative}}, origins: [...]} where origins are pool keys such as base_eth, hood_usdg or bsc_usdt. Use an assets KEY as dest_asset and an origins entry as from in blackpool_bridge. Read-only; needs no key and no gas.

blackpool_recoverA

Find the one-time burner wallets from earlier private swaps and bridges that still hold funds (for example after an interrupted swap) and sweep them to the agent wallet, or to the address in to. Idempotent and safe to run any time: empty burners are skipped and amounts too small to cover gas are reported as dust. Needs BLACKPOOL_KEY. Returns {recovered: [{chain, to, swept, dust, errors}]}.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
AGENTS.mdSetup, commands, JSON fields, limits, recipes, errors and security rules.

TDQS

A4/5.0

Scored across 9 tools

Disambiguation4/5

Each tool maps to a distinct operation: address, balance, assets, deposit, send, swap, bridge, bridges, recover. The only mild overlap is blackpool_bridge (single action) vs blackpool_bridges (listing history), which the plural/singular distinction makes reasonably clear.

Naming Consistency4/5

All tools use a consistent blackpool_ prefix with a short lowercase noun/verb (deposit, send, swap, bridge, balance, assets, recover, address). The one weak spot is the singular/plural pair bridge/bridges, which is subtle but still predictable.

Tool Count5/5

Nine tools is well scoped for a private-bridge wallet: one per lifecycle step (address, assets, balance, deposit, send, swap, bridge, bridge history, recover) with no filler tools.

Completeness4/5

The surface covers the full private-transfer lifecycle from funding the wallet through shielding, sending, swapping, bridging, and recovering stranded burner funds, plus read-only state via balance and assets. Minor gaps: no explicit withdrawal/unshield back to public, no bridge status lookup for a single bridge ID, and no key/configuration management.