Skip to main content
Glama
Areso

safe-ssh-mcp

by Areso

get_service_logs_from_journalctl

Retrieve recent journald logs for a specific systemd service over SSH with read-only access.

Instructions

Gets recent journald logs for a specific systemd service.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serviceYes
hostYes
userYes
linesNo
portNo
passwordNo
key_pathNo
timeoutNo
accept_new_hostkeyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations exist, so the description must disclose behavioral traits. It only states it gets logs, but fails to mention that the tool connects via SSH (evident from parameters), requires authentication, or is a read-only operation. Security implications, connection behavior, and error scenarios are not described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise (7 words) but at the expense of clarity and completeness. It lacks essential context for a tool with 9 parameters, especially regarding remote execution via SSH. Conciseness should not sacrifice informativeness.

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?

Given the tool's complexity (SSH connection, multiple parameters) and no annotations, the description is far from complete. While an output schema exists, the tool's purpose, remote nature, and parameter roles are not sufficiently explained, leaving the agent with significant ambiguity.

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

Parameters1/5

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

Schema description coverage is 0%, meaning the input schema provides no descriptions for any of the 9 parameters. The description adds no information about parameter meanings or usage, such as the roles of 'host', 'user', 'password', 'lines', etc. This is a critical 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?

The description clearly states the verb 'Gets' and the resource 'recent journald logs for a specific systemd service'. It distinguishes from sibling tools like get_systemd_status or get_dmesg by specifying logs from journald scoped to a service. However, 'recent' is vague and could be more precise.

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?

No guidance is provided on when to use this tool versus alternatives such as get_systemd_list_all or get_dmesg. There is no mention of prerequisites, when not to use it, or which sibling tools are more appropriate for different scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Areso/safe-ssh-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server