squeeze-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SQUEEZE_KEEP_RUNS | No | How many runs to keep in memory. | 30 |
| SQUEEZE_MAX_BYTES | No | Output kept per run. Past this, the first and last halves are kept. Default is 20971520 (20 MB). | 20971520 |
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 |
|---|---|
| runA | Runs a shell command and returns a compact view of its output: the first and last lines, every error with nearby context, and summary lines, with repeated lines collapsed. The full output is kept under a run id; use grep_output or read_output to see anything omitted. Prefer this over a plain shell for builds, tests, installs and anything noisy. |
| squeeze_textA | Compacts a log, stack trace or other long text the same way |
| grep_outputB | Searches the full stored output of an earlier |
| read_outputB | Returns a range of lines from the full stored output of an earlier |
| list_runsB | Lists recent runs whose full output is still kept, newest first. |
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 5 tools
Each tool has a clearly distinct purpose: run executes and compacts, squeeze_text compacts without executing, read_output retrieves line ranges, grep_output searches by regex, and list_runs discovers runs. The only surface overlap is between grep_output and read_output, but they are clearly differentiated by search vs. range access.
Four of five tools follow a clear verb_noun pattern (grep_output, read_output, squeeze_text, list_runs), while run is a bare verb. The deviation is minor and still readable, so the set is mostly consistent.
Five tools is well-scoped for a focused log/output squeezing server. Each tool serves a distinct part of the workflow—execution, standalone compaction, discovery, and full-output retrieval—with no redundant entries.
The core lifecycle is covered: run creates stored output, list_runs discovers it, and read_output/grep_output retrieve it, while squeeze_text handles standalone text. Minor gaps exist around run metadata (e.g., exit status/duration) and cleanup/deletion of stored runs, but these are workable omissions.