Skip to content

Commit a1c9742

Browse files
homeofeclaude
andcommitted
fix: update mcp_help routing guide to list all 34 tools
Added missing tools: home_automation, cron_create/edit/delete/history, openclaw_notify/logs/status/plugins, file_transfer, local_llm_models, llama_server, prompt_split_execute, system_status. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 58962f0 commit a1c9742

File tree

2 files changed

+41
-8
lines changed

2 files changed

+41
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elvatis_com/elvatis-mcp",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "MCP server for OpenClaw — expose smart home, memory, cron, and more to Claude Desktop, Cursor, Windsurf, and any MCP client",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/tools/routing-rules.ts

Lines changed: 40 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export const KNOWN_AGENTS = new Set([
174174
]);
175175

176176
export const ROUTING_GUIDE = `
177-
# elvatis-mcp: Sub-Agent Routing Guide
177+
# elvatis-mcp: Sub-Agent Routing Guide (34 tools)
178178
179179
## Sub-Agents (spawn a separate AI to handle a task)
180180
@@ -186,7 +186,7 @@ export const ROUTING_GUIDE = `
186186
| \`codex_run\` | OpenAI Codex | OpenAI login (cached) | Coding, debugging, refactoring, file editing, shell scripting |
187187
| \`local_llm_run\` | Local LLM (Ollama/LM Studio/llama.cpp) | None | Free, private, fast for simple tasks (classify, format, extract, rewrite) |
188188
189-
## Home Automation Tools (direct Home Assistant calls)
189+
## Home Automation (direct Home Assistant calls)
190190
191191
| Tool | What it does |
192192
|------|-------------|
@@ -196,28 +196,58 @@ export const ROUTING_GUIDE = `
196196
| \`home_vacuum\` | Start, stop, or dock the robot vacuum |
197197
| \`home_sensors\` | Read all temp/humidity/CO2 sensors |
198198
| \`home_get_state\` | Read any Home Assistant entity |
199+
| \`home_automation\` | List, trigger, enable, or disable HA automations |
199200
200-
## Memory Tools (OpenClaw server)
201+
## Memory (OpenClaw server via SSH)
201202
202203
| Tool | What it does |
203204
|------|-------------|
204205
| \`openclaw_memory_write\` | Write a note to today's log |
205206
| \`openclaw_memory_read_today\` | Read today's memory log |
206207
| \`openclaw_memory_search\` | Search memory across past N days |
207208
208-
## Cron Tools (OpenClaw server)
209+
## Cron (OpenClaw server via SSH)
209210
210211
| Tool | What it does |
211212
|------|-------------|
212213
| \`openclaw_cron_list\` | List all scheduled cron jobs |
213214
| \`openclaw_cron_run\` | Trigger a job immediately |
214215
| \`openclaw_cron_status\` | Get scheduler status and recent runs |
216+
| \`openclaw_cron_create\` | Create a new cron job (cron expr, interval, or one-shot) |
217+
| \`openclaw_cron_edit\` | Edit an existing cron job |
218+
| \`openclaw_cron_delete\` | Delete a cron job by ID |
219+
| \`openclaw_cron_history\` | View execution history for cron jobs |
215220
216-
## Prompt Splitting
221+
## OpenClaw Server
217222
218223
| Tool | What it does |
219224
|------|-------------|
220-
| \`prompt_split\` | Analyze a complex prompt and split into sub-tasks with agent assignments |
225+
| \`openclaw_status\` | Check if the OpenClaw daemon is running |
226+
| \`openclaw_plugins\` | List installed OpenClaw plugins |
227+
| \`openclaw_notify\` | Send notifications via WhatsApp or Telegram |
228+
| \`openclaw_logs\` | Tail OpenClaw server logs with optional filtering |
229+
| \`file_transfer\` | Upload/download files to/from OpenClaw server via SCP |
230+
231+
## Local LLM Management
232+
233+
| Tool | What it does |
234+
|------|-------------|
235+
| \`local_llm_models\` | List, load, or unload models on the local LLM server |
236+
| \`llama_server\` | Start/stop a llama.cpp inference server |
237+
238+
## Orchestration and Routing
239+
240+
| Tool | What it does |
241+
|------|-------------|
242+
| \`mcp_help\` | This guide. Optionally provide a task for routing recommendations |
243+
| \`prompt_split\` | Analyze a complex prompt, split into sub-tasks with agent assignments |
244+
| \`prompt_split_execute\` | Execute a split plan: dispatches to agents in dependency order with rate limiting |
245+
246+
## System
247+
248+
| Tool | What it does |
249+
|------|-------------|
250+
| \`system_status\` | Check health of all services (HA, SSH, LLM, Gemini, Codex) with latency |
221251
222252
## Decision Guide
223253
@@ -227,6 +257,9 @@ export const ROUTING_GUIDE = `
227257
- **Simple formatting, extraction, classification** -> \`local_llm_run\`
228258
- **Smart home control** -> appropriate \`home_*\` tool (no sub-agent needed)
229259
- **Cross-check / second opinion** -> run both \`gemini_run\` and compare
230-
- **Complex multi-step task** -> \`prompt_split\` first, then execute the plan
260+
- **Complex multi-step task** -> \`prompt_split\` first, review, then \`prompt_split_execute\`
231261
- **Coding task that also needs context** -> \`codex_run\` first, then \`gemini_run\` to review
262+
- **Send results to user** -> \`openclaw_notify\` (WhatsApp/Telegram)
263+
- **Schedule a recurring task** -> \`openclaw_cron_create\`
264+
- **Check system health** -> \`system_status\`
232265
`.trim();

0 commit comments

Comments
 (0)