Skip to main content
Glama
abranson
by abranson

Read Device Journal

sailfish_device_journal
Read-onlyIdempotent

Read recent journalctl output from a Sailfish OS device to inspect logs, filter by unit, since time, or grep, and diagnose service issues over SSH or USB.

Instructions

Read recent journalctl output from a Sailfish OS device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
grepNo
unitNo
linesNo
sinceNo
deviceNoConfigured device alias or ssh target. When the user says the device is attached over USB, use 'usb' for the default device or 'usb:<name>' when the user supplies a device name. The USB connection trusts that name for device metadata and does not resolve it through DNS.
timeoutNoCommand timeout in seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered by structured data. The description only restates the read operation and adds no extra behavioral context such as output shape, streaming/pagination behavior, or what happens when the device is unreachable.

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 short sentence, front-loaded with the essential verb and resource, with no filler. It is appropriately sized but arguably too terse for a six-parameter tool.

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

Completeness2/5

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

With six parameters, only one required and low schema coverage, plus no output schema, the description is too thin. An agent gets no sense of return format, default windowing ('recent' is unquantified), or how grep/unit/since interact with the defaults.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33% (device and timeout are documented, grep/unit/lines/since are not), and the description supplies no parameter meaning at all. It doesn't explain grep semantics, unit filtering, line limits, or the since time format, so it fails to compensate for the coverage gap.

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?

Specific verb + resource: reads journalctl output from a Sailfish OS device. It's clear what the tool does and reads distinct from siblings like sailfish_device_command_start or sailfish_device_topmost_pid. It doesn't explicitly differentiate itself from other log-adjacent siblings, so it falls short of a 5.

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 alternatives. The user might equally well run journalctl via sailfish_device_command_start or sailfish_device_user_session_command, and nothing tells the agent why to choose this one. No prerequisites or exclusions are mentioned.

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