Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BASE_RPC_URLNoBase RPC URL for treasury operations.
PAYMENTS_MODENoPayment mode: off, development, or production. Production refuses to start unless set to production.off
TREASURY_MODENoTreasury mode: disabled, quote, or live.disabled
ZEROX_API_KEYNo0x API key for treasury swaps.
CDP_API_KEY_IDNoCDP API key ID for x402 payments.
VENICE_API_KEYYesYour Venice API key for server-side access.
TREASURY_ADDRESSNoDedicated EVM address for treasury payments.
VENICE_ASR_MODELNoVenice model for speech recognition.openai/whisper-large-v3
VENICE_TTS_MODELNoVenice model for text-to-speech.tts-kokoro
TREASURY_LIVE_ACKNoAcknowledgment string required for live treasury mode.
VENICE_TEXT_MODELNoVenice model for text generation.venice-uncensored-1-2
CDP_API_KEY_SECRETNoCDP API key secret for x402 payments.
VENICE_IMAGE_MODELNoVenice model for image generation.venice-sd35
VENICE_DIEM_EPOCH_CAPNoDIEM epoch consumption cap as published in service discovery.1.69
TREASURY_MAX_SWAP_USDCNoMaximum treasury swap amount in USDC.25
TREASURY_MIN_SWAP_USDCNoMinimum treasury swap amount in USDC.5
TREASURY_USDC_HOLDBACKNoUSDC holdback amount.0
TREASURY_MIN_ETH_RESERVENoMinimum ETH gas reserve.0.0005
TREASURY_MAX_SLIPPAGE_BPSNoMaximum slippage in basis points.100

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": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_diem_workersA

List bounded x402-paid workers, exact USDC prices, schemas, limits, and endpoints. This tool is free.

quote_diem_workerA

Return a free exact-price x402 USDC quote for one worker.

prepare_diem_worker_callA

Validate worker selection and return the exact HTTP request shape. Execute it with an x402-capable client or through the CDP Bazaar MCP server; this server never receives wallet private keys.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
diem-worker-catalogLive DIEM Agent Workers catalog

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/coastmancoastman/diem-agent-workers'

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