Skip to main content
Glama

List logs

list_logs
Read-onlyIdempotent

List the files and subdirectories of the log directory (Logs) of the NET Genium instance, newest first — name, size in bytes and the time of the last change, given in the time of the operating system of the server, which may differ from the time zone of the instance. Log files are named after their kind and period, e.g. System-2026-11.log, Errors-2026-11.log or SMTP-2026-11.log; subdirectories hold the logs of individual users and days. Read a file with get_log.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
directoryNoOptional subdirectory of the log directory as returned by list_logs, e.g. administrator or administrator/2026-11-25. Omit to list the log directory itself.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world, non-destructive, so the safety bar is covered. The description adds genuine behavioral context beyond them: ordering ('newest first'), returned attributes (name, size in bytes, last change), and an important caveat that times follow the server OS time zone, which may differ from the instance's. It doesn't mention listing size limits or whether results are truncated, which keeps it from a 5.

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

Conciseness4/5

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

Front-loaded with the core action and scope, followed by return content, ordering, and the time-zone caveat in a logical order. The single long sentence is dense and could be split, but every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description compensates by naming the returned fields and their units and time basis, and by explaining the naming convention and subdirectory layout. Combined with the read-with-get_log pointer, an agent has everything needed to call it and interpret the result.

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 coverage is 100% and the single directory parameter is fully described, including an example value, so the schema does the heavy lifting. The description reinforces this with 'subdirectories hold the logs of individual users and days', which explains what a subdirectory value may look like, but adds no syntax or format detail beyond the schema. Baseline 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?

States a specific verb and resource ('List the files and subdirectories of the log directory') plus the exact scope ('of the NET Genium instance'), and separates itself from the reader sibling ('Read a file with get_log'). An agent can distinguish it from get_log without opening either schema.

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?

Explicitly directs the agent to get_log for file contents, which is the key routing decision. It also tells the agent to omit the directory parameter to list the log directory itself. No explicit when-not guidance (e.g. cost or size limits) but the usage context is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources