Skip to main content
Glama
crunchtools

mcp-syslog

by crunchtools

Syslog Search Tool

syslog_search_tool

Search collected logs by source, time window, severity, and pattern to find errors and diagnose incidents without guessing.

Instructions

Search collected logs by source, time window, severity and pattern.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum entries to return.
sinceNoStart of the window — relative ('15m', '2h', '3d') or ISO-8601.1h
untilNoEnd of the window. Omit for "up to now".
sourceNoContainer or service name. Omit to search every source.
patternNoOptional case-insensitive regular expression matched against the message.
programNoRestrict to one program within the source (e.g. 'httpd' inside a web container).
severityNoMinimum severity: EMERG, ALERT, CRIT, ERR, WARNING, NOTICE, INFO, DEBUG. 'ERR' returns ERR and anything more severe.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden of behavioral disclosure, yet it says nothing about read-only nature, result limits, ordering, or truncation behavior. It is implied to be a read/search operation but nothing confirms the safety profile or output behavior.

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?

A single efficient sentence with the key filter dimensions front-loaded and no filler. It is appropriately short for a broad search tool, though it is arguably too sparse to earn a 5.

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?

An output schema exists so return values needn't be explained, and the schema fully documents all seven parameters. The remaining gap is routing guidance among the many sibling log tools, which the description does not address.

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 both the description and schema document the parameters; the schema in fact adds far more (relative/ISO-8601 time formats, severity ordering, regex matching, program scoping). The description only names the filter dimensions already covered by the schema, so baseline 3 is appropriate.

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 verb (search) and resource (collected logs) plus the filterable dimensions, so the purpose is unambiguous. However, it offers no differentiation from the many similar siblings (syslog_grep_tool, syslog_tail_tool, syslog_context_tool), leaving the agent to guess which search variant applies.

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?

There is no when-to-use guidance and no mention of alternatives, despite a crowded sibling set of overlapping log-query tools. The agent gets no signal about when this broad search is preferable to grep, tail, or context.

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