Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENBOT_MCP_READONLYNoSet to `1` to register only read tools (`create_agent` stays, preview only). Default is off.
OPENBOT_AUTOMATION_DIRNoFolder with `url`/`token` files (e.g. a dev profile or the mock). Defaults to the per-OS OpenBot automation folder.
OPENBOT_MCP_WAIT_SECONDSNoTimeout for `wait=true` when none is given.300
OPENBOT_MCP_DISABLE_APPROVALSNoSet to `1` to disable `respond_approval`. Default is off.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Controls the user's OpenBot agents through OpenBot's Local scripts API. Only agents with Local scripts on are visible. Use list_agents first. send_message(wait=true) delegates a task and returns the answer, or the questions/approvals the agent waits on. Never accept an approval without showing the person the full request and getting an explicit yes.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
openbot_statusA

Check that OpenBot is running and reachable through the Local scripts API, and how many agents allow it. Use first when another tool reports OpenBot unreachable.

list_agentsA

List the OpenBot agents that allow Local scripts, with their routines (id, name, active). Agents without Local scripts on are invisible to this server.

get_deliveryA

Read one message delivery once (no waiting): status queued/starting/running/completed/failed/interrupted/cancelled, and the agent's answer once it ended. Does not count toward the hourly limit.

wait_for_deliveryA

Poll a delivery until the agent finishes, needs a person (question/approval/browser takeover — returned so you can answer), or the timeout passes. Use after send_message/run_routine with wait=false, or to resume a wait.

get_pendingA

List questions (prompts), approvals and browser takeovers that an agent is blocked on. Omit agent to check every agent. Items with requiresOpenBot must be handled in the OpenBot app.

send_messageA

Send a message to an OpenBot agent through its normal conversation queue. wait=true returns the agent's answer (or what it needs from a person); wait=false returns the deliveryId at once. Counts toward the agent's hourly limit (30 by default). Attachments are not supported.

send_to_agentsA

Send the same message to several agents at once (fan-out) and optionally wait for all of them. Each agent gets its own delivery; failures are reported per agent.

run_routineA

Start one of an agent's routines now (like Test run, also when paused), optionally with an event payload the agent reads as data. With waitId, wakes only that open wait (openbot.await_event); without it, wakes every matching open wait. No retry key: calling twice runs twice.

update_agent_settingsA

Change an agent's provider, model, reasoning effort and/or provider account (same as the model and account controls in OpenBot). model alone picks the provider that lists it; provider alone uses its default model. Provider/account changes wait until the agent is idle (409 while it works). Invalid model/effort gives 409 with the valid values.

clear_contextA

Same as New chat: the agent forgets the conversation and its next turn starts a fresh provider session. Instructions, model, tools, memories and workspace stay. 409 while the agent works or has queued messages — wait and retry.

answer_promptA

Answer a pending question from get_pending. answers maps question id → list of strings, e.g. {"build":["Debug"]}. For options:null questions send typed text; for the "choice" id send each picked label (without the " (…)" note). Expired requests give 409 — call get_pending again.

respond_approvalA

Accept or decline an approval from get_pending (e.g. a command the agent wants to run). ALWAYS show the person the full kind/command/cwd/reason/permissions and get their explicit decision before accepting. Does not change saved permissions. Owner-only approvals give 403 — the person must answer in OpenBot.

create_agentA

Compose and validate a new agent's profile the way OpenBot's Agent Designer does (one job → anti-jobs → voice → wake, description ≤ 2,000 chars), then ask an existing 'manager' agent to call openbot.create_agent with exactly those arguments. dryRun=true (default) only returns the description, the create_agent arguments, warnings and the message — nothing is sent. The Local scripts API cannot create agents itself; the new agent starts with Local scripts OFF. Read openbot://guides/create-agent for the rules.

Prompts

Interactive templates invoked by user choice

NameDescription
design_agentInterview the user briefly, draft a tight persona, preview it with create_agent dryRun, then create it.
delegatePick the best agent for a task, send it, and handle anything it asks for.
triage_pendingCollect all questions and approvals across agents and walk through them.

Resources

Contextual data attached and managed by the client

NameDescription
create-agent-guideFields, limits and the four-part persona structure OpenBot's Agent Designer uses.
agentsAgents with Local scripts on, and their routines.

TDQS

A4.1/5.0

Scored across 13 tools

Disambiguation4/5

Each tool targets a distinct action on agents, deliveries, or pending items, and the descriptions explicitly cross-reference each other (e.g. get_delivery vs wait_for_delivery, answer_prompt vs respond_approval). The only near-overlaps are send_message vs send_to_agents (single vs fan-out) and get_delivery vs wait_for_delivery (read-once vs poll), both of which are clearly disambiguated in text.

Naming Consistency4/5

The set follows a nearly uniform verb_noun snake_case convention (list_agents, get_delivery, send_message, run_routine, update_agent_settings). Minor deviations are openbot_status (a prefixed, noun-first health check) and clear_context (object-less verb), but both remain readable and predictable.

Tool Count5/5

Thirteen tools sit squarely in the well-scoped range and each maps to a real operation: health, agent listing, creation, messaging, routines, delivery polling, pending handling, settings, and context reset. No tool feels redundant or filler.

Completeness4/5

Core lifecycle is covered: discover agents, send messages/routines, poll deliveries, resolve blocked questions and approvals, adjust model/provider, and reset context. Gaps are minor but real — no way to cancel/interrupt a running delivery, stop an agent, or delete/disable agents (partly constrained by the Local scripts API).

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues