Skip to main content
Glama

security_ssh_config_check

Read-only

SSH client config audit — Offline audit of an OpenSSH CLIENT config (~/.ssh/config or /etc/ssh/ssh_config; text or url, GitHub blob links work, one-line input is split on keywords). Flags StrictHostKeyChecking no, UserKnownHostsFile /dev/null, ForwardAgent and trusted X11 on wildcard hosts, weak ciphers/MACs/KEX, ssh-dss and ssh-rsa (SHA-1), DSA keys, keys or ControlPath sockets in /tmp, long ControlPersist, GSSAPI delegation, GatewayPorts, risky ProxyCommand, cleartext known_hosts, Host * placed before specific hosts (first value wins), Include files and unknown keywords. Returns verdict PASS/REVIEW/FIX BEFORE DEPLOY/BLOCK, score, grade, findings with line and host block, and a host list. For the server side use /v1/security/sshd-check. Price: $0.004 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "security_ssh_config_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYese.g. Host * StrictHostKeyChecking no UserKnownHostsFile /dev/null ForwardAgent yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered; the description still adds real value with 'offline audit', URL/GitHub-blob acceptance, keyword splitting of one-line input, the full check list, and the exact return payload (verdict, score, grade, findings, host list). It also discloses the x402 cost ($0.004 USDC on Base), which is important pre-invocation context. It does not state rate limits or failure modes, keeping it at 4 rather than 5.

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?

Front-loaded with the purpose and the input forms, then the checks, then the return shape and the sibling pointer — a sensible ordering with no filler. It is dense, essentially one long em-dash-delimited block, so scanning the enumerated checks is harder than it needs to be, but every clause carries information.

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?

There is no output schema, and the description compensates by naming the verdict values, score, grade, findings with line/host block, and host list. Combined with the check inventory and sibling routing, an agent has enough to decide and call correctly; only error/edge-case behavior is unaddressed.

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 coverage is 100% and the single `text` parameter is documented, so the baseline is 3; the description earns above that by clarifying that the value may be raw config text or a URL (GitHub blob links included) and that one-line input is split on keywords. That meaningfully extends how an agent formats the argument beyond the schema's single example.

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?

States a specific verb and resource — 'Offline audit of an OpenSSH CLIENT config' — and immediately scopes accepted inputs (~/.ssh/config, ssh_config, text or URL). It explicitly contrasts itself with the server-side variant (/v1/security/sshd-check), so an agent can separate it from siblings like security_ssh_key without opening the schema.

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?

Gives the routing rule directly: this tool is for the client side, and 'For the server side use /v1/security/sshd-check' names the alternative and the condition that selects it. It also tells the agent which input shapes are acceptable, so there is little left to infer before calling.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources