Context Budget Engine
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.
Prefer read_smart over reading whole files: pass what you are looking for as query and you get the relevant definitions or lines instead of the entire file. Use full=true only when you truly need every line. Use log_smart for logs.
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| read_smartA | Read a file through the context policy. With a |
| log_smartB | Errors, warnings and the last |
| search_smartB | Regex search under a folder: returns file:line: text, skipping caches and binaries. |
| savingsA | Tokens kept out of this assistant's context by read_smart/log_smart so far. |
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 4 tools
Each tool has a clearly distinct purpose: read_smart reads files with context-aware modes, log_smart focuses on log diagnostics, search_smart performs regex search, and savings reports token savings. Although read_smart and log_smart both read files, the log-specific behavior and parameters make the boundary clear.
The three operational tools follow a consistent verb_smart snake_case pattern: read_smart, log_smart, and search_smart. savings is a metrics noun rather than an action, which is a minor but understandable deviation.
Four tools is well-scoped for a focused context budget engine. Each tool covers a distinct capability and none appears redundant or trivial.
The surface covers the core read-only context-saving workflow: smart file reading, log inspection, search, and savings reporting. Minor gaps exist, such as explicit directory listing or savings-reset/configuration operations, but agents can work around them.