Skip to main content
Glama

security_sudoers_check

Read-only

Sudoers Config Audit — Offline audit of a sudoers file (text= or url=, GitHub blob links work): NOPASSWD ALL, ALL users, !authenticate, env_keep LD_PRELOAD/PYTHONPATH, SETENV, shell-escape binaries (vim, less, find, python, tar...), wildcard arguments, relative or user-writable command paths, ALL-minus-blacklist bypasses, long or global timestamp_timeout, secure_path. Returns verdict PASS/REVIEW/FIX BEFORE DEPLOY/BLOCK, score, grade and findings with line numbers. Price: $0.006 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_sudoers_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesdeploy ALL=(root) NOPASSWD: ALL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the description's added value is elsewhere: it discloses the response shape (verdict PASS/REVIEW/FIX BEFORE DEPLOY/BLOCK, score, grade, findings with line numbers) and a paid-usage constraint ($0.006 USDC on Base via x402) that an agent must know before calling. It does not mention rate limits, failure modes on unreachable URLs, or whether output is truncated for large files.

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 audit scope, then the detection list, then the return contract, then pricing — a sensible ordering with no filler sentences. The parenthetical detection list is dense and long, but each item is a concrete check that helps an agent predict coverage, so it largely earns its space.

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?

With no output schema, the description correctly compensates by spelling out the verdict vocabulary and finding structure, and it flags the payment requirement. The gap is the `url=` parameter absent from the schema and no guidance on behavior when a URL fetch fails, which matters given openWorldHint=true.

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?

Schema coverage is 100% and the schema's single `text` parameter example ('deploy ALL=(root) NOPASSWD: ALL') already conveys the expected payload. The description adds useful framing by describing the two input modes and GitHub blob link support, but it advertises a `url=` parameter that does not exist in the input schema, which could lead an agent to supply an unsupported argument; baseline 3 reflects that mixed value.

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?

Names a specific verb and resource ('Offline audit of a sudoers file') and then enumerates the exact classes of misconfiguration it detects (NOPASSWD ALL, !authenticate, SETENV, shell-escape binaries, wildcard args, secure_path). This clearly separates it from siblings like security_sshd_check or security_k8s_check without needing to open any schema.

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 establishes the operating mode ('offline audit') and the accepted input routes ('text= or url=, GitHub blob links work'), which tells an agent when this tool applies. It stops short of naming a sibling alternative or stating exclusions, so it is clear context rather than a full when/when-not routing rule.

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