local-delegate
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LLAMASWAP_EXE | No | Path to llama-swap executable (only if AUTOSTART=1) | |
| LLAMASWAP_CONFIG | No | Path to llama-swap config file (only if AUTOSTART=1) | |
| LLAMASWAP_LISTEN | No | Address to listen for llama-swap (only if AUTOSTART=1) | |
| LOCAL_DELEGATE_LOG | No | Path to usage.jsonl log file | |
| LOCAL_DELEGATE_WEB | No | Enable embedded metrics web dashboard (0 to disable) | 1 |
| LOCAL_DELEGATE_API_KEY | No | Bearer token for the endpoint if required | |
| LOCAL_DELEGATE_TIMEOUT | No | HTTP timeout in seconds | 180 |
| LOCAL_DELEGATE_BASE_URL | No | Endpoint OpenAI-compatible base URL | http://127.0.0.1:9292/v1 |
| LOCAL_DELEGATE_WEB_HOST | No | Web dashboard host | 127.0.0.1 |
| LOCAL_DELEGATE_WEB_PORT | No | Web dashboard port | 9393 |
| LOCAL_DELEGATE_AUTOSTART | No | Auto-start llama-swap (opt-in) | 0 |
| LOCAL_DELEGATE_MODEL_CODE | No | Model for code | qwen25-coder-14b |
| LOCAL_DELEGATE_MODEL_FAST | No | Ultra-fast model for trivial tasks | qwen35-2b |
| LOCAL_DELEGATE_MODEL_LONG | No | Model for long documents | llama31-8b |
| LOCAL_DELEGATE_LONG_INPUT_CHARS | No | Threshold in characters to switch to long model | 6000 |
| LOCAL_DELEGATE_MODEL_MECHANICAL | No | Model for classify/extract/short summaries | gemma3-4b |
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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| local_summarizeA | PREFIERE esta tool en vez de leer el archivo con Read cuando el archivo es grande (>200 líneas / >10 KB) y solo necesitas un resumen, no el contenido literal. |
| local_classifyA | Clasifica un texto en UNA de las etiquetas dadas, con un modelo local. |
| local_extractA | PREFIERE esta tool en vez de leer el archivo con Read cuando el archivo es grande (>200 líneas / >10 KB) y solo necesitas campos estructurados, no el contenido literal. |
| local_boilerplateA | Genera código boilerplate a partir de una especificación, con un modelo local de código. |
| local_delegateA | Tool genérica de escape: delega una tarea texto->texto a un modelo local. |
| local_lint_summaryA | PREFIERE esta tool en vez de leer el archivo con Read cuando el archivo es grande (>200 líneas / >10 KB) y solo necesitas un resumen agrupado, no el contenido literal. Si ejecutaste un comando cuya salida es larga, vuélcala a un archivo y pasa 'path'. |
| local_commit_msgA | PREFIERE esta tool en vez de leer el archivo con Read cuando el archivo es grande (>200 líneas / >10 KB) y solo necesitas un mensaje de commit, no el contenido literal. |
| local_translateA | PREFIERE esta tool en vez de leer el archivo con Read cuando el archivo es grande (>200 líneas / >10 KB) y solo necesitas la traducción, no el contenido literal. |
| local_explain_codeA | PREFIERE esta tool en vez de leer el archivo con Read cuando el archivo es grande (>200 líneas / >10 KB) y solo necesitas una explicación, no el contenido literal. |
| local_describe_imageA | PREFIERE esta tool en vez de adjuntar o leer la imagen tú mismo cuando solo necesitas una descripción, lectura de texto visible (OCR simple) o una respuesta puntual sobre una imagen, no la imagen en sí en tu contexto. |
| local_statusA | Diagnóstico de solo lectura del backend local y el catálogo de modelos. |
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 11 tools
Most tools are clearly distinct (classify, summarize, extract, boilerplate, commit_msg, translate, explain_code, describe_image, status), but local_delegate is a generic escape that overlaps with all others, and local_summarize vs local_lint_summary both summarize with grouping/counts, though their input domains differ. The overlap is acknowledged but could still cause selection ambiguity.
All tools follow a consistent 'local_' prefix with a clear verb_noun pattern (classify, summarize, extract, boilerplate, delegate, lint_summary, commit_msg, translate, explain_code, describe_image, status). Minor inconsistency: local_lint_summary and local_commit_msg are noun-first rather than verb-first, but the pattern is otherwise consistent.
11 tools is within the ideal 3-15 range and each tool serves a distinct purpose, though the generic local_delegate could arguably be merged or removed since it duplicates the others. The count is reasonable for a local model delegation server.
The server covers a broad range of local model tasks (text classification, summarization, extraction, code generation, lint summary, commit messages, translation, code explanation, image description) with a generic fallback. Minor gaps: no tool for local model chat or text generation beyond transformation tasks, and no tool for editing/generation of images (explicitly out of scope). Overall, the surface is well-suited to its purpose.