Skip to main content
Glama

Ssh Config Audit

ssh_config_audit

Audit SSH server configuration to identify insecure settings and harden remote access. Use it to inspect sshd options and detect risky defaults before attackers exploit them.

Instructions

Audit SSH server configuration.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ssh_config_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
rawNo
portNo
findingsNo
permit_root_loginNo
pubkey_authenticationNo
password_authenticationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden, and it discloses no behavioral traits: not that it is read-only, whether it reads the local /etc/ssh/sshd_config versus a remote host, whether elevated privileges are needed, or what severity/finding model it produces. The presence of an output schema covers return values, but the execution profile remains opaque for a security-sensitive audit.

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 short sentence with no filler and the key noun front-loaded. It is efficient, though its brevity edges toward under-specification rather than tightness.

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?

For a zero-parameter tool with an output schema, the definition is minimally viable: the agent knows what to call and can read the response shape elsewhere. What is missing is scope and safety context (local-only, read-only, privilege needs) that an agent deciding whether to invoke a security audit would reasonably want.

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?

The tool takes zero parameters, so there is no parameter meaning to add and the schema is trivially complete. A baseline of 4 is appropriate; the description neither helps nor harms here.

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?

The description gives a specific verb ('Audit') and resource ('SSH server configuration'), so the agent knows exactly what the tool targets. It does not differentiate from adjacent siblings such as security_baseline or firewall_status, leaving overlap in the security-audit space unresolved.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use, when-not-to-use, or alternative-routing guidance. An agent reading only 'Audit SSH server configuration' gets the implied premise that this checks SSH hardening, but nothing tells it whether to prefer security_baseline for broader coverage or listening_ports for exposure checks.

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