Skip to main content
Glama
Akdag94

vps-ops-mcp

Read server logs

read_logs

Tail nginx access/error logs, PM2 application logs, or systemd journal entries on a remote server via SSH. Specify host, log source, and optional name for PM2 or journal.

Instructions

Read-only tail of common logs: nginx access/error, a PM2 app, or a systemd unit's journal. name is required for pm2 (app name) and journal (unit name).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesSSH host alias from ~/.ssh/config, or user@hostname
nameNoPM2 app name or systemd unit name (required for pm2/journal)
linesNoNumber of lines to tail (10–500, default 100)
sourceYesWhich log to read
Behavior3/5

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

No annotations are provided, so the description must fully disclose behavior. It states 'Read-only tail' (non-destructive) and lists sources, but does not mention rate limits, authentication requirements, or error handling. The absence of annotations places a higher burden, but the description covers the essential behavior.

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?

Two sentences, no redundant information. The purpose is stated first, followed by a critical parameter dependency. Efficient and well-structured.

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 read-only log tail tool, the description covers source types and parameter constraints. The only minor gap is the lack of output format description (e.g., returns raw log lines), but this is not critical given the context.

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 coverage is 100%, baseline 3. The description adds value by clarifying that `name` is conditionally required (for pm2 and journal), which is not enforced by the schema. This additional constraint helps the agent correctly invoke the tool.

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?

Description clearly states 'Read-only tail of common logs' and lists specific log types (nginx, PM2, systemd), distinguishing it from sibling tools that cover hosts, sites, security, health, and SSL status.

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 context for using the tool to read logs, and specifies that `name` is required for pm2 and journal sources. No explicit when-not-to-use or alternatives are mentioned, but given sibling tools are unrelated, this is sufficient.

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/Akdag94/vps-ops-mcp'

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