DIEM Agent Workers
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BASE_RPC_URL | No | Base RPC URL for treasury operations. | |
| PAYMENTS_MODE | No | Payment mode: off, development, or production. Production refuses to start unless set to production. | off |
| TREASURY_MODE | No | Treasury mode: disabled, quote, or live. | disabled |
| ZEROX_API_KEY | No | 0x API key for treasury swaps. | |
| CDP_API_KEY_ID | No | CDP API key ID for x402 payments. | |
| VENICE_API_KEY | Yes | Your Venice API key for server-side access. | |
| TREASURY_ADDRESS | No | Dedicated EVM address for treasury payments. | |
| VENICE_ASR_MODEL | No | Venice model for speech recognition. | openai/whisper-large-v3 |
| VENICE_TTS_MODEL | No | Venice model for text-to-speech. | tts-kokoro |
| TREASURY_LIVE_ACK | No | Acknowledgment string required for live treasury mode. | |
| VENICE_TEXT_MODEL | No | Venice model for text generation. | venice-uncensored-1-2 |
| CDP_API_KEY_SECRET | No | CDP API key secret for x402 payments. | |
| VENICE_IMAGE_MODEL | No | Venice model for image generation. | venice-sd35 |
| VENICE_DIEM_EPOCH_CAP | No | DIEM epoch consumption cap as published in service discovery. | 1.69 |
| TREASURY_MAX_SWAP_USDC | No | Maximum treasury swap amount in USDC. | 25 |
| TREASURY_MIN_SWAP_USDC | No | Minimum treasury swap amount in USDC. | 5 |
| TREASURY_USDC_HOLDBACK | No | USDC holdback amount. | 0 |
| TREASURY_MIN_ETH_RESERVE | No | Minimum ETH gas reserve. | 0.0005 |
| TREASURY_MAX_SLIPPAGE_BPS | No | Maximum 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| diem-worker-catalog | Live DIEM Agent Workers catalog |
TDQS
Scored across 3 tools
Tools are mostly distinct: list_diem_workers enumerates all workers with prices, quote_diem_worker gives a specific quote for one worker, and prepare_diem_worker_call constructs the HTTP request. However, the overlap between list (which already provides exact prices) and quote could potentially confuse an agent about which to use for pricing.
All tool names follow a consistent verb_noun pattern: list_diem_workers, quote_diem_worker, and prepare_diem_worker_call. The naming is predictable and clearly indicates the action performed on the worker resource.
With only 3 tools, the server is tightly scoped to its purpose: discovering workers, getting a quote, and preparing a call. Each tool is essential and there is no bloat or unnecessary redundancy.
The tool set covers the full workflow from listing workers to preparing a call for execution. The actual execution is intentionally delegated to an external x402-capable client or CDP Bazaar MCP server, so no dead ends or missing steps for the server's stated purpose.