Skip to main content
Glama
schmosbyy
by schmosbyy

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TRANSPORTNoTransport mode: stdio or http (default stdio).stdio
BRIDGE_TOKENNoAuth token for remote Claude.ai connections (HTTP mode).
OPENCLAW_URLNoGateway URL (default http://127.0.0.1:18789)http://127.0.0.1:18789
OPENCLAW_TIMEOUT_MSNoHTTP timeout in milliseconds (default 660000).660000
OPENCLAW_HOOK_SECRETYesWebhook secret for /hooks/agent (async dispatch).
OPENCLAW_GATEWAY_TOKENYesGateway bearer token from openclaw.json (gateway.auth.token). Hex format.

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
agent_dispatchA

Send a task or message to an OpenClaw agent. Three modes:

  • "async" (default): fire-and-forget via webhook. Returns immediately with accepted status. Supports delivery to Telegram.

  • "sync": wait for agent reply via chat completions. Blocks until response.

  • "spawn": tracked sub-agent delegation via /sessions_spawn. Returns runId + childSessionKey for observation. Routes to Tani (main), Alan (coding), or Rachel (rachel). Only call when the user has explicitly requested execution.

agent_queryA

Multi-view agent observation. Consolidates health checks, session listings, activity monitoring, and log access into a single tool.

  • "health": gateway reachability (~38ms)

  • "sessions": all agent sessions with metadata from sessions.json + JSONL

  • "actions": active processes, recently-modified sessions, recent tool calls, log tail

  • "logs": gateway/command/heartbeat log scenarios

  • "history": JSONL transcript read for a specific session

agent_controlA

Control running agent sessions: abort stuck agents, steer them in a new direction, compact their context, or reset them. Uses the gateway /tools/invoke API. If the gateway does not support a given action, returns a clear error with CLI fallback instructions.

openclaw_cliA

OpenClaw CLI operations: read/write config, run doctor, check version, restart instructions.

  • "config_get": reads openclaw.json directly from filesystem (~16ms, no CLI overhead). Supports dot-paths like "agents.list[0].model".

  • "config_set": writes via CLI over SSH (slower but safe — CLI handles validation and env var resolution).

  • "doctor": runs openclaw doctor via SSH.

  • "version": returns the installed OpenClaw version.

  • "restart": returns manual restart instructions (gateway cannot be restarted remotely).

file_readA

Read an entire file or a specific line range. Content comes back through JSON — no shell, no escaping issues. Use start_line / end_line for large files. Output is capped at 2000 lines.

file_writeA

Create or overwrite a file with the given content. Content goes through JSON parameters — never a shell — so there are no escaping or newline-stripping issues. Automatically creates parent directories if they do not exist. Use this for new files and full rewrites. For targeted edits to existing files, use file_edit instead.

file_editA

Replace a unique string in a file with another string. old_str must match the raw file content exactly and appear exactly once. Use this instead of shell-based sed/python for all file edits — content goes through JSON parameters, never a shell, so there are no escaping issues.

file_searchA

Search for a literal string pattern in a file or recursively in a directory. Returns structured hits with surrounding context lines. Case-insensitive. Replaces grep -n. For regex searches, use shell_exec.

shell_execA

Execute arbitrary shell commands on the Termux device. Useful for direct filesystem inspection and diagnostics. Only call when the user has explicitly requested execution, or when diagnostics are clearly required for the task at hand. Do not use for speculative exploration or as a default first step.

system_healthA

Snapshot of Termux device health: RAM, CPU load, disk space, OpenClaw version, gateway reachability, and active OpenClaw/node processes. Fast and read-only — safe to call any time.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/schmosbyy/openclaw-mcp-termux'

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