Skip to main content
Glama

ssh_audit_baseline

Read-only

Provides a single-pass security and health audit of a machine, covering sshd, firewall, pending updates, failed services, docker, listening ports, and disk, each marked as CRITICAL, WARNING, or OK.

Instructions

Reports how a machine is set up: sshd, firewall, pending updates, failed services, docker, listening ports and disk, each section marked CRITICAL, WARNING or OK. Reads only, in one round trip instead of a dozen commands; without sudo the sshd section is read from the config file rather than from sshd itself. Use it on a machine you have not audited yet; for load and health at this moment, use ssh_snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
compactNoTrim the long sections. false = whole, much larger answer. Default: true
includeNosystem, disk, mem, net, ssh, services, docker, firewall, updates. Default: all
profileYesMachine name.
include_sudo_sectionsNoRead sshd config as sshd sees it (sshd -T), needs root. Without it the ssh section says so instead of guessing from the file. Default: false

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
osNo
netNo
sshNo
diskNo
loadNo
dockerNo
kernelNo
memoryNo
uptimeNo
updatesNo
date_utcNo
firewallNo
hostnameNo
servicesNo
red_flagsNo
unavailableNo
Behavior4/5

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

Annotations provide readOnlyHint=true, and the description reinforces this with 'Reads only'. It adds valuable behavioral context: the sudo behavior (without sudo, sshd section reads from config file rather than sshd itself), and the compact/include parameters' effect on output size. This goes beyond the annotation by explaining the non-sudo fallback behavior.

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 compact and front-loaded: it states the core purpose first, then the key differentiator (one round trip), then the sudo caveat, then usage guidance. Every sentence earns its place with no redundancy.

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?

Given the output schema exists (which likely describes the report structure), the description covers the essential context: what sections are included, severity markers, the sudo behavior, and when to use it. The tool is a read-only audit with clear parameters, and the description is complete for an agent to call it correctly.

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%, so the schema already documents all parameters. The description adds context about the 'include' parameter's default behavior ('Default: all') and the sudo-related parameter's effect, but these are also in the schema. The description doesn't add significant meaning beyond what the schema provides, so 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's purpose: reporting machine setup (sshd, firewall, pending updates, failed services, docker, listening ports, disk) with severity markers. It distinguishes itself from siblings by mentioning 'one round trip instead of a dozen commands' and explicitly contrasts with ssh_snapshot for load/health.

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 states when to use: 'Use it on a machine you have not audited yet; for load and health at this moment, use ssh_snapshot.' This provides clear usage context and names the alternative tool, making the decision unambiguous.

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

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