Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ask_aiA

Send a prompt or a conversation to an AI model through LightningProx (24 models: Claude, GPT, Gemini, DeepSeek, Mistral and more), paid in sats from your spend token. Returns the reply text, any tool_use blocks, the model used and your remaining balance. Without a spend token it returns a Lightning invoice (L402) for this exact request.

list_modelsA

List the models LightningProx currently serves: ID, provider, whether it supports tool use, and the per-token price when available.

check_balanceA

Check the balance (sats), expiry and status of the configured spend token (LIGHTNINGPROX_SPEND_TOKEN).

create_topupA

Create a Lightning invoice to buy a LightningProx spend token (10 to 100,000 sats). After paying it, call get_token with the returned charge_id. Tokens last 30 days.

get_tokenA

After paying a create_topup invoice, exchange its charge_id for the lnpx_ spend token. Safe to call again: it returns the same token.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a distinct role: listing models, running inference, checking balance, creating a top-up invoice, and exchanging a charge_id for a token. The only potentially adjacent pair (create_topup and get_token) is explicitly distinguished by the descriptions, which describe them as sequential steps in a payment flow.

Naming Consistency5/5

All five tools follow a consistent snake_case verb_noun pattern (ask_ai, list_models, check_balance, create_topup, get_token). The convention is predictable and readable throughout.

Tool Count5/5

Five tools is well-scoped for a pay-per-use AI proxy: each tool covers a necessary step in the discover-pay-query workflow. No tool feels redundant or missing from a count perspective.

Completeness4/5

The surface covers the full lifecycle: discover models, top up, obtain a token, ask a model, and check balance, with ask_ai accepting conversations and surfacing tool_use blocks. Minor gaps remain, such as no token revocation or usage/history inspection, but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessOutdated data