Skip to main content
Glama

journal_errors

Retrieve recent systemd journal errors and higher priority entries from a Linux server to diagnose problems without SSH access.

Instructions

Report the most recent systemd journal entries at error priority or higher on a Linux server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNomaximum number of journal entries to return, most recent first (default 20)
serverYesthe inventory server name to check

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
serverYes
statusYes
entriesYes
timestampYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 behavioral burden. It discloses the useful filtering behavior (error priority or higher) and recency ordering, but says nothing about read-only nature, permissions, or result volume beyond the schema's limit parameter.

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. The filtering constraint and target host type are stated 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?

For a simple two-parameter read tool with an output schema covering the return values, the description is nearly sufficient. The main gap is the absence of when-to-use routing among the many log-related siblings.

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 server and limit are already well documented in the schema. The description adds no syntax or format detail beyond what the schema provides, so the 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?

The description gives a specific verb (report), resource (systemd journal entries), filter (error priority or higher), and scope (Linux server), so the agent knows exactly what this returns. It does not explicitly contrast itself with the log-oriented siblings like docker_logs, kubectl_logs, or cisco_logs, so it stops short of full sibling differentiation.

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 statement of when to use this tool versus the other log-reading siblings (docker_logs, kubectl_logs, cisco_logs) or failed_services. Usage is only weakly implied by the 'error priority or higher' filter, and 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.