Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ENABLE_SHELLNoEnable shell command executionfalse
ALLOWED_PATHSNoComma-separated list of allowed paths for file access
SECURITY_MODENoSecurity mode: READ_ONLY, WORKSPACE_WRITE, or FULL_LOCALREAD_ONLY
CACHE_TTL_DAYSNoCache TTL in days30
LOCAL_LLM_MODELNoThe model name. If empty, auto-detects a model containing 'gemma' or uses the first available model
LOG_MAX_SIZE_MBNoMaximum log file size in MB before rotation250
CACHE_MAX_SIZE_GBNoMaximum cache size in GB10
LOCAL_LLM_API_KEYNoAPI key for OpenAI-compatible providers
LOCAL_LLM_BASE_URLNoThe base URL of the LLM endpointhttp://127.0.0.1:11434
LOCAL_LLM_PROVIDERNoThe LLM provider to use (ollama, openai_compatible, etc.)ollama
LOG_RETENTION_DAYSNoNumber of days to retain log files14
MAX_PARALLEL_WORKERSNoMaximum number of parallel workers for batch delegation4
LOCAL_LLM_MAX_RETRIESNoMaximum number of retries0
CACHE_TARGET_USAGE_PERCENTNoTarget cache usage percentage after cleanup80
CACHE_CLEANUP_INTERVAL_HOURSNoInterval in hours between automatic cache cleanups6
CACHE_CLEANUP_THRESHOLD_PERCENTNoCache usage percentage threshold to trigger cleanup90
LOCAL_LLM_CONNECT_TIMEOUT_SECONDSNoConnection timeout in seconds2
LOCAL_LLM_REQUEST_TIMEOUT_SECONDSNoRequest timeout in seconds45
LOCAL_LLM_CIRCUIT_BREAKER_FAILURESNoNumber of failures before circuit breaker opens2
LOCAL_LLM_CIRCUIT_BREAKER_COOLDOWN_SECONDSNoCooldown period in seconds before circuit breaker allows a retry60

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
local_statusA

Check local worker health: provider, endpoint, model, circuit breaker, cache.

delegate_taskC

Delegate a mechanical task to the local worker. Returns compact structured output.

delegate_batchB

Run independent local tasks in parallel. One failure does not cancel the batch.

delegate_fileC

Have the local worker read a file (txt/md/csv/json/code/log) without loading it into frontier context.

delegate_pdfC

Extract, chunk, and analyze a PDF locally. Returns compact findings with page evidence.

cache_statsB

Cache size, entry count, hits, misses, hit rate, and expired entries.

cache_cleanupA

Run cache garbage collection now (TTL, unused, then LRU).

cache_clearA

Delete disposable cache entries. Persistent artifacts stay unless include_persistent=true.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CaioAllgayer/Local-Worker-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server