Skip to main content
Glama
Fato07
by Fato07

log_analyzer_diff

Read-onlyIdempotent

Compare two log files or two time periods within a single log to identify new errors, resolved issues, and changes in error volume.

Instructions

Compare log files or time periods within a log file.

Args:
    file_path_a: First log file path
    file_path_b: Second log file path (optional - for comparing two files)
    time_range_a_start: Start time for first period (ISO format, for time comparison)
    time_range_a_end: End time for first period (ISO format)
    time_range_b_start: Start time for second period (ISO format)
    time_range_b_end: End time for second period (ISO format)
    response_format: Output format - 'markdown' or 'json'

Returns:
    Comparison showing new errors, resolved errors, and volume changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_path_aYes
file_path_bNo
time_range_a_startNo
time_range_a_endNo
time_range_b_startNo
time_range_b_endNo
response_formatNomarkdown

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=true, destructiveHint=false. Description adds value by detailing return content (new errors, resolved errors, volume changes). No contradictions. Could mention idempotency implications but not required.

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

Conciseness4/5

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

Well-structured with Args and Returns sections. Each parameter gets a one-line explanation. Slightly verbose due to listing all parameters, but necessary given no schema descriptions. Front-loaded with purpose.

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

Completeness3/5

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

Describes two comparison modes (file vs time) but does not clarify mutual exclusivity: whether file_path_b and time_range_* should be used together or separately. The schema allows both, but description omits guidance. Output schema exists but return description is brief.

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 description coverage is 0%, so description fully compensates by explaining each parameter's purpose, including ISO format for time ranges, optionality of file_path_b, and the response_format options. Critical for correct usage.

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?

Clearly states verb 'compare' and resource 'log files or time periods within a log file'. Distinguishes from siblings by focusing on diff/comparison, which is unique among the listed siblings (ask, search, summarize, etc.).

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool over siblings like log_analyzer_search or log_analyzer_summarize. Does not mention when-not to use or provide alternative suggestions. The two comparison modes (file vs time) are described but not contrasted with other 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/Fato07/log-analyzer-mcp'

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