Skip to main content
Glama

security_audit

Assess SSH daemon configuration and sensitive file permissions to flag weak settings and insecure files. Read-only audit returns structured JSON.

Instructions

Baseline security posture of one instance. Read-only, two signals: sshd effective config (sshd -T: permit-root-login, password-authentication, permit-empty-passwords, x11-forwarding) and a stat of a curated list of sensitive paths (sshd/sudoers/cron/passwd-family/root keys), flagging only those that are world-writable or not root-owned. Never changes sshd config or file permissions. Returns JSON: {sshd: {directive: value}, insecure_files: [{path, mode, owner, issue}]}. Powers the security-hardening detector (weak-sshd, insecure-perms).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instance_idYesInstance ID or name.
Behavior5/5

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

With no annotations, the description fully discloses behavior: it is read-only, checks sshd effective config (listing specific directives) and sensitive paths (listing criteria for world-writable or not root-owned), and never modifies anything. Return format is given. No contradictions.

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 four sentences long, each serving a distinct purpose: overall intent, details of checks, assurance of non-modification, and output format. It is front-loaded and contains no redundant words.

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?

The description covers the tool's purpose, inputs, exact outputs, and behavior. It does not mention error cases or performance, but for a straightforward audit tool, it is sufficiently complete.

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?

The only parameter, instance_id, is described in the schema as 'Instance ID or name.' The description does not add additional detail beyond what the schema provides, so baseline 3 applies due to 100% schema coverage.

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 states the tool performs a 'baseline security posture' audit on one instance, specifying it checks sshd config and sensitive file permissions. This clearly distinguishes it from sibling tools like get_logs or run_command.

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 explicitly says it is read-only and never changes configuration, giving context for when to use it safely. It also mentions it powers a security-hardening detector, implying use cases. However, it does not explicitly contrast with alternatives like check_status or specific security tools.

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