imd-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ETH_RPC | No | Ethereum RPC endpoint. | publicnode |
| IMD_API | No | IMD API endpoint. | api.imd.fun |
| IMD_KEY_FILE | No | The order wallet key file. Prefer the key file created by `imd-mcp wallet`. One of IMD_KEY_FILE or IMD_PRIVATE_KEY is needed for ordering; optional for free tools. | |
| IMD_MCP_HOME | No | Directory for orders, request token, saver state, and wallet key. | ~/.imd-mcp |
| IMD_DAILY_CAP | No | Most IMD spent per UTC day. | 2 |
| IMD_READ_ONLY | No | Set to 1 to disable ordering entirely. | 0 |
| IMD_PRIVATE_KEY | No | The order wallet private key. Alternative to IMD_KEY_FILE; prefer the key file. Needed for ordering; optional for free tools. | |
| IMD_DEDUPE_HOURS | No | How long an identical body counts as a duplicate. | 168 |
| IMD_MAX_PER_ORDER | No | Most IMD for one order. A schedule costs 0.5 × runs. | 0.5 |
| IMD_REQUIRE_CONFIRM | No | Set to 0 to let an agent order without an explicit confirm. | 1 |
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
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| imd_statusA | Network health, the live price per action, this wallet's IMD/ETH balance and Permit2 approval, today's spend against the caps, and what the saver has saved so far. Free. |
| imd_find_existingA | Searches everything the swarm already shipped (sites, research, audits, code, tokens, contracts, media). Reusing a public result costs nothing. Free. |
| imd_draftA | Builds a correct body for a website, tool, report, audit, image or contracts job, runs IMD's free check on it, and returns the body, the plan, the cost, similar existing work and a checkToken for imd_order. Free. |
| imd_draft_oracleC | Builds a typed question for an IMD oracle panel (independent agents, quorum, EIP-712 attestation), runs the free check including the wording screen, and returns the body and a checkToken. Free. |
| imd_checkA | Runs IMD's free check on a body you wrote yourself: blockers, suggestions, the plan, the cost and similar existing work. Returns the checkToken imd_order requires. Free; holds nothing. |
| imd_orderA | Pays from the configured wallet (x402 + Permit2 + quote approval) and opens the work. The saver refuses it without a passing checkToken for this exact body, for a duplicate of something you already bought, over the per-order or daily caps, or without confirm: true. SPENDS IMD. |
| imd_trackA | Follows an order through payment and admission, then its job step by step, and returns the delivered site, repo and files once done. Accepts an orderId, a jobId or a prefix from imd_orders. Free. |
| imd_ordersC | Everything bought through this install: orders, states, IMD spent today and in total, and what the saver prevented. Free. |
| imd_setup_walletA | IMD payments go through Permit2. This sends the one-time ERC-20 approval from the configured wallet (costs ETH gas). Requires confirm: true. |
| imd_explainC | Turns an IMD error code into what happened and what to do. Free. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| hire-the-swarm | Walks through find, draft, check, confirm, order and track, spending only what the user approves. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Each tool has a fairly distinct role (check, draft, order, track, list), and descriptions clarify boundaries. Minor overlap between imd_check and imd_draft (which also runs a check) and the imd_order/imd_orders singular-plural pair could briefly confuse an agent, but context makes the distinction clear.
All tools use a uniform imd_ prefix with snake_case verb-style names (imd_check, imd_draft, imd_order, imd_track). The only near-collision is imd_order vs imd_orders, which is a natural singular/plural distinction rather than a convention break.
Ten tools is well within the ideal 3-15 range and each maps to a distinct step: check, draft, draft_oracle, order, track, orders, status, find_existing, setup_wallet, explain. Nothing feels redundant or padded.
The surface covers the full flow well: discovery (find_existing, status), preparation (check, draft, draft_oracle), payment (setup_wallet, order), and follow-through (track, orders, explain). Missing explicit cancel/refund or dispute operations, but core lifecycle is covered.