Skip to main content
Glama

read_audit_log

Read a local gzipped audit log to review SSH activity, optionally limiting output by max_lines; use 0 to retrieve all lines.

Instructions

Legge un log audit .gz locale (max_lines=0 = tutto).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYes
max_linesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it only discloses that the file is local and .gz and that max_lines=0 means everything. It says nothing about permissions, expected file size/cost, error behavior on missing files, or output shape beyond the schema.

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?

A single compact sentence with no filler, and the core semantics (local .gz log / max_lines=0) are front-loaded. Nothing is wasted, though it is arguably too short for the parameter burden.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the max_lines convention is covered. Still, for a file-reading tool with zero annotation and zero schema-description coverage, the filename semantics and read caveats are missing.

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 0%, so the description must compensate; it does explain the non-obvious max_lines=0 sentinel, which is the key semantic. The required 'filename' parameter is left undocumented (path base, relative vs absolute, .gz requirement).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb plus resource ('Legge un log audit .gz locale') and the 'locale' qualifier implicitly distinguishes it from read_remote_audit_log. It is clear enough that an agent can pick this over the remote variant, but it does not name the alternative explicitly.

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?

The word 'locale' implies this is the counterpart to remote log reading, so the choice context is inferable, but there is no explicit when-to-use or when-not wording and no prerequisites.

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