Skip to main content
Glama
crunchtools

mcp-syslog

by crunchtools

Syslog Context Tool

syslog_context_tool
Read-only

Retrieve log entries around a specific timestamp to correlate an alert with related events across all sources or one source.

Instructions

Return log entries surrounding a specific moment.

Use this after an alert names a time. Omitting source spans the whole fleet, which is how a failure gets correlated with whatever else was happening.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum entries to return.
sourceNoRestrict to one source. Omit to span all sources.
severityNoOptional minimum severity.
timestampYesThe moment of interest — ISO-8601, or relative like '30m' ago.
after_secondsNoHow far forward from the timestamp to include.
before_secondsNoHow far back from the timestamp to include.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

readOnlyHint already covers the safety profile, so the description is credited for the extra context it adds: that omitting source spans the whole fleet and that this is the correlation mechanism for failures. It does not mention result volume, ordering, or limits of the fleet-wide scan, so it is not fully transparent.

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?

Two short sentences with zero filler; the core action comes first and the usage cue follows immediately.

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

Completeness4/5

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

With an output schema present and full parameter documentation, the description only needs the invocation context it provides. The remaining gap is what a fleet-wide query returns in practice (volume, ordering), which matters given the default window behavior.

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 coverage is 100%, so every parameter including the before/after window is already documented. The description only reinforces the source-omission behavior rather than adding new syntax or format guidance, so baseline 3 applies.

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 and resource with scope: 'Return log entries surrounding a specific moment.' It is distinguishable from search/grep/tail siblings by the 'surrounding' framing, though it never names those alternatives explicitly.

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

Usage Guidelines4/5

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

'Use this after an alert names a time' gives a clear triggering condition, and the note on omitting source clarifies a common usage decision. No explicit when-not or sibling routing, so it stops short of 5.

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