Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APV0_NETWORKNoNetwork and asset facts; e.g., base-sepolia
APV0_OPENROUTER_KEYNoOpenRouter API key for real inference (optional)
APV0_SELLER_ADDRESSNoSeller address that receives payments
APV0_FACILITATOR_URLNoURL of the x402 facilitator (e.g., https://x402.org/facilitator)
APV0_BUYER_PRIVATE_KEYNoBuyer testnet private key (signs EIP-3009)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
discover_payment_railsA

Probe a paid endpoint and report which payment rails it accepts + the price for each — WITHOUT paying.

The neutral rail-discovery layer: one call tells your agent every way it could pay this endpoint, across whatever rails the endpoint offers. Use this before pay_for_resource to see the price/rails.

pay_for_resourceA

Pay for and fetch a paywalled resource, returning its content + a settlement receipt.

Routes the payment through the rail the endpoint accepts; never pays more than max_price_usdc. Uses the caller's OWN wallet key from APV0_BUYER_PRIVATE_KEY (non-custodial — this server never holds or sees funds). task is appended as a query param for endpoints that take one.

list_known_railsA

List EVERY agent-payment rail/protocol Interline knows about + how it relates to each — the neutral catalog.

Separates rails Interline SETTLES natively (route_mode=native-settle: x402, AP2-via-adapter) from protocols it ROUTES you TO but does not settle (route_mode=handoff: Virtuals ACP's own on-chain escrow, OpenAI/Stripe ACP's card-only delegated payment). One call = the whole agent-payment landscape, including the rails we don't move funds on. Pair with discover_payment_rails (what a specific endpoint accepts).

payment_historyC

Return the most recent cross-rail settlement receipts — the unified ledger across every rail paid through.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Choppaaahh/interline-routes'

If you have feedback or need assistance with the MCP directory API, please join our Discord server