Skip to main content
Glama

list_logs

SSH into a server and list all log files under a specified app directory, including size and last-modified time, to identify relevant logs before deep analysis.

Instructions

SSH to a server and enumerate every file under //logs/ (Liberty's own messages.log/console.log/trace.log/ffdc/*, plus any app-written logs in subdirectories), with size, last-modified time, and a rough category for each. Call this first, then pass the relevant paths as log_files to analyze_logs - avoids blindly grepping every file (trace.log especially can be huge).

Args:
    server_ip: Hostname or IP address of the server to connect to over SSH.
    os_user: SSH username to authenticate as.
    ssh_key: Path to the private key file (on this machine) used for authentication.
    deployment_directory: Base deployment directory containing the application folder.
    application: Name of the application subfolder whose logs/ directory to list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
os_userYes
ssh_keyYes
server_ipYes
applicationYes
deployment_directoryYes
Behavior4/5

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

No annotations exist, so description carries full burden. It discloses SSH connection and listing of files with metadata, implying read-only. However, doesn't explicitly state no side effects or mention permissions, but sufficient for a listing tool.

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?

Description is front-loaded with main purpose, followed by oneliner usage guidance, then parameter list. No extraneous text, every sentence adds value.

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?

No output schema, but description mentions output includes size, last-modified time, and rough category. Lacks explicit format details, but adequate for understanding. Could mention error handling or timeouts, but not critical for listing.

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

Parameters5/5

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

Schema has 0% description coverage, but description provides detailed explanations for all 5 parameters, adding meaning about hostname, SSH user, key path, deployment directory, and application subfolder.

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 enumerates files under a specific logs directory with metadata. It distinguishes from sibling analyze_logs by advising to call this first and pass paths, showing specific verb and resource.

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

Usage Guidelines5/5

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

Explicitly says 'Call this first, then pass the relevant paths as log_files to analyze_logs - avoids blindly grepping every file'. Provides clear sequencing and rationale for use vs. alternative.

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/Murtaza1211/mcp-server'

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