Skip to main content
Glama
vsl8
by vsl8

ansible-log-hunter

Search and correlate log events across multiple hosts using regex patterns and time-based windows to pinpoint issues.

Instructions

Advanced log hunting and correlation across multiple sources.

Args: host_pattern: Target hosts pattern search_patterns: List of regex patterns to search for log_paths: List of log file paths (defaults to common system logs) project_root: Project root directory ansible_cfg_path: Ansible config file path inventory_paths: Inventory file paths time_range: Time range for logs (e.g., '1h', '24h', '7d') correlation_window: Time window in seconds for event correlation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
log_pathsNo
time_rangeNo
host_patternYes
project_rootNo
inventory_pathsNo
search_patternsYes
ansible_cfg_pathNo
correlation_windowNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions it searches with regex and correlates events, but does not reveal potential side effects, scale limitations, or required permissions. The description is insufficient for a tool with 8 parameters.

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 description is front-loaded with the main purpose and uses a clear bullet list for parameters. No unnecessary words, though the docstring format is slightly verbose.

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?

Given 8 parameters and no schema descriptions, the description covers parameter semantics adequately but misses behavioral context, output expectations, and usage scenarios. The presence of an output schema is not leveraged in the description.

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?

The input schema has 0% description coverage, so the description's Args list adds essential meaning to each parameter (e.g., 'search_patterns: List of regex patterns'). It explains all parameters briefly, which significantly improves understanding beyond the bare schema.

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

Purpose3/5

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

The description states 'Advanced log hunting and correlation across multiple sources' which gives a clear verb (hunt/correlate) and resource (logs). However, it does not differentiate from similar sibling tools like ansible-fetch-logs or ansible-diagnose-host, so it lacks sibling distinction.

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 guidance is provided on when to use this tool versus alternatives. There is no mention of when-not-to-use, prerequisites, or context for selecting this tool over others.

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/vsl8/ansible-mcp-server'

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