Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GUARDIAN_LOG_LEVELNoLog level (logs go to stderr only)INFO
GUARDIAN_ALLOW_WRITENoMust be true for safe_restart_container to do anythingfalse
GUARDIAN_ANOMALY_REGEXNoPattern the log scanner flags
GUARDIAN_DOCKER_TIMEOUTNoSeconds per Docker API call5
GUARDIAN_RESTART_DENY_REGEXNoContainers that can never be restarted (always wins)^(prod|db|kube|vault)-.*
GUARDIAN_RESTART_ALLOW_REGEXNoIf set, only matching containers can be restarted

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_containersA

List containers (running only unless all=true). Read-only.

inspect_containerA

Inspect a container's state, config, and networking. Read-only; env values are redacted.

get_container_logsB

Fetch the last tail log lines and scan them for error anomalies. Read-only.

container_statsA

One sample of CPU, memory, network, block I/O and PIDs, like docker stats --no-stream. Read-only.

container_healthB

A container's health-check status, failing streak and last 5 probe results (output truncated). Read-only.

list_imagesA

List local images with tags, size and creation time (up to 500). Read-only.

list_compose_projectsB

Containers grouped by Docker Compose project and service, with status counts. Read-only.

container_eventsA

Recent container events (start, die, oom, health_status, restart...), newest first, max 200. Read-only.

since_minutes is clamped to 1-1440. Exec events report the action only, never the command.

safe_restart_containerA

Restart a container only if write mode is enabled and its name passes the deny/allow guard.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 9 tools

Disambiguation4/5

Each tool maps to a clearly different observation target: logs, events, health probes, stats sample, inspect state, listings, and the single write action. The only mild overlap is inspect_container versus container_health/container_stats, since inspect also surfaces state and networking, but the descriptions make the boundary (health-check history vs. single resource sample vs. full config) reasonably clear.

Naming Consistency3/5

Half the set follows verb_noun (safe_restart_container, get_container_logs, inspect_container, list_*), but container_events, container_health and container_stats are bare noun-first names with no verb, and safe_restart_container adds an unusual qualifier prefix. Still readable, but the pattern is mixed rather than predictable.

Tool Count5/5

Nine tools is a well-scoped surface for a guarded Docker monitoring server, and each tool earns its place by covering a distinct observability angle plus one explicitly gated mutation. No tool feels redundant or tacked on.

Completeness3/5

The read-only diagnostics side (logs, events, health, stats, inspect, listings) is comprehensive, but the write surface is essentially a single restart operation, so an agent cannot stop, start, remove, create, or exec into containers, nor manage images or compose lifecycle. These are notable gaps for a Docker control domain, though the 'guardian' framing suggests a deliberately narrow mutation surface.

Maintenance

ActivityNo data
ResponsivenessOutdated data