Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

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

Tools for inspecting and configuring a DevIntern worker workspace. Read state with the list_/get_/read_ tools. Never edit files: to change workspace.toml, call get_workspace_config, edit the full text (keep DEVINTERN_SECRET_ placeholders as they are), check it with validate_workspace_config, then call propose_workspace_change with the baseHash. Automation runs are proposed the same way, and so are tasks with propose_task. A person applies proposals. A coding agent handing agreed work to the worker calls delegate_task instead, which enqueues directly (when the workspace allows it) with a self-contained brief, then follows up with wait_for_tasks (bounded waits), get_task, and list_my_tasks. Existing ad-hoc tasks are controlled directly: get_task for the full brief, update_task to adjust a pending task (pass expectedEditCount from get_task), cancel_task to stop one, and clear_harness_limit when a harness is wrongly marked usage-limited. Call get_usage_status before long work: when allPaused is true the agent subscription is rate-limited.

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
list_runsB

Recorded worker runs, newest first, with optional filters. Same data as devintern worker runs --json.

get_runA

One run with its stages, retry eligibility, harness log list, and artifact list (devintern worker runs show <id> --json).

read_run_logA

The redacted tail of one harness (agent transcript) log of a run; names come from get_run's harnessLogs.

read_run_artifactA

The redacted content of one run artifact; ids come from get_run's artifacts. Binary content is null.

list_automationsB

Configured automations and estimations with schedule, next due time, and last run.

get_statsB

Aggregate run statistics over a time window (devintern worker stats --json).

list_agent_prsB

Pull/merge requests the agent opened: open ones, or recently merged.

get_queueA

Work queued but not started: ad-hoc tasks, retries, webhooks, automations.

get_worker_statusB

Worker liveness, durable queue counts, agent PR counts, poll cursors, and daily caps.

get_overviewB

Capacity, harness chain health, config status, and tracker poll freshness.

read_worker_logsC

Most recent worker log entries from the worker's capture files.

get_workspace_configA

The raw workspace.toml text (inline secrets replaced by placeholders), its baseHash for propose_workspace_change, the parsed and validated summary, and the last applied and rejected reload of the running worker.

get_env_statusA

Names of the env keys set in each scope (shared .env, env_file, inline env) and whether the credentials each tracker, code host, and error monitor needs are set. Never returns values.

get_usage_statusA

Whether each agent harness is paused by a usage limit and until when, whether the whole chain is paused, and the remaining daily caps. Works while the worker runs elsewhere.

validate_workspace_configA

Run the same parsing and semantic validation as a live reload on a full workspace.toml text. Writes nothing. Returns ok, or the list of errors; restartRequired lists startup-only settings the change touches.

propose_workspace_changeA

Propose a full replacement workspace.toml. It is validated first (invalid configs are rejected with the errors) and stored as a pending proposal with a unified diff; nothing is applied. baseHash must be the one get_workspace_config returned.

propose_taskA

Propose a one-off task for a workspace repo (what devintern worker add enqueues). The repo is checked against [[repos]]; nothing is enqueued until a person applies it.

propose_run_automationA

Propose one manual run of a configured automation (the dashboard's Run now). The id is checked against list_automations; nothing runs until a person applies it.

get_taskA

Full details of one ad-hoc task: the complete brief, edit history, dependency states, pinned agent, recent runs, and whether its branch can be resumed. Same data as devintern worker task show <key> --json.

update_taskA

Edit an ad-hoc task that is still pending (including one waiting on dependencies): its title, brief, dependencies, dependency mode, or pinned harness/model/effort. Refused once the worker has claimed it. Pass expectedEditCount (editCount from get_task) so an edit made meanwhile is not overwritten. Same as devintern worker task update.

cancel_taskA

Cancel an ad-hoc task. A pending task is withdrawn. A running task's agent is stopped by the worker (SIGTERM, then SIGKILL after a grace period) and its branch is kept, so it can be resumed later. Returns cancelling when the stop is still in progress. Same as devintern worker cancel.

clear_harness_limitA

Clear a falsely recorded usage-limit window for one agent harness (or set one with until), so the worker switches back to its highest-priority harness without a restart. A real limit is simply hit again. Same as devintern worker harness clear-limit.

delegate_taskA

Enqueue an ad-hoc task for a workspace repo, exactly like devintern worker add --json: a DevIntern worker implements it in its own checkout and usually opens a PR. Use it only for work the user agreed to hand off, preferably independent pieces that can be reviewed separately. The brief must be self-contained: the worker does not see this chat, uncommitted edits, or local-only files, so include the goal, relevant files, acceptance criteria, scope limits, and verification commands, and push commits it depends on. The body is limited to 20000 characters. Pass a stable idempotencyKey so a retry returns the same task (deduplicated: true) instead of a second one. For dependent work, enqueue each step now with after: [earlier taskKey] (any repo in the workspace; a step in another repo waits for that PR to merge) instead of waiting. Each task opens its own PR from its own branch; it cannot push to an existing PR. To branch from an existing remote branch and open the PR into it, put a Target branch: <branch> line in the body (it overrides stacking). Success means queued, not implemented: follow up with wait_for_tasks or get_task. When this is refused because direct delegation is off, use propose_task.

wait_for_tasksA

Wait until ad-hoc tasks settle and return each one's status and structured result (outcome, prUrl, verification caveats, error), like devintern worker wait --json. Only wait when the next step needs the outcome. timeoutSeconds is required and capped at 600; tasks usually take much longer than one call, so wait in bounded slices. On timeout the call still succeeds with timedOut: true and the current states. mode "any" returns as soon as one task settles. A worker that is not running fails the wait for pending tasks quickly instead of timing out.

list_my_tasksA

List ad-hoc tasks you delegated earlier, newest first, with status and a short result (outcome, prUrl, prState, error, verification), to recover task keys later in a long session. Filters combine: parentRunId (the DevIntern run that delegated them), idempotencyKeyPrefix, sinceMinutes. With none, it lists the tasks of the current DevIntern run when one is set (DEVINTERN_RUN_ID), else those created in the last 24 hours. Use get_task for one task's full brief and result.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 25 tools

Disambiguation3/5

Most tools target distinct data, but there is a cluster of overlapping 'how are things' tools — get_stats, get_worker_status, get_overview, get_queue, get_env_status, get_usage_status — that an agent can easily misselect, and propose_task vs delegate_task cover similar intent (queue an ad-hoc task, one pending approval, one direct). The long descriptions do disambiguate these pairs, but boundaries are fuzzy rather than crisp.

Naming Consistency5/5

Every tool is snake_case verb_noun (get_run, list_runs, read_run_log, propose_workspace_change, cancel_task, wait_for_tasks). Verb choice (get vs read vs list) tracks semantics rather than being arbitrary, and there is no mixing of conventions.

Tool Count3/5

25 tools is at the heavy end for what is essentially worker observability plus task delegation and config proposals. Observability is split across eight-plus narrow read tools (stats, runs, run logs, artifacts, queue, worker status, overview, worker logs), several of which could be consolidated.

Completeness4/5

Coverage of the domain is broad: run/artifact/log inspection, queue and worker health, config read/validate/propose, task propose/delegate/get/update/cancel/wait, plus usage-limit clearing. Minor gaps remain, notably no way to list or check the status of pending proposals (workspace change, task, automation run) after creating them, and no apply/approve operation (which appears intentionally human-gated).

Maintenance

ActivityNo data
ResponsivenessLimited data