Skip to main content
Glama

server_audit

Read-onlyIdempotent

Audit a server for security vulnerabilities across 31 categories and 449 checks, returning a score and quick wins.

Instructions

Run a security audit on a server. Scans 31 categories with 449 checks. Returns score (0-100), per-category scores, and quick wins. Formats: 'summary' (compact text), 'json' (full AuditResult), 'score' (number only). Supports compliance filtering (cis-level1, cis-level2, pci-dss, hipaa), category/severity filtering, snapshot save/compare, threshold gate, and profile filtering. Requires SSH access. For health trends use server_doctor instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoOutput format: summary (default), json (full result), score (number only)summary
serverNoServer name or IP. Auto-selected if only one server exists.
compareNoCompare two snapshots: format before:after (e.g. pre-upgrade:latest)
explainNoWhen true, include why + fix explanation for each failing check in summary format output. Capped at 10 checks.
profileNoServer profile filter (web-server, database, mail-server).
categoryNoFilter results to a specific category (e.g. 'SSH', 'Firewall', 'Docker').
severityNoFilter checks by severity level.
snapshotNoSave audit snapshot. true for auto-name, string for custom name.
frameworkNoCompliance framework filter. Returns per-control pass/fail summary alongside audit results.
thresholdNoMinimum passing score (1-100). Returns error if score is below threshold.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint false. The description adds valuable context: scans many categories, requires SSH, supports various formats and filters. It does not contradict annotations. Minor gap: no mention of potential performance impact or rate limits.

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?

Reasonably concise for the amount of detail, with key info front-loaded. Could be slightly shorter (e.g., combine some filtering details), but still efficient.

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 10 parameters, 100% schema coverage, and presence of output schema, the description covers all relevant aspects: inputs, outputs, formats, filters, comparisons, prerequisites. It is complete for an audit tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 100% description coverage, but the description adds extra context beyond schema: auto-selection of server if only one exists, cap of 10 checks for explain, error on threshold failure. This enhances parameter understanding, though the schema already does a fair job.

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: running a security audit, and specifies the scope (31 categories, 449 checks) and outputs (score, per-category scores, quick wins). It also distinguishes itself from sibling tool server_doctor, avoiding redundancy.

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?

Provides explicit guidance: requires SSH access, suggests server_doctor for health trends, explains when to use filters (compliance, category, severity), and describes snapshot compare and threshold features. This helps the agent decide when to invoke this tool over alternatives.

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/kastelldev/kastell'

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