Skip to main content
Glama
crunchtools

mcp-syslog

by crunchtools

Syslog Grep Tool

syslog_grep_tool
Read-only

Search syslog messages by case-insensitive regex across all sources or one named source; filter by time range, severity, and result limit to locate relevant events.

Instructions

Regex search across all sources, or within one named source.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum entries to return.
sinceNoHow far back to search — relative ('15m', '2h', '3d') or ISO-8601.24h
sourceNoRestrict to one source. Omit to search the whole fleet.
patternYesCase-insensitive regular expression matched against the message.
severityNoOptional minimum severity.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe read operation, and the description adds that searches default to all sources unless one source is named. It still omits useful behavioral context such as the default 24h window and the effect of limit/severity filters.

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?

A single front-loaded sentence with no wasted words. It is as concise as possible while still naming the core operation and scope.

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?

The rich schema and output schema make invocation details available, and readOnlyHint covers safety. Completeness is only adequate because the description does not clarify the tool's niche against closely related siblings like syslog_search_tool.

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

Parameters3/5

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

Schema description coverage is 100%, so all five parameters and defaults are already documented in the schema. The description only reinforces the pattern/source semantics and adds no syntax, formatting, or edge-case detail beyond the structured fields.

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?

States a specific action (regex search) and its scope (all sources or one named source), so the operation is understandable. However, it does not distinguish this tool from the sibling syslog_search_tool, leaving an obvious overlap unresolved.

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 source-scope phrasing implies this is for fleet-wide or single-source regex lookup, but there is no explicit guidance on when to prefer it over syslog_search_tool, syslog_tail_tool, or syslog_context_tool. No exclusions or prerequisites are given.

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