Skip to main content
Glama

QuassLabs API

log_analyzer

Analyze a log file. POST raw log text (or an upload_id from the uploads tool, up to 5MB) and get: level breakdown + time range, error clusters (messages normalized so variable ids/numbers collapse into one signature, with counts + first/last seen + a sample), a timeline, detected anomalies (error spikes, retry storms, new error signatures, log gaps/outages, level-ratio shifts) with evidence, and templated recommendations. Handles JSON-lines and plain formats (ISO8601/syslog/CLF/epoch timestamps). Deterministic, single-pass, no LLM.

Input Schema

NameRequiredDescriptionDefault
textNoRaw log content (up to 1M chars).
top_nNoTop clusters to return (1-50, default 10).
formatNo
upload_idNoAlternative: a log file uploaded via the uploads tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Since no annotations are provided, the description carries the full burden, which it handles excellently. It explicitly details complex behaviors like normalized error signatures, log gap detection, and generating templated recommendations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

While dense, the description is extremely efficient; every phrase communicates a specific functional capability or constraint. It front-loads the core function and outputs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complex multi-part output (breakdown, clusters, anomalies, recommendations), the description provides a complete blueprint of what an agent can expect as a result. It removes ambiguity about the tool's capabilities.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 75% schema coverage, the description compensates significantly by adding constraints (5MB upload limit) and detailed format compatibility that maps directly to the `format` parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The purpose is stated clearly: 'Analyze a log file.' It distinguishes itself from sibling tools (which are mostly code-focused) by clearly defining the scope of log processing and the types of analysis it provides.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides excellent operational guidelines by defining acceptable input formats (JSON-lines, ISO8601/syslog/CLF/epoch) and input delivery methods (raw text vs. `upload_id`). It also provides a critical behavioral guide by stating it is 'Deterministic, single-pass, no LLM.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources