Skip to main content
Glama
VZilvinskus

mcp-system-monitor

by VZilvinskus

get_system_logs

Fetch recent Linux system logs from journalctl, filtering by unit, priority, or line count to troubleshoot system issues.

Instructions

Get recent system logs from journalctl (Linux only)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
unitNoFilter by systemd unit (e.g., 'docker', 'nginx')
linesNoNumber of log lines to return (default: 50)
priorityNoMinimum log priority level

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It communicates a read-only intent ('Get'), the source ('journalctl'), and the platform limitation ('Linux only'), but it does not mention potential permission requirements, large output, or behavior if journald is unavailable. Adequate but not detailed.

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 one short, front-loaded sentence with no filler. The parenthetical 'Linux only' adds a valuable constraint without wasted words, and every element contributes to understanding the tool.

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?

For a read-only log tool with three optional, fully documented parameters, the description plus schema is mostly complete. It identifies the source and platform, and the schema covers defaults and filters; however, without an output schema, the exact return shape is left slightly implicit.

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 the schema already explains unit, lines, and priority, including the priority enum. The description adds no parameter-level meaning beyond the vague word 'recent', which does not clarify the default line count or filter semantics.

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?

The description names a specific action ('Get'), resource ('system logs'), and mechanism ('journalctl'), plus the platform constraint ('Linux only'). This clearly differentiates it from siblings like list_processes and get_docker_status, which address different system aspects.

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 description implies the tool is for retrieving systemd journal logs and restricts usage to Linux, but it does not explicitly explain when to choose this tool over the sibling tools or when not to use it. The usage context is inferable but not directly stated.

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