Skip to main content
Glama

security_sysctl_check

Read-only

Linux sysctl hardening audit — Audit Linux kernel settings offline: send text= with /etc/sysctl.conf, a sysctl.d file or full sysctl -a output (role=host|router|container-host, default host). Checks about 40 CIS / Kernel Self-Protection settings: ASLR, kptr_restrict, ptrace scope, unprivileged eBPF and userfaultfd, suid core dumps, protected symlinks/hardlinks, mmap_min_addr, IP forwarding, ICMP redirects, source routing, rp_filter, SYN cookies, router advertisements, suspicious core_pattern pipes and duplicates. Returns PASS / REVIEW / FIX BEFORE DEPLOY / BLOCK, score and grade, findings with fixes, settings not set in the file, and a ready hardened sysctl.d file. Example: /v1/security/sysctl-check?text=kernel.randomize_va_space%3D1 Price: $0.005 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_sysctl_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYeskernel.randomize_va_space = 1

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is covered. The description adds real value beyond that: it is an offline audit of ~40 named settings, it discloses the exact output shape (PASS / REVIEW / FIX BEFORE DEPLOY / BLOCK, score, grade, findings with fixes, unset settings, hardened sysctl.d file), and it discloses cost ($0.005 USDC via x402). It does not describe rate limits or error behavior.

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 purpose, then input format, then the checks performed, then the return shape, then price — a sensible information hierarchy. It is dense and long for one sentence, and the enumerated check list plus the example URL push toward bloat, but nearly every clause carries decision-relevant content.

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?

No output schema exists, and the description fully compensates by naming the four verdict tiers, the score/grade, the findings-with-fixes, unset settings, and the ready-to-use hardened sysctl.d output. Combined with the accepted input formats and the price disclosure, an agent has everything needed to decide and call correctly, with the phantom 'role' parameter the only loose end.

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?

With 100% schema coverage and a single parameter, baseline is 3, but the description genuinely adds meaning by specifying the three accepted text= formats (full config file, sysctl.d file, or sysctl -a dump) — the schema's example line alone would not convey that a whole file is acceptable. However, it introduces a 'role=host|router|container-host' parameter that does not exist in the input schema, which could mislead an agent into passing an unsupported argument.

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?

Opens with a specific verb+resource: 'Audit Linux kernel settings offline', and the enumerated check list (ASLR, kptr_restrict, ptrace scope, rp_filter, SYN cookies...) makes clear this is a sysctl-focused auditor, distinguishable from siblings like security_sshd_check or security_systemd_check. An agent can route on the first clause alone.

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?

Explicitly states the input modality — send text= with /etc/sysctl.conf, a sysctl.d file, or full sysctl -a output — which is exactly the when/how-to-use context an agent needs. It does not name a sibling alternative or state when NOT to use it, so it falls short of the top mark.

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