Skip to main content
Glama

security_postfix_check

Read-only

Postfix mail server config audit — Offline security audit of a Postfix main.cf: open-relay detection (smtpd_relay_restrictions / smtpd_recipient_restrictions order, bare permit before reject_unauth_destination, mynetworks 0.0.0.0/0 or wide public ranges, mynetworks_style, allow_untrusted_routing), inbound and outbound STARTTLS level, missing certificate, SMTP AUTH without smtpd_tls_auth_only, anonymous SASL, obsolete SSLv3/TLSv1/TLSv1.1 protocols, export/low ciphers, VRFY enumeration, HELO, version-leaking banner, rate limits, compatibility_level, duplicates (last wins). Returns PASS / REVIEW / FIX BEFORE DEPLOY / BLOCK, score, grade, findings with line numbers and fixes, plus a hardened main.cf. Params: text= (main.cf contents) or url= (raw file or GitHub blob URL). 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_postfix_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesmynetworks = 0.0.0.0/0 smtpd_relay_restrictions = permit_mynetworks, reject_unauth_destination smtpd_sasl_auth_enable = yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive safety profile, and the description goes further by disclosing the cost ($0.006 USDC via x402 on Base), the graded verdict output with line numbers and fixes, and that a hardened main.cf is returned. There is a mild tension between 'Offline' and openWorldHint=true, though fetching a remote URL plausibly explains the latter.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and output/price are front-loaded and useful, but the middle is a long unpunctuated catalog of every individual check, most of which an agent does not need in order to select or call the tool. The density costs readability without changing the decision.

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 one required parameter, no output schema, and annotations present, the description covers purpose, return shape, and pricing adequately. Remaining gaps are input limits/size constraints and the url parameter inconsistency, which are minor relative to the tool's simplicity.

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% with a single required 'text' property, so the baseline is 3. The description clarifies that text is the main.cf contents, which adds meaning, but it also advertises a 'url=' alternate input (raw file or GitHub blob URL) that does not exist in the schema — an agent could attempt 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?

States a specific verb and resource — 'Offline security audit of a Postfix main.cf' — and enumerates exactly what it inspects (open-relay, STARTTLS, SASL, ciphers, banner, etc.). This cleanly separates it from siblings like security_sshd_check or security_nginx_check, which audit different config files.

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

Usage Guidelines3/5

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

The word 'Offline' and the 'FIX BEFORE DEPLOY / BLOCK' verdicts imply the intended context is pre-deployment review of a main.cf, but the description never states when to use this versus alternatives or any exclusions. Usage is inferable rather than explicit.

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