Context-Clean
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 | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_context_statusB | Reads the current agent/session statusline telemetry and compares used context % against the configured limit for the agent's role (orchestrator/solo vs worker). |
| get_configB | Returns the active Context-Clean configuration (merged global + optional project override) and config file paths. |
| update_configC | Updates Context-Clean configuration (maxContextPercent, models, handoffDir) globally or for the current project. |
| herdr_spawnC | Spawns a worker in a split Herdr pane using the configured worker.model and worker.kind, injecting CONTEXT_CLEAN_ROLE=worker. |
| herdr_statusC | Lists live Herdr panes, agents, and tracked Context-Clean workers. |
| herdr_stopC | Cleanly stops a worker by closing its Herdr pane and removing it from tracked workers. |
| herdr_cleanupC | Detects and closes orphaned, dead, or completed worker panes in Herdr, and prunes stale worker records. |
| create_handoffB | Generates a structured Markdown handoff file in handoffDir (plus LATEST.md) capturing summary, decisions, files touched, active workers, and the exact next step. |
| read_handoffC | Reads the latest handoff Markdown file (or a specific handoff file) from handoffDir. |
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 9 tools
Each tool maps to a recognizable action within one of three clear sub-domains (config, Herdr workers, handoffs/status). The only mild overlap is between herdr_status (pane/worker inventory) and get_context_status (statusline telemetry vs. context limit), but the descriptions make the distinction reasonably clear.
Most tools follow a predictable verb_noun pattern (get_config, update_config, create_handoff, read_handoff, get_context_status). The Herdr group uses a namespace prefix plus verb (herdr_spawn, herdr_stop, herdr_status, herdr_cleanup), which is a minor but coherent deviation that actually aids grouping.
Nine tools is well within the ideal 3-15 range and each one covers a distinct operation: two config, four worker lifecycle, one status check, two handoff operations. No tool feels redundant or superfluous for the stated purpose.
Worker lifecycle (spawn/status/stop/cleanup) and handoff persistence (create/read) are well covered, and config has read/update. Minor gaps exist: no list_handoffs or handoff pruning, and no config reset/delete, but read_handoff accepts a specific file so agents can work around the listing gap.