Skip to main content
Glama

Log Anomaly Detection

get_build_anomalies
Read-onlyIdempotent

Detect anomalous log lines in Zuul builds using ML analysis. Pinpoint unusual patterns to identify the root cause of failures.

Instructions

Detect anomalous log lines using LogJuicer ML-based analysis.

Requires LOGJUICER_URL to be configured.

Args: uuid: Build UUID tenant: Tenant (default from env) url: Zuul build URL (alternative to uuid + tenant)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
uuidNo
tenantNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is clear. The description adds valuable context by noting the LOGJUICER_URL configuration requirement and the parameter alternatives (url vs uuid+tenant), going beyond the annotations without contradicting them.

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?

The description is concise and well-structured: a one-sentence purpose, a requirement line, and a clean Args list with no redundant text. Every sentence earns its place.

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

Completeness4/5

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

With an output schema present, the description needn't explain return values. It covers the essential context: purpose, environment requirement, and parameter semantics. It lacks some usage scenarios, but for a simple tool, the essentials are covered.

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?

Schema coverage is 0%, so the description must compensate, and it does excellently. It explains each parameter (uuid as build ID, tenant with env default, url as alternative to uuid+tenant), providing meaning and relationships not present in the schema.

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 description clearly states the tool detects anomalous log lines using LogJuicer ML-based analysis. This is specific and distinguishes it from sibling tools like get_build_log or get_build_failures, which focus on raw logs or failures rather than ML-driven anomaly detection.

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

Usage Guidelines3/5

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

The description implies usage for anomaly detection but does not explicitly state when to use this tool over alternatives or provide exclusions. It mentions a prerequisite (LOGJUICER_URL) but lacks clear guidance on selection among sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/imatza-rh/mcp-zuul'

If you have feedback or need assistance with the MCP directory API, please join our Discord server