compress_mcp_output
Reduce LLM prompt token usage by compressing verbose MCP output: deduplicate repeated log lines and summarize JSON arrays.
Instructions
Compress verbose tool outputs and deduplicate log lines to save LLM prompt tokens.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"raw_text": "<raw_text>"
},
"name": "compress_mcp_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw_text | Yes | Raw verbose stdout/stderr string |