Skip to main content
Glama
vstlmkh

connect-to-server-mcp

by vstlmkh

tail_log

Tail log files or systemd unit journals on remote hosts. Use grep patterns to isolate relevant lines for troubleshooting.

Instructions

Tail a log file or a systemd unit's journal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
grepNoOnly return lines matching this pattern
hostYesConfigured host name
linesNoHow many trailing lines to return
sourceYesLog file path, or 'unit:<name>' for a systemd unit

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

B3/5.0
Behavior2/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 does not clarify whether the tail follows continuously or returns a fixed number of lines (though 'lines' implies a static return), nor does it mention permissions or potential blocking behavior. This is a significant gap for a tool that could exhibit real-time behavior.

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

Conciseness3/5

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

The description is concise at one sentence, but it is also minimal to the point of omitting important context. It earns a middle score for being succinct yet under-specified.

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 (dual source types, potential real-time behavior) and minimal description, the definition is incomplete. There is no mention of use cases, prerequisites (such as configured hosts), or how it relates to sibling tools. The presence of an output schema does not compensate for the lack of contextual guidance.

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 documents all parameters well. The description adds no additional meaning beyond the schema, so the baseline of 3 applies.

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 clearly identifies the operation ('Tail') and the resource ('a log file or a systemd unit's journal'), which distinguishes it from siblings like read_file or run_command. It is specific and actionable.

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. The description does not mention scenarios (e.g., real-time monitoring vs. static reads) or compare to read_file or service_status, leaving the agent to infer appropriate usage.

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