Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NETWORKNoTarget EVM network. Allowed values are 'base' or 'base-sepolia'.base-sepolia
RPC_URLNoCustom EVM JSON-RPC endpoint URL.Base public RPC
PRIVATE_KEYNoA 32-byte hex private key for the wallet. If omitted, a disposable ephemeral key is generated on launch.
DATABASE_PATHNoPath to the persistent SQLite audit store.~/.x402firewall/audit.db
MAX_DAILY_USDCNoRolling 24-hour cumulative USDC spend ceiling.5.00
ALLOWED_DOMAINSNoComma-separated domain patterns allowed for outbound requests, e.g. '*.weather.com,api.ai'.
MAX_HOURLY_USDCNoRolling 60-minute cumulative USDC spend ceiling.1.00
ALERT_WEBHOOK_URLNoWebhook endpoint URL for security incident dispatch.
ALLOWED_CONTRACTSNoComma-separated EVM contract addresses allowed for transactions.
MAX_PER_CALL_USDCNoMaximum USDC spend allowed per individual request.0.05
BLOCK_UNLIMITED_APPROVALSNoWhen true, restricts ERC-20 approve calldata to the configured maxPerCallUsdc.true

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
x402_fetchB

Safely fetch free or x402-paid HTTP endpoints with deterministic spending caps and automatic EIP-3009 payment authorization on Base L2.

x402_get_budgetA

Inspect current x402 spending limits, rolling hourly and daily spends, and remaining USDC allowances on Base L2.

x402_safe_txB

Simulate and execute an allowlisted EVM transaction on Base L2. Verifies against spending caps, blocks dangerous selectors (unlimited approvals, drainers), and checks contract allowlists before signing.

x402_audit_logA

Inspect recent permitted and blocked transactions/payments in the local SQLite audit log.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 4 tools

Disambiguation5/5

Each tool maps to a clearly distinct action: HTTP fetching, budget inspection, EVM transaction execution, and audit inspection. Although x402_fetch and x402_safe_tx both involve spending controls, their resources and outcomes are clearly separated.

Naming Consistency4/5

All tools share the consistent x402_ prefix and use readable snake_case, but the verb pattern is slightly mixed: x402_fetch and x402_get_budget are verb-led, while x402_safe_tx and x402_audit_log are noun/adjective-led. The deviation is minor and still predictable.

Tool Count5/5

Four tools is well-scoped for a focused firewall/payment-safety server. Each tool covers a distinct core capability without obvious padding or triviality.

Completeness4/5

The surface covers the main lifecycle: safe fetching, budget visibility, safe transaction execution, and audit review. Minor gaps exist around managing or updating spending caps and allowlists, but core firewall workflows are represented.

Maintenance

ActivityMaintained
ResponsivenessNo issues