tooltrim
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": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| compressA | Compress a bloated tool output or long text so it fits a token budget while keeping what's relevant to an optional query. Returns a compact extract; the full output stays retrievable via the ref in its footer — call expand_tool_output with that ref to read it back. |
| expand_tool_outputA | Retrieve the full, uncompressed tool output behind a tooltrim reference (shown in a compressed result's footer as ref=XXXX). A compressed observation may have omitted fields you need — ids, amounts, individual list items, statuses. IMPORTANT: before you answer the user or take an action that depends on a compressed result, if any detail you need is not clearly present in it, call this tool with that ref to read the full output first. Returns a page of characters; use start/length to page through more. |
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 2 tools
Compress and expand_tool_output have clearly opposite purposes: one reduces output, the other restores it. No overlap or ambiguity exists between them.
Both names use imperative verbs, but 'compress' lacks the object that 'expand_tool_output' includes. Minor style deviation, but the pattern is still predictable and readable.
Two tools is exactly the right scope for a compression/expansion utility. Each tool serves a distinct, necessary role, and the pair is well-scoped.
The tool surface covers the full lifecycle: compress output and expand it back via reference. No critical missing operations for the stated purpose.