Skip to main content
Glama

LogTriage

Explain one log record field by field

explain_log_record
Read-onlyIdempotent

Identifies the format of one log record (access-log line, syslog/auth.log line, Windows event XML, CloudTrail, Entra ID, CrowdStrike, firewall, CEF/LEEF and more) and lists every field with what it means and where that meaning comes from (LogTriage's reference pages or the vendor's published definition). Decodes values: timestamps, address ranges, HTTP statuses, ports, logon types, NTSTATUS and AADSTS codes, encoded PowerShell. Runs LogTriage's attack checks on the record too. Free; no API key needed.

Input Schema

NameRequiredDescriptionDefault
recordYesOne log record (a line, a JSON object or one Windows <Event>). Up to 1 MB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the description adds real value on top: it discloses that the operation is free with no API key, that meanings are sourced from reference pages or vendor definitions, and that attack checks are included in the result. It does not cover latency, rate limits, or failure modes for malformed records, which keeps it below a 5.

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?

The lead sentence front-loads the core action, with decoding and attack-check behavior following in logical order and cost information last. The format enumeration is long but functional; a small amount of tightening would make it sharper without losing information.

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?

With no output schema, the description carries the return-value burden and does so adequately: it states the output is a per-field listing with meaning plus source, decoded values, and attack-check results. For a single-parameter analysis tool with annotations already covering the safety profile, nothing essential is missing.

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

Parameters4/5

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

Schema coverage is 100% and the single parameter is fully documented in the schema, so the baseline would be 3. The description earns an extra point by enumerating the accepted record formats (access-log line, syslog/auth.log, Windows event XML, CloudTrail, Entra ID, CrowdStrike, firewall, CEF/LEEF), which tells the agent concretely what counts as a valid 'record' input.

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

Purpose4/5

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

The description uses specific verbs tied to a concrete resource: identify the format of ONE log record, list every field with its meaning and provenance, decode values, and run attack checks. It is immediately clear this operates on a single record rather than a file, which implicitly separates it from analyze_log_file, but it never names that sibling explicitly.

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?

Usage context is implied by 'one log record' versus sibling analyze_log_file, and the 'Free; no API key needed' line tells the agent there is no cost barrier. However, there is no explicit when-to-use/when-not guidance, and the overlap with scan_log_for_attacks ('Runs LogTriage's attack checks on the record too') is left unresolved for the agent to infer.

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