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 |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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