Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NANO_PAYMENT_MASTER_SECRETYesMaster secret used to derive one-time payment addresses per request.

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_addressA

Return the one-time Nano payment address for request_id (or mint a fresh).

get_balanceA

Return the raw balance of a nano_ account via rpc.nano.to.

get_historyB

Return the last count on-chain entries for a nano_ account.

quoteA

Price a call in Nano. Returns {request_id, address, price_raw, price_nano} where address is the ONE-TIME payment address for this request. Send the exact amount there, then call verify_payment(request_id, amount_raw).

quote_usdA

Price a call in dollars. Converts the USD price to the exact XNO amount via the MEDIAN of three independent public price sources and returns {request_id, address, price_raw, price_usd, rate_xno_usd, expires_at}. The quote expires in <=30s; pay the exact price_raw to address before that, then call verify_payment(request_id, price_raw). This is pure computation — nothing is held or converted.

verify_paymentA

Service side: approve the call for request_id once an on-chain send of at least amount_raw is confirmed to its one-time address. Approves exactly once; a repeat returns status='spent'.

amount_raw can only make the check STRICTER: the amount actually required is the higher of it and what this server quoted for request_id.

There is deliberately no require_onchain argument here. The service method takes one so in-process tests can run without a node, but over the tool surface the caller is the payer, and a payer that can pass require_onchain=false is approved with tx_hash "simulated" without any payment at all.

pay_and_callC

Agent side: given a quoted request_id, pay its one-time address and call tool after verify. NOTE: broadcast is not executed here in tests (no funded wallet); this returns the target so a host calling the server can send via the SDK wallet (Wallet.send) then verify.

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 7 tools

Disambiguation3/5

The quote/quote_usd pair and get_address partially overlap: quote already returns the one-time address, and both quote tools initiate the same request_id lifecycle, so an agent must read descriptions to pick correctly. pay_and_call also overlaps with the explicit quote → pay → verify_payment flow, though the 'Agent side' vs 'Service side' framing in descriptions helps disambiguate. verify_payment, get_balance, and get_history are clearly distinct.

Naming Consistency4/5

Six of seven tools follow a verb_noun or verb_object pattern (verify_payment, get_address, get_balance, get_history, pay_and_call, quote_usd). The lone bare 'quote' and the noun-like quote_usd break the pattern slightly, but overall the set is predictable and readable.

Tool Count5/5

Seven tools is well-scoped for a Nano payment-gating server: quoting, address issuance, payment verification, an agent-side convenience wrapper, and two account-inspection utilities. No tool feels gratuitous given the two-sided (payer/service) design.

Completeness4/5

Core lifecycle is covered: quote (XNO and USD) → get address → pay → verify, plus balance/history reads, and verify_payment doubles as a status check since repeats return status='spent'. Minor gaps remain—no explicit quote-status/inspection tool that doesn't consume the request, no cancel/expiry reconciliation, and pay_and_call is stubbed without broadcast—but agents can work around these.

Maintenance

ActivityActive
ResponsivenessNo recent community issues