Skip to main content
Glama

auth_log_summary

Summarizes SSH authentication events on an instance: failed logins, invalid-user probes, and accepted logins grouped by source IP.

Instructions

Summarize SSH auth activity on one instance: failed logins, invalid-user probes, and accepted logins, grouped by source IP. Read-only (auth.log/secure tail, journald ssh units as fallback). Returns JSON: {failed_logins: [{ip, user, count, method}], invalid_users: [{ip, count}], accepted_logins: [{ip, user, count, method}]}. Errors: auth_log_not_available, auth_log_permission_denied.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_nNoMax rows per section (1-100, default 20).
instance_idYesInstance ID or name.
since_minutesNoLookback window in minutes — exact on the journald path, approximate (line-bounded tail) on file tails (1-10080, default 1440).
Behavior5/5

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

With no annotations, the description fully explains behavior: it is read-only, tails auth.log/secure with journald fallback, and provides exact error codes. It also details the JSON output structure, leaving no ambiguity about the tool's safety and operation.

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?

The description is a single paragraph, front-loaded with the tool's purpose, and efficiently conveys data sources, return format, and errors. Every sentence adds value; no redundant or missing information.

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?

Despite lacking an output schema, the description explicitly defines the JSON structure and error codes. It covers the instance scope, data sources, and parameter defaults. This is complete for an agent to understand how to invoke and interpret the tool.

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% (all three parameters have descriptions). The tool description adds no new information beyond the schema: it repeats the parameter roles but does not provide additional context or examples. Baseline 3 is appropriate.

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 summarizes SSH auth activity (failed logins, invalid-user probes, accepted logins) grouped by source IP on one instance. It distinguishes from siblings like get_logs by being SSH-specific and providing a structured JSON summary.

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?

The description gives clear context: use on one instance, read-only, and lists error conditions. However, it does not explicitly state when to use this tool over alternatives like journal_errors or get_logs, nor does it provide when-not-to-use scenarios.

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/zb-ss/servonaut'

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