Skip to main content
Glama

WritersLogic verifiable AI agents

log-collapse

Collapse a log into error signatures with counts and first/last occurrence — Groups the records of a log or CI output by signature: timestamps, UUIDs, IPs, hex ids, quoted values and numbers are replaced by placeholders, stack-trace continuation lines are attached to their record and contribute their first frames, and each signature reports its count, severity, first and last line, first and last timestamp (as written, when the line starts with an ISO 8601 timestamp) and a

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": {
      "text": "<text>"
    },
    "name": "log-collapse"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesLog text, at most 8000 lines.
topNNoSignatures returned, by count. Default 20.
minSeverityNoIgnore records below this severity. Default: keep all.
signatureFramesNoContinuation lines (stack frames) that are part of the signature. Default 3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources