Skip to main content
Glama
gilberth

mcp-ssh-multi

ssh_tail_log

Read-only

Tail a log file on a remote server. Returns the last N lines for real-time monitoring or troubleshooting.

Instructions

Tail a log file on a remote server.

Returns the last N lines of the specified log file.

EXAMPLES:

  • ssh_tail_log("proxmox")

  • ssh_tail_log("truenas", "/var/log/messages", lines=100)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
server_nameYesServer name
log_pathNoPath to log file (default: /var/log/syslog)/var/log/syslog
linesNoNumber of lines to tail (default: 50)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare readOnlyHint=true. The description adds that it returns last N lines, which is standard behavior. No disclosure of error handling or edge cases, but bar is lower with annotations present.

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?

Extremely concise: two sentences and three examples. No fluff, front-loaded with purpose and example usage, making it easy to parse.

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?

Covers core functionality and provides examples. Has output schema so return values don't need explanation. Minor gaps: no mention of behavior if file doesn't exist or permissions issues, but overall complete for a simple tail tool.

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 covers 100% of parameters with descriptions and defaults. The description adds value with concrete examples showing usage patterns (e.g., default path, overriding parameters), which aids understanding beyond the schema.

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 states the tool tails a log file and returns the last N lines. It distinguishes from sibling tools like ssh_read_file (reads entire file) and ssh_execute (executes commands), as 'tail' is a specific operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use vs. alternatives. While the purpose is clear, it does not mention when not to use or provide alternatives, which is a gap given the many sibling tools.

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/gilberth/mcp-ssh-multi'

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