save-token
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| save_token_execB | Universal token-saving JS REPL across code, data, docs, static web, and CLIs: persists |
| save_token_pollB | Check, wait for, or kill background jobs started via |
| save_token_searchB | Query large outputs and indexed sources stored in persistent SQLite (Porter BM25 + Trigram) across current and previous sessions. |
| save_token_handoffA | Build a zero-LLM session handoff snapshot: optionally extracts prompts/touched files/errors from a transcript, persists chosen |
| save_token_resumeA | 3-layer progressive disclosure resume from previous sessions: omit |
| save_token_statsB | Report real byte/token savings ( |
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 6 tools
Each tool has a largely distinct role: exec runs code, search queries indexed data, poll manages background jobs, handoff creates a session snapshot, resume reloads one, and stats reports metrics. There is some conceptual overlap between exec's indexing/output handling and search, but the descriptions make the intended division clear enough.
All tools use the same `save_token_` prefix and snake_case convention, making the set easy to scan. The suffixes are mostly verbs or clear action nouns, with `handoff` and `stats` being noun-like but still consistent within the server's vocabulary.
Six tools is well-scoped for a token-saving/session-continuity server. Each tool covers a distinct lifecycle stage: execution, search, background polling, handoff, resume, and reporting.
The surface covers the main token-saving workflow: run/compact, index/search, background jobs, session handoff, resume, and stats. Minor gaps exist around explicit cleanup or deletion of persisted memory/indexed sources, but agents can likely work around this through exec.