Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SYSTEM1_CONFIGNoPath to the gateway config file.
SYSTEM1_FALLBACKNoComma-separated list of fallback providers tried on failure.
SYSTEM1_LOG_FILENoOptional file path to also write logs to. Logs always go to stderr.
SYSTEM1_PROVIDERNoPrimary decision provider. Defaults to "laya".
SYSTEM1_LOG_LEVELNoLog level, e.g. INFO or DEBUG. Defaults to INFO.
SYSTEM1_TIMEOUT_SNoTimeout in seconds per provider attempt. Defaults to 5.0.
SYSTEM1_VON_MODELNoVon model name. Defaults to von-1.3.
SYSTEM1_LAYA_MODELNoPinned Laya checkpoint/model name, e.g. typed-decisions.
SYSTEM1_SKILLS_HINTNoEnables or disables skill-picker hints. Defaults to false.
SYSTEM1_LAYA_API_KEYNoAPI key for laya-serve if it is running with LAYA_API_KEY.
SYSTEM1_OLLAMA_MODELNoOllama model name, e.g. gemma4:e4b.
SYSTEM1_VON_ENDPOINTNoVon provider endpoint. Defaults to http://127.0.0.1:8777.
SYSTEM1_LAYA_ENDPOINTNoLaya provider endpoint. Defaults to http://127.0.0.1:8765.
SYSTEM1_MIN_CONFIDENCENoMinimum confidence before abstaining. Defaults to 0.6.
SYSTEM1_SKILLS_ENABLEDNoEnables or disables the skill picker. Defaults to false.
SYSTEM1_OLLAMA_ENDPOINTNoOllama provider endpoint. Defaults to http://127.0.0.1:11434.
SYSTEM1_LAYA_ALLOW_REMOTENoSet to true to allow non-loopback Laya hosts. Defaults to false.
SYSTEM1_SKILLS_MIN_CONFIDENCENoMinimum confidence for skill-picker hints. Defaults to 0.8.

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
system1_decideA

Ask the configured System-1 provider for a fast decision. Returns status decided | abstained | error, with decision, confidence (0-1), rationale and request_id.

system1_healthA

Check gateway and provider health (ok | degraded | down).

system1_capabilitiesA

Describe the gateway: version, schema versions, provider chain, thresholds and JSON schemas.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 3 tools

Disambiguation5/5

Each tool targets a clearly distinct concern: making a decision, checking health, and introspecting capabilities. There is no overlap in purpose or resource, so an agent can select without confusion.

Naming Consistency5/5

All three tools share the system1_ prefix and snake_case verb/noun form (decide, health, capabilities). The pattern is predictable and uniform throughout.

Tool Count4/5

Three tools is on the lean side, but for a thin inference gateway (decide + health + capabilities) each earns its place. Slightly under-scoped if richer workflows are expected.

Completeness4/5

The core lifecycle of a decision gateway is covered: decision, health monitoring, and capability discovery. Minor gaps exist, such as batch decisions or recording decision outcomes, but agents can work around them.

Maintenance

ActivityMaintained
ResponsivenessNo issues