local-worker
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OLLAMA_URL | No | Ollama endpoint | http://127.0.0.1:11434 |
| LOCAL_WORKER_MODEL | No | Default model (gpt-oss:20b or qwen3:14b) | gpt-oss:20b |
| LOCAL_WORKER_ROOTS | No | Directories files may be read from and written to | |
| LOCAL_WORKER_BROWSER | No | Browser executable for render_pdf | Edge/Chrome/Chromium defaults |
| LOCAL_WORKER_MAX_CTX | No | Largest context window requested, in tokens (bounded by VRAM) | 32768 |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| local_llmA | Run an instruction on a LOCAL model (Ollama on this machine's GPU) over optional files, so their contents never enter your context. Use it to save tokens on bulk reading and first drafts: summarizing long CI logs, diffs, build output or docs, extracting the relevant lines from a big file, or drafting a report/changelog section from notes (write drafts with output_path). Do NOT use it for code edits, security or correctness decisions, or anything you'll state as fact without checking: the output comes from a much weaker model and is unverified. Spot-check it against the source before relying on it. Files must be under the server's allowed roots. |
| render_pdfA | Deterministically convert a Markdown file to a styled PDF using a headless Chromium-based browser (no LLM involved). Both paths must be under the server's allowed roots. |
| local_statusA | Show whether Ollama is running, which models are installed, and which are loaded (with GPU vs CPU share). Use it if local_llm fails or is slow. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a clearly distinct role: local_llm performs inference, render_pdf performs deterministic file conversion, and local_status reports runtime/model state. There is no realistic overlap in selection: one generates text, one converts Markdown to PDF, and one diagnoses Ollama.
All names use consistent lowercase snake_case and are readable. Two tools use a local_* resource/prefix style while render_pdf uses a verb_noun action style, which is a minor deviation from a single predictable pattern.
Three tools are well-scoped for a small local-worker server: inference, PDF rendering, and status/diagnostics. Each earns its place and there is no redundant surface.
The core lifecycle is covered: run local model tasks, render output to PDF, and check Ollama/model status. Minor gaps exist around model selection or job management, but the stated purpose is largely complete for this small scope.