<tool_name> from Nebula”. No code required. The sections below document every tool’s parameters, behavior, spending-limit status, and an example chat prompt you can paste directly.
All 23 tools at a glance
| Tool | Category | Subject to spending limits? |
|---|---|---|
ping | Wallet | No |
help | Wallet | No |
get_address | Wallet | No |
check_balance | Wallet | No |
wallet_dashboard | Wallet | No |
request_funding | Wallet | No |
transfer_xlm | Transfers | Yes |
transfer_usdc | Transfers | Yes |
spending_report | Spending limits | No |
deploy_policy | On-chain policy | No |
get_policy_status | On-chain policy | No |
set_policy_limits | On-chain policy | No |
x402_fetch | x402 payments | Yes |
mpp_open_session | MPP sessions | Yes (budget) |
mpp_status | MPP sessions | No |
mpp_fetch | MPP sessions | Against session budget |
mpp_close_session | MPP sessions | No |
get_treasury_status | Treasury | No |
set_liquidity_threshold | Treasury | No |
optimize_treasury | Treasury | No |
blend_check_rates | Treasury | No |
register_identity | Agent identity | No |
get_my_reputation | Agent identity | No |
Wallet & dashboard
These six tools cover the core wallet lifecycle: connectivity checks, balance queries, and funding your agent.| Tool | Parameters | What it does | Limits? |
|---|---|---|---|
ping | — | Health check — confirms the Nebula MCP server is running and returns the current timestamp. | No |
help | category? (string) | Full feature guide for all tools by category, environment variables, quick-start prompts, and your current config status. | No |
get_address | — | Returns the wallet public key (G...) for the configured STELLAR_SECRET_KEY. | No |
check_balance | — | Returns XLM and USDC balances for the wallet on the configured network. | No |
wallet_dashboard | — | Renders an interactive in-chat UI (MCP Apps) showing balances, spending limits, treasury status, active MPP session, and 8004 identity. | No |
request_funding | — | Returns a Friendbot link on testnet, or manual funding instructions on mainnet. | No |
help parameter details
Filter the guide to one topic. Accepted values:
wallet, transfers, limits, policy, x402, mpp, treasury, identity.Transfers
Send XLM or USDC to any Stellar address. Both tools are checked against your spending limits before the transaction signs.| Tool | Parameters | What it does | Limits? |
|---|---|---|---|
transfer_xlm | destination (string), amount (string) | Sends XLM to a Stellar address on the configured network. | Yes |
transfer_usdc | destination (string), amount (string) | Sends USDC to a Stellar address. Requires a USDC trustline on the destination account. | Yes |
transfer_xlm / transfer_usdc parameter details
Recipient Stellar public address starting with
G.Amount to send as a decimal string, e.g.
"1.5" for XLM or "0.50" for USDC.Spending limits
spending_report
spending_report
| Tool | Parameters | What it does | Limits? |
|---|---|---|---|
spending_report | — | Returns the per-call cap, daily cap, amount spent in the rolling 24-hour window, any active MPP session reserved amount, and remaining budget. When POLICY_CONTRACT_ID is set, reads the on-chain policy instead of the off-chain env vars. | No |
spending_report any time you want to know how much budget your agent has consumed and what headroom remains.Example promptOn-chain policy (Soroban)
Deploy a Soroban smart contract to enforce spending limits at the blockchain level. Once aPOLICY_CONTRACT_ID is set, it overrides the off-chain MAX_PER_CALL and MAX_PER_DAY environment variables and creates an immutable on-chain audit trail.
| Tool | Parameters | What it does | Limits? |
|---|---|---|---|
deploy_policy | max_per_call? (string), max_per_day? (string) | Deploys and initializes a new nebula-policy Soroban contract using the bundled WASM. Returns the POLICY_CONTRACT_ID to add to your MCP env. | No |
get_policy_status | — | Reads the on-chain limits and rolling-window usage from the policy contract. Requires POLICY_CONTRACT_ID to be set. | No |
set_policy_limits | max_per_call (string), max_per_day (string) | Updates per-call and daily caps on the existing policy contract (owner only, no redeploy needed). | No |
deploy_policy parameter details
Initial per-call spending limit. Defaults to the
MAX_PER_CALL environment variable if omitted.Initial rolling 24-hour spending limit. Defaults to the
MAX_PER_DAY environment variable if omitted.set_policy_limits parameter details
New per-call limit in XLM/USDC units, e.g.
"10".New rolling 24-hour daily limit, e.g.
"50".After running
deploy_policy, copy the returned contract ID into your MCP config as POLICY_CONTRACT_ID. From that point on, MAX_PER_CALL and MAX_PER_DAY env vars are ignored for enforcement.x402 payments
Your agent can autonomously pay for HTTP APIs that return a402 Payment Required response with USDC via the x402 protocol — no human intervention needed.
| Tool | Parameters | What it does | Limits? |
|---|---|---|---|
x402_fetch | url (string) | GETs a URL. On HTTP 402, parses the payment terms, pays USDC automatically, and retries the request with the payment header. Subject to spending limits. | Yes |
x402_fetch parameter details
The URL to fetch. Must be a valid HTTP or HTTPS URL. The tool handles the full request → 402 → pay → retry flow automatically.
MPP sessions (streaming / high-frequency)
MPP (Micro-Payment Protocol) sessions let your agent make many micro-payments with a single on-chain deposit, settling everything in one final transaction. This is ideal for high-frequency API calls where per-request on-chain transactions would be too slow or expensive. Typical flow:mpp_open_session → mpp_fetch (repeat as needed) → mpp_close_session
| Tool | Parameters | What it does | Limits? |
|---|---|---|---|
mpp_open_session | budget (string), recipient? (string) | Deploys a one-way payment channel Soroban contract and deposits the session budget on-chain. The budget counts against spending limits. | Yes (budget) |
mpp_status | — | Returns the active session’s channel address, total budget, committed spend so far, and remaining balance. | No |
mpp_fetch | url (string) | Fetches an MPP-gated URL using off-chain signed commitments — no per-request on-chain transaction. Rejects payments that would exceed session budget. | Against session budget |
mpp_close_session | — | Settles the session on-chain: pays the accumulated committed amount to the recipient and refunds any unused deposit. | No |
mpp_open_session parameter details
Total session budget in USDC, e.g.
"1.0". This amount is deposited on-chain immediately and counted against MAX_PER_CALL and MAX_PER_DAY.Recipient Stellar public address (
G...) for channel payouts. Defaults to the MPP_RECIPIENT environment variable.mpp_fetch parameter details
MPP channel-gated URL to fetch. Payments are made via off-chain cumulative commitments — no on-chain transaction per call.
Only one MPP session can be active at a time. Call
mpp_close_session before opening a new one.Treasury & yield (Blend)
Nebula’s background rebalancer automatically moves idle funds into Blend lending pools to earn yield, withdrawing when your liquid balance drops below a threshold. The tools below let you inspect and control that process.| Tool | Parameters | What it does | Limits? |
|---|---|---|---|
get_treasury_status | — | Shows liquid balance, Blend deposit amount, supply APY, liquidity threshold, rebalance interval, and last rebalance details. | No |
set_liquidity_threshold | threshold (string) | Sets the minimum liquid balance. Funds above this threshold are auto-deposited to Blend on the next rebalance cycle. | No |
optimize_treasury | — | Triggers a single rebalance immediately (deposit excess or withdraw to threshold), without waiting for the next automatic cycle. | No |
blend_check_rates | — | Returns the current Blend supply APY rates on testnet (read-only, no transaction). | No |
set_liquidity_threshold parameter details
Minimum liquid balance to keep on hand, e.g.
"10" for 10 XLM. Funds above this level are eligible for Blend deposit.Treasury rebalancing is not subject to agent spending limits.
TREASURY_MAX_PER_REBALANCE is a separate cap that limits how much the rebalancer can move in a single transaction.Agent identity (Stellar8004)
Register your agent on-chain with a unique identity NFT and track its reputation across clients.| Tool | Parameters | What it does | Limits? |
|---|---|---|---|
register_identity | — | Mints an ERC-8004 agent NFT for this wallet using the Stellar8004 contracts. Idempotent — safe to call even if already registered. | No |
get_my_reputation | — | Returns this agent’s feedback count, average score, and number of unique clients from the on-chain reputation registry. | No |