sarup
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OLLAMA_HOST | No | Ollama endpoint. | http://localhost:11434 |
| SARUP_DB_PATH | No | SQLite path for a persistent, cross-process store. Required for hook retrieval. Default: in-memory. | |
| SARUP_HOOK_MODE | No | Hook compression mode. | auto |
| SARUP_EMBED_MODEL | No | Model for semantic embeddings. | nomic-embed-text |
| SARUP_HOOK_MIN_CHARS | No | Hook only compresses outputs larger than this. | 4000 |
| SARUP_ABSTRACTIVE_MODEL | No | Model for abstractive / pipeline rewrite. | gemma3:12b |
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
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| sarup_compressA | Compress content for context efficiency. Supports Thai prose, English prose, mixed Thai+code, JSON, and logs. Returns compressed text, a retrieval hash, and token-saving metrics. Use sarup_retrieve(hash=...) to recover the original when needed. |
| sarup_retrieveA | Retrieve the original uncompressed content by hash. The hash is returned by sarup_compress. |
| sarup_statsA | Return cumulative compression statistics for this session. |
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 distinct, well-defined purpose: compressing, retrieving via hash, and reporting statistics. There is no overlap or ambiguity.
All tool names follow a consistent pattern with the 'sarup_' prefix followed by a verb (compress, retrieve, stats), making them predictable and easy to distinguish.
Three tools is appropriate for the focused domain of context compression and retrieval. Each tool serves a clear, necessary function without bloat or shortage.
The tool set provides complete lifecycle coverage: compress, retrieve, and monitor statistics. No obvious gaps for its stated purpose.