Skip to main content
Glama

Netmon (demo)

syslog_search

Read-onlyIdempotent

Search syslog messages from network devices. Wraps GET /api/syslog/list (permission: logs); tag-scoped server-side.

Filters (all optional): device_id, severity (name or int 0-7), facility (int 0-23), source (exact host/IP), message (substring).

Window: hours (1-168, default 24) OR start_time+end_time (ISO-8601 UTC). limit defaults to 50 (max 500). The response's total is the full match count — if it exceeds limit, narrow the window or add severity/message filters rather than bumping limit unboundedly.

Example: syslog_search({severity: "error", hours: 2, limit: 20})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hoursNoLookback window in hours (1-168). Default 24.
limitNoMax rows returned (1-500). Default 50.
sourceNoSource host/IP string match (exact).
messageNoSubstring match against message text (case-insensitive).
end_timeNoISO-8601 UTC. Must be paired with start_time.
facilityNoSyslog facility int(s) 0-23. Accepts single or array.
severityNoOne severity or an array. Strings (e.g. 'error') or ints 0-7.
device_idNoRestrict to a single device id.
start_timeNoISO-8601 UTC (e.g. 2026-04-23T10:00:00Z). Must be paired with end_time.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint, and the description adds valuable behavioral facts beyond them: the API requires 'logs' permission, results are tag-scoped server-side, and the response's total reflects the full match count. This materially helps the agent understand access constraints and result semantics.

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?

The description is well-organized: purpose first, then filters, window/limit rules, response-count behavior, and a compact example. Each sentence contributes value and none repeats annotation or schema content unnecessarily.

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?

Given 9 parameters, no output schema, and no enums, the description covers all invocation-critical details: parameter meanings, constraints, defaults, pairing rules, and the total-vs-limit behavior. The only notable gap is that it does not outline the shape of the returned records beyond the total count, which would be more critical without any output schema.

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 description coverage is 100%, so the baseline is 3. The description earns a 4 by adding semantics not explicit in the schema: the mutually exclusive relationship between hours and start_time/end_time, the explicit 'all optional' framing, and the concrete example illustrating parameter combination.

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

Purpose5/5

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

States a specific verb and resource ('Search syslog messages from network devices') and differentiates from siblings like eventlog_search and eve_search by naming syslog as the target. The extra detail about wrapping GET /api/syslog/list and being tag-scoped further pins down the scope.

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?

Provides clear, actionable usage context: all filters are optional, hours OR start_time+end_time are alternatives, and it advises narrowing the window or adding filters when total exceeds limit. It does not explicitly name sibling tools or state when not to use this tool, so it falls short of the highest bar.

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.