Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLAUDE_MODELNoReal backend model used by the gateway.
SANDBOX_ROOTYesRoot directory allowed for worker jobs and analyze file reads.
DIFF_MAX_BYTESNoMaximum returned diff size.
ONEAPI_API_KEYNoPrimary gateway key for OneAPI.
ANTHROPIC_MODELNoReal backend model used by the gateway (alternative).
ONEAPI_BASE_URLNoPrimary gateway URL (OneAPI).
WAIT_DEFAULT_MSNoDefault wait time in milliseconds for job completion.
FALLBACK_API_KEYNoOptional fallback gateway key.
WORKER_ISOLATIONNoSet to 'worktree' for per-job git worktree isolation.
ANTHROPIC_API_KEYNoPrimary gateway key for Anthropic.
CLAUDE_CODE_MODELNoModel name passed to Claude Code for local validation, usually 'sonnet'.
FALLBACK_BASE_URLNoOptional fallback gateway URL.
ANTHROPIC_BASE_URLNoPrimary gateway URL (Anthropic).
USE_OPENAI_ADAPTERNoSet to '1' to use the local Anthropic-to-OpenAI adapter.
WORKER_METRICS_FILENoOptional JSONL path for token usage metrics.
WORKER_ESCALATE_MODELNoOptional stronger model for hard revise passes.
ALLOW_BYPASS_PERMISSIONSNoSet to '1' to allow bypassPermissions (not recommended).

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
startC

Start an asynchronous Claude Code job inside SANDBOX_ROOT. A deterministic Mythos-style reasoning layer verifies the result (checks, scope, exit, calibration) and can auto-revise on concrete failures.

getC

Get job status and structured result

get_artifact_sliceB

Read a bounded redacted slice from a worker artifact returned by a receipt. Artifact refs are opaque and local to this worker process.

tailC

Read the latest job log lines

waitB

Wait for a job to finish with a timeout. Timeout returns without killing the worker.

cancelB

Cancel a running job and kill its process tree

analyzeA

Read-only analysis: read the given files (inside SANDBOX_ROOT) and answer in a single cheap-gateway call. Does NOT start Claude Code and does NOT modify any file. Use for summarize/explain/classify; use start for anything that edits or runs.

reviewA

Cheap-gateway code review. Use job_id to review a finished worker diff/checks, or files to review selected sandbox files. Returns structured JSON verdict when parseable.

searchC

Zero-LLM repository search using rg when available. dirs may contain sandbox directories or files; returns bounded file/line matches inside SANDBOX_ROOT.

read_packC

Zero-LLM context packing for file-reading tasks. Returns bounded symbol/keyword slices instead of whole files.

diff_digestB

Digest the current git diff into changed files, file-level risk, hunk headers, and optional cheap red-team review.

shellB

Run a bounded worker-side command inside SANDBOX_ROOT. Use digest:true for tests/builds/lint so Codex receives a compact failure summary.

apply_editsB

Zero-LLM mechanical edits: bounded literal or regex replacements inside SANDBOX_ROOT. Returns changed files and replacement counts.

historyA

Git archaeology for a file or line: returns bounded log timeline and optional blame without making Codex ingest git log -p.

draftC

Draft commit messages, PR descriptions, changelog notes, or release notes from the current diff using the cheap review lane.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 15 tools

Disambiguation4/5

The lifecycle group (start/get/wait/cancel/tail) is crisply separated, and descriptions explicitly route intent (analyze vs. start, review vs. diff_digest). The remaining ambiguity is mild but real: analyze, review, and read_pack all read sandbox files with differing LLM cost, and search/read_pack/history all serve context gathering, so an agent must read carefully to pick correctly.

Naming Consistency3/5

Most tools are bare verbs (wait, cancel, start, get, tail, analyze, review, search), but several are nouns (history, shell, diff_digest) and others are snake_case verb_noun compounds (get_artifact_slice, read_pack, apply_edits). No single convention dominates, though every name is still readable and none are vague.

Tool Count5/5

At 15 tools the surface spans job lifecycle, git archaeology, search, context packing, editing, and review without obvious redundancy. Each tool maps to a distinct phase of an async coding-worker workflow, so the count feels earned rather than padded.

Completeness4/5

The lifecycle is fully covered (start/get/wait/cancel/tail plus bounded artifact slicing) and the editing/analysis loop is closed via shell, apply_edits, review, and diff_digest. The one clear gap is job enumeration: there is no list-jobs tool, so agents must already know a job_id to reach get/tail/review by job.

Maintenance

ActivityInactive
ResponsivenessOutdated data