Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPEN_DELEGATE_ODE_MODELSNoCSV list of model identifiers that should always use open-delegate (force routing)
OPEN_DELEGATE_DENY_MODELSNoCSV list of denied model identifiers
OPEN_DELEGATE_ALLOW_MODELSNoCSV list of allowed model identifiers
OPEN_DELEGATE_OPENCODE_BINNoFull path to the opencode CLI binary if not on PATH
OPEN_DELEGATE_DEFAULT_MODELNoDefault model identifier for opencode sessions (e.g., opencode/deepseek-v4-flash-free)
OPEN_DELEGATE_ODE_MODELS_FILENoPath to a JSON array or CSV file listing models for force routing
OPEN_DELEGATE_OPENCODE_CONFIG_CONTENTNoFull OpenCode configuration blob (advanced usage)

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
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ode_delegateA

Starts a new OpenCode agent session to work on prompt (or promptPath) in the background and returns a sessionId - typically with status "running" once the underlying opencode server is warm, or "starting" if it just had to cold-spawn (never blocks past a few seconds either way, unless waitMs is set). Pass sessionId to resume a finished session with a follow-up prompt. Follow up with ode_await (block until done or timeout; timeoutMs: 0 = single check).

Model policy (cost-first):

  • default (when model omitted): opencode/deepseek-v4-flash-free

  • ODE_MODELS force-routing catalog: opencode/deepseek-v4-flash-free, opencode/nemotron-3-ultra-free, opencode/mimo-v2.5-free, opencode/laguna-s-2.1-free, … (13 total)

  • allow list: openrouter/, opencode/ (default)

ode_awaitA

Blocks (up to a clamped timeout) until the session started by ode_delegate finishes, then returns its final status (plus a capped answer when text is available). While still running, may include currentActivity (e.g. tool:bash … or thinking). Pass timeoutMs: 0 for a single non-blocking status check. Returns status:"running"/"starting" if the timeout elapses first — call again to keep waiting.

ode_transcriptA

Fetches the conversation so far for a session started by ode_delegate, without waiting for it to finish.

ode_cancelA

Aborts an in-progress session started by ode_delegate. A no-op (still returns ok) if it already finished.

ode_diagnosticsA

Read-only snapshot of the open-delegate MCP bridge itself (not a specific session): its own pid/version/log paths, every live opencode runtime with its own pid/url/log path, recent internal events, and session counts by status. Use this to diagnose host-side "Connection stopped" / "Timed out waiting for connection" errors, or to find which opencode process/log backs a given runtimeKey.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 5 tools

Disambiguation5/5

Each of the five tools has a clearly distinct purpose: starting a session, waiting for completion, fetching transcript, canceling, and diagnostics. There is no overlap or ambiguity.

Naming Consistency4/5

All tools share the 'ode_' prefix and mostly use imperative verbs (delegate, await, cancel), but 'transcript' is a noun, breaking the pattern slightly. Overall consistent.

Tool Count5/5

Five tools are well-scoped for managing agent sessions: start, wait, fetch transcript, cancel, and diagnostics. Neither too few nor too many.

Completeness4/5

The set covers core session lifecycle (start, wait, cancel, transcript), but lacks a tool to list session IDs explicitly. Diagnostics provides session counts but not individual IDs, a minor gap.

Maintenance

ActivityStale
ResponsivenessNo issues